aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
Commit message (Collapse)AuthorAgeFilesLines
...
* Add a storage setup after cryptsetup.target. (#692198)Bill Nottingham2011-04-061-0/+13
| | | | Due to cryptsetup being parallel with this initially, we need this to support LVM/MD on LUKS.
* separate "touch /.autorelabel" to a new unitMichal Schmidt2011-04-042-4/+15
| | | | | | | | | | | | | | | | | | | Writing /.autorelabel from fedora-autorelabel does not work because the script is executed only if relabel was already requested. Create a new unit fedora-autorelabel-mark.service which will be responsible for creating /.autorelabel if SELinux is disabled. The unit takes advantage of the new "ConditionSecurity=" support in systemd. The old script checked for a read-only filesystem first. The new unit does not do that. If / is read-only, touch will simply fail. This should not be considered as a failure of the unit, so "-" is used in ExecStart. There have been arguments on systemd-devel that the root directory should not be abused for flag files like /.autorelabel. It has a long tradition in Fedora though (since 2005). Maybe we can change it eventually, but let's keep it where it is for now.
* simplify the check for plymouth in fedora-autorelabelMichal Schmidt2011-04-041-4/+1
| | | | | The result of the check is needed only once, so there's no advantage in caching it in a variable.
* let systemd check the conditions for fedora-autorelabelMichal Schmidt2011-04-042-18/+4
| | | | | | | The service unit file already checks whether /.autorelabel or the "autorelabel" parameter are present. No need to recheck in the script. Using the new "ConditionSecurity=" feature systemd can also check whether SELinux is enabled.
* Fix conditions so that they operate as OR, not AND. (#684125)Bill Nottingham2011-03-112-4/+4
|
* initscripts: execute fedora-sysinit-unhack after sysinit.targetAndrey Borzenkov2011-03-101-1/+2
| | | | | | | | | Currently both are started early during boot and in the best case are no-op, in the worst - hack is executed after unhack and leaves /dev/.in_sysinit hanging around forever. Make sure unhack is executed after hack and after sysinit.target as name suggests. Signed-off-by: Andrey Borzenkov <arvidjaar@gmail.com>
* Avoid some unnecessary stat calls.Ville Skyttä2011-03-011-1/+1
|
* Use proper keyword (#657974)Bill Nottingham2010-11-302-2/+2
|
* Remain after local-fs.target.Bill Nottingham2010-11-221-1/+1
|
* fedora-autoswap: order before swap.target like all other swapsLennart Poettering2010-11-221-3/+2
|
* fedora-storage: drop reference to emergency, weaken dependenciesLennart Poettering2010-11-212-4/+4
|
* fedora-autorelabel: drop disable_selinux() since it is unusedLennart Poettering2010-11-211-7/+0
|
* autorelabel: use systemd internal reboot logic, which is more robust and ↵Lennart Poettering2010-11-211-5/+1
| | | | includes automatic unmounting
* systemd: simplify autorelabel ordering and add conditional suppressionLennart Poettering2010-11-211-2/+4
|
* loadmodules: start in parallel to systemd-modules-load.serviceLennart Poettering2010-11-211-4/+2
| | | | | | This changes After/Before to be identical to systemd-modules-load.service.in. This causes this unit to be run earlier and in parallel to udev and the rest of the module loading.
* systemd: run fedora-loadmodules only if there's something configuredLennart Poettering2010-11-211-1/+2
|
* sysinit.service is no longer necessaryLennart Poettering2010-11-211-10/+0
|
* Don't relabel random files; this shouldn't happen any more.Bill Nottingham2010-11-181-12/+1
| | | | Also, merge blocks on identical conditions.
* Fix path (#654214)Bill Nottingham2010-11-171-1/+1
|
* Don't use our crypto init ; systemd handles this.Bill Nottingham2010-11-167-56/+4
|
* Don't use rhgb-client; it's long since deprecated.Bill Nottingham2010-11-031-2/+2
|
* Don't conflict with multi-user.target.Bill Nottingham2010-10-291-1/+1
|
* Use systemd versions of these services.Bill Nottingham2010-10-284-86/+0
|
* Simplify some things with ConditionPathExists.Bill Nottingham2010-10-286-16/+17
|
* Remove init_crypto 0, this is in a separate service.Bill Nottingham2010-10-281-2/+0
|
* Fix comment.Bill Nottingham2010-10-281-1/+1
|
* Don't ship our own halt service; systemd handles this natively.Bill Nottingham2010-10-263-57/+0
| | | | We will need to add a halt.local service.
* Add autorelabel service.Bill Nottingham2010-10-262-0/+98
|
* Drop fedora-mountall, fedora-cleanup. Adjust other services accordingly.Bill Nottingham2010-10-266-333/+4
| | | | systemd can do mount & fsck & quota, etc. now.
* Always succeed if /etc/crypttab isn't there.Bill Nottingham2010-10-221-1/+1
|
* Use systemd's support for normal swapon; only handle autoswap here.initscripts-9.21.systemd-1Bill Nottingham2010-10-152-5/+3
|
* Don't have sysinit be after local-fs, that way lie loops.Bill Nottingham2010-10-152-5/+2
| | | | Assume https://bugs.freedesktop.org/show_bug.cgi?id=30913 will be fixed in systemd.
* Adjust for current syntax.Bill Nottingham2010-10-151-1/+1
|
* Add a basic sysint service that is After: local-fs so that sockets still work.Bill Nottingham2010-10-151-0/+13
| | | | This is a workaround for https://bugs.freedesktop.org/show_bug.cgi?id=30913
* Add split-out bits of rc.sysinit and associated service files. Remove ↵Bill Nottingham2010-10-1523-20/+744
| | | | | | sysinit.service. Based on work by Harald Hoyer (<harald@redhat.com>) sysinit-hack/unhack will be removed once the net hotplug stuff is fixed to not require this.
* Reorganize the systemd bits as we'll have scripts to put in /lib/systemd.Bill Nottingham2010-10-148-0/+0
|
* Revert "add systemd services"Bill Nottingham2010-10-1420-336/+0
| | | | | | This reverts commit f280984f691e0c3cbca2b31dad7a32a5c66ab51b. This will be reworked a bit and re-added.
* add systemd servicesHarald Hoyer2010-10-0520-0/+336
|
* Fix invocation so that runlevel setting works. (#630914)Bill Nottingham2010-09-141-2/+2
|
* Sett $HOME for single-user mode. (#631590)Bill Nottingham2010-09-141-0/+1
|
* Require shutdown.target, so that all the explicit references to it work ↵Bill Nottingham2010-09-081-0/+1
| | | | correctly. (#630935)
* prefdm, rc-local, ctrl-alt-del are system defaults. Don't package them ↵Bill Nottingham2010-09-072-4/+0
| | | | | | otherwise. (#630952) Notably, they cannot be enabled/disabled. They can be overriden via /etc/systemd/system.
* Conflict with shutdown, so we don't run systemctl default if shutdown is ↵Bill Nottingham2010-09-071-1/+1
| | | | invoked. (#630935)
* Ignore errors from single-user mode.Bill Nottingham2010-09-031-1/+1
|
* Add in basic systemd units.Bill Nottingham2010-09-038-0/+164
Factor out upstart/systemd/etc. support in the spec properly.