aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
Commit message (Collapse)AuthorAgeFilesLines
* add fedora-import-state.serviceWill Woods2012-03-082-0/+27
| | | | | | | | This service imports the contents of /run/initramfs/state into the root filesystem, where the root filesystem is writeable. This allows dracut to hand the ifcfg file and dhclient lease over to NetworkManager on network-booted Live images.
* Use /run/initramfs instead of /dev/.initramfsWill Woods2012-03-081-2/+2
| | | | | | | | | | | Current dracut saves state to /run/initramfs, since /run is standard now. This patch makes rc.sysinit and fedora-readonly check for files in /run/initramfs/rwtab and /run/initramfs/state (which is where dracut writes them). It also makes ifup-eth look for lease files in /run/initramfs.
* Drop StandardInput=tty (#785662)Bill Nottingham2012-01-301-1/+0
|
* Handle dmraid sets with spaces (#728795, <lnykryn@redhat.com>)Bill Nottingham2012-01-061-0/+3
|
* Don't exit with an error if SEinux isn't active. (#768628)Bill Nottingham2011-12-191-3/+9
|
* Don't bother with stdin/stdout/stderr for rmmod/modprobe of scsi_wait_scan. ↵Bill Nottingham2011-11-111-0/+3
| | | | (#735867)
* selinuxfs moved, adjust code. (#733759)Bill Nottingham2011-08-302-4/+4
|
* Call multipath and kpartx with -u. (#733437)Bill Nottingham2011-08-251-3/+3
|
* plymouth lives in /bin. (#702814)Bill Nottingham2011-08-152-3/+3
|
* Drop fedora-autoswap; it's somewhat dangerous, and better done via a ↵Bill Nottingham2011-08-092-30/+0
| | | | udev/systemd combination anyway.
* Remove fedora-sysinit-hack/fedora-sysinit-unhack; they're not needed with ↵Bill Nottingham2011-07-252-21/+0
| | | | /var/lock on tmpfs.
* Make sure to enable fedora-storage-init-late.service, and have it after the ↵Bill Nottingham2011-04-271-1/+1
| | | | non-late version. (#699918)
* Support overriding hostname via /etc/hostname.Bill Nottingham2011-04-181-0/+1
|
* 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.