Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Use systemctl enable if preset fails (which it will for sysvinit) | Colin Guthrie | 2014-10-08 | 2 | -1/+4 |
| | |||||
* | Allow add-service to defer to chkconfig when dealing xinetd services | Colin Guthrie | 2014-10-08 | 1 | -1/+3 |
| | |||||
* | build-sys: Fix clean rules for tarball extension | Colin Guthrie | 2014-08-19 | 1 | -1/+1 |
| | |||||
* | New version: 0.24.12v0.24.12 | Colin Guthrie | 2014-07-27 | 2 | -1/+2 |
| | |||||
* | Switch to git tagging in Makefile | Colin Guthrie | 2014-07-27 | 1 | -4/+3 |
| | |||||
* | Use systemctl preset rather than enable. | Colin Guthrie | 2014-07-27 | 2 | -1/+2 |
| | | | | | | | | | | | This will use the package preset rules rather than hardcoding enabling which allows use to separate policy from action. We should really update msec to write out /etc/systemd/system-preset/*.preset file according to the current system level. This would replace our parsing of /etc/security/msec/server file (which is a symlink) in these scripts and would allow administrators (or just the security level itself) to dictate whether newly installed services are enabled or not when installed. | ||||
* | Drop hacky workaround for systemd reload on sysv initscript package removal | Colin Guthrie | 2014-07-27 | 2 | -8/+2 |
| | | | | | | | | | | | | | | Due to the fact that systemd is reload by chkconfig, it will still think the service exists. A hacky patch was included which rm'ed the sysvinit script and then reloaded systemd again, which worked but caused errors from rpm when removing packages complaining that a file it controlled did not exist (which was correct). It's actually much better to fix this with a filetrigger. We actually already ship a filetrigger that performs appropriate daemon-reloads, but it only matched on native units. Simply changing the regexp to include sysvinit script paths too should fix the problem equally well, but in a much less hacky way. | ||||
* | Drop systemd migration scripts we never used. | Colin Guthrie | 2014-07-27 | 5 | -105/+3 |
| | |||||
* | New release: 0.24.11v0.24.11 | Colin Guthrie | 2012-09-30 | 2 | -1/+2 |
| | |||||
* | Fix NEWS (my editor was somehow scrolled down past the first line and I ↵ | Colin Guthrie | 2012-09-30 | 1 | -3/+4 |
| | | | | didn't see the release marker (*sigh*) | ||||
* | Switch to xz archive | Colin Guthrie | 2012-09-30 | 1 | -2/+1 |
| | |||||
* | Fix typo | Colin Guthrie | 2012-09-30 | 2 | -2/+2 |
| | |||||
* | Sync del-service unit finding code with add-service. | Colin Guthrie | 2012-09-30 | 1 | -18/+34 |
| | | | | | This is actually where the non-relative symlinks in chroots might occur as technically all packges will only include relative symlinks. | ||||
* | Make the code a little more compact + deal slightly better with ↵ | Colin Guthrie | 2012-09-30 | 2 | -17/+12 |
| | | | | non-releative symlinks in chroots | ||||
* | Mark a fresh install of a systemd service as 'migrated' to avoid subsequent ↵ | Colin Guthrie | 2012-09-30 | 2 | -0/+5 |
| | | | | checks on upgrade. | ||||
* | Update NEWS | Colin Guthrie | 2012-09-30 | 1 | -0/+1 |
| | |||||
* | Only run chkconfig --del when the initscript exists (mga#7611) | Colin Guthrie | 2012-09-30 | 1 | -1/+1 |
| | |||||
* | *sigh* Forgot NEWS in last commit/version bump :( | Colin Guthrie | 2012-04-30 | 1 | -0/+4 |
| | | | | | | One more change before final release likely still needed to deal with package renames gracefully (httpd, mariadb being prime examples) so there will likely still be one more release. | ||||
* | 0.24.10v0.24.10 | Colin Guthrie | 2012-04-30 | 1 | -1/+1 |
| | |||||
* | Trust systemd install rules if avaialble, only then fall back to manual linking | Colin Guthrie | 2012-04-30 | 1 | -3/+4 |
| | |||||
* | Do not allow error status to leak from script. | Colin Guthrie | 2012-04-30 | 1 | -3/+5 |
| | |||||
* | 0.24.9v0.24.9 | Colin Guthrie | 2012-04-29 | 1 | -1/+1 |
| | |||||
* | Fix handling of masked and symlinked unit names | Colin Guthrie | 2012-04-29 | 2 | -8/+16 |
| | |||||
* | bump vesionv0.24.8 | Colin Guthrie | 2012-04-03 | 2 | -1/+2 |
| | |||||
* | add-service: on package upgrade, restart all instances of template units. | Colin Guthrie | 2012-04-03 | 2 | -2/+19 |
| | |||||
* | add-service: attempt to migrate template systemd units (foo@.service) ↵ | Colin Guthrie | 2012-04-03 | 2 | -9/+25 |
| | | | | somewhat gracefully. | ||||
* | add-service: Change the systemd unitdir search order to match upstream. | Colin Guthrie | 2012-04-03 | 2 | -9/+10 |
| | |||||
* | Fix NEWS (forgot to press ctrl+s before commit... sigh) | Colin Guthrie | 2012-03-19 | 1 | -1/+1 |
| | |||||
* | Always reload systemd unit cache before attempting to restart units | Colin Guthrie | 2012-03-19 | 2 | -3/+5 |
| | |||||
* | bump releasev0.24.7 | Guillaume Rousse | 2012-03-12 | 2 | -1/+5 |
| | |||||
* | executable bit | Guillaume Rousse | 2012-03-12 | 1 | -0/+0 |
| | |||||
* | convert to utf8 | Guillaume Rousse | 2012-03-12 | 1 | -1/+1 |
| | |||||
* | fix documentation: facility is mandatory | Guillaume Rousse | 2012-03-10 | 1 | -4/+3 |
| | |||||
* | actually, we don't care about sysklogd at all anymore | Guillaume Rousse | 2012-03-08 | 3 | -75/+4 |
| | |||||
* | rsyslog support has superseded syslog-ng support since quite a long time | Guillaume Rousse | 2012-03-08 | 1 | -2/+2 |
| | |||||
* | 0.25.6 | Colin Guthrie | 2012-02-16 | 2 | -1/+2 |
| | |||||
* | Tiny tidy-up of NEWS file | Colin Guthrie | 2012-02-16 | 1 | -6/+5 |
| | |||||
* | Fix dist bug | Colin Guthrie | 2012-02-16 | 1 | -2/+2 |
| | |||||
* | Migrate service enabled/disabled status from sysvinit to systemd on upgrade | Colin Guthrie | 2012-02-16 | 4 | -27/+148 |
| | |||||
* | Silent enable/disable services | Dexter Morgan | 2012-01-19 | 3 | -2/+5 |
| | |||||
* | Revert wrong change in rpm-helper/Makefile | Dexter Morgan | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | Add spec-helper | Dexter Morgan | 2012-01-01 | 1 | -1/+1 |
| | |||||
* | Add support for systemd .path filesv0.24.5 | Dexter Morgan | 2011-12-13 | 3 | -1/+4 |
| | |||||
* | Brown-paper-bag: Add missing script to Makefile.v0.24.4 | Colin Guthrie | 2011-11-03 | 2 | -2/+6 |
| | |||||
* | Bump version for release.v0.24.3 | Colin Guthrie | 2011-11-03 | 1 | -1/+1 |
| | |||||
* | Add a new service helper for postun. | Colin Guthrie | 2011-11-03 | 3 | -0/+36 |
| | | | | At the moment this is only used to reload systemd if it's running. | ||||
* | Update NEWS | Colin Guthrie | 2011-11-03 | 1 | -0/+11 |
| | |||||
* | Ensure we calculate the true systemd unit name. | Colin Guthrie | 2011-11-03 | 2 | -1/+40 |
| | | | | | | | | | | | | | | | | | | | | | When passing just a sysvinit name, we synthesise a systemd unit name via the amazingly cunning and subtle technique of adding '.service' on to the name. This is very effective for referring to units for most commands as even if an actual unit file of this name exists systemd might be providing the unit for this service via a different name, but just symlinking to the sysvinit name in order to prevent the sysvinit script from firing. This is done with e.g. the dm and networkmanager services. When using the symlinked name, systemctl will refuse to enable or disable the unit (see https://bugs.mageia.org/show_bug.cgi?id=3188) and this is expected behaviour. Thus we use readlink to attempt to resolve the link to a real name. | ||||
* | Do not assume that the sysvinit script exists. | Colin Guthrie | 2011-10-30 | 1 | -2/+2 |
| | | | | | | It is possible that we call this helper when only a systemd unit exists and thus it makes sense to protect against calling chkconfig and friends when this is the case. | ||||
* | Change how services are handled in systemd.v0.24.20.24.2 | Colin Guthrie | 2011-10-30 | 2 | -27/+28 |
| | | | | | | | | | | | This ensures that services are started/stopped in the most appropriate way depending on what init system is being used. Also when upgrading a service, ensure it is properly restarted even when using systemd (assuming it is currently running). Testing these scripts without actually installing/uninstalling package may result in the sysvinit scripts being deleted so be careful. |