Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Make sure to enable fedora-storage-init-late.service, and have it after the ↵ | Bill Nottingham | 2011-04-27 | 1 | -1/+1 |
| | | | | non-late version. (#699918) | ||||
* | Support overriding hostname via /etc/hostname. | Bill Nottingham | 2011-04-18 | 1 | -0/+1 |
| | |||||
* | Add a storage setup after cryptsetup.target. (#692198) | Bill Nottingham | 2011-04-06 | 1 | -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 unit | Michal Schmidt | 2011-04-04 | 2 | -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-autorelabel | Michal Schmidt | 2011-04-04 | 1 | -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-autorelabel | Michal Schmidt | 2011-04-04 | 2 | -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 Nottingham | 2011-03-11 | 2 | -4/+4 |
| | |||||
* | initscripts: execute fedora-sysinit-unhack after sysinit.target | Andrey Borzenkov | 2011-03-10 | 1 | -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-01 | 1 | -1/+1 |
| | |||||
* | Use proper keyword (#657974) | Bill Nottingham | 2010-11-30 | 2 | -2/+2 |
| | |||||
* | Remain after local-fs.target. | Bill Nottingham | 2010-11-22 | 1 | -1/+1 |
| | |||||
* | fedora-autoswap: order before swap.target like all other swaps | Lennart Poettering | 2010-11-22 | 1 | -3/+2 |
| | |||||
* | fedora-storage: drop reference to emergency, weaken dependencies | Lennart Poettering | 2010-11-21 | 2 | -4/+4 |
| | |||||
* | fedora-autorelabel: drop disable_selinux() since it is unused | Lennart Poettering | 2010-11-21 | 1 | -7/+0 |
| | |||||
* | autorelabel: use systemd internal reboot logic, which is more robust and ↵ | Lennart Poettering | 2010-11-21 | 1 | -5/+1 |
| | | | | includes automatic unmounting | ||||
* | systemd: simplify autorelabel ordering and add conditional suppression | Lennart Poettering | 2010-11-21 | 1 | -2/+4 |
| | |||||
* | loadmodules: start in parallel to systemd-modules-load.service | Lennart Poettering | 2010-11-21 | 1 | -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 configured | Lennart Poettering | 2010-11-21 | 1 | -1/+2 |
| | |||||
* | sysinit.service is no longer necessary | Lennart Poettering | 2010-11-21 | 1 | -10/+0 |
| | |||||
* | Don't relabel random files; this shouldn't happen any more. | Bill Nottingham | 2010-11-18 | 1 | -12/+1 |
| | | | | Also, merge blocks on identical conditions. | ||||
* | Fix path (#654214) | Bill Nottingham | 2010-11-17 | 1 | -1/+1 |
| | |||||
* | Don't use our crypto init ; systemd handles this. | Bill Nottingham | 2010-11-16 | 7 | -56/+4 |
| | |||||
* | Don't use rhgb-client; it's long since deprecated. | Bill Nottingham | 2010-11-03 | 1 | -2/+2 |
| | |||||
* | Don't conflict with multi-user.target. | Bill Nottingham | 2010-10-29 | 1 | -1/+1 |
| | |||||
* | Use systemd versions of these services. | Bill Nottingham | 2010-10-28 | 4 | -86/+0 |
| | |||||
* | Simplify some things with ConditionPathExists. | Bill Nottingham | 2010-10-28 | 6 | -16/+17 |
| | |||||
* | Remove init_crypto 0, this is in a separate service. | Bill Nottingham | 2010-10-28 | 1 | -2/+0 |
| | |||||
* | Fix comment. | Bill Nottingham | 2010-10-28 | 1 | -1/+1 |
| | |||||
* | Don't ship our own halt service; systemd handles this natively. | Bill Nottingham | 2010-10-26 | 3 | -57/+0 |
| | | | | We will need to add a halt.local service. | ||||
* | Add autorelabel service. | Bill Nottingham | 2010-10-26 | 2 | -0/+98 |
| | |||||
* | Drop fedora-mountall, fedora-cleanup. Adjust other services accordingly. | Bill Nottingham | 2010-10-26 | 6 | -333/+4 |
| | | | | systemd can do mount & fsck & quota, etc. now. | ||||
* | Always succeed if /etc/crypttab isn't there. | Bill Nottingham | 2010-10-22 | 1 | -1/+1 |
| | |||||
* | Use systemd's support for normal swapon; only handle autoswap here.initscripts-9.21.systemd-1 | Bill Nottingham | 2010-10-15 | 2 | -5/+3 |
| | |||||
* | Don't have sysinit be after local-fs, that way lie loops. | Bill Nottingham | 2010-10-15 | 2 | -5/+2 |
| | | | | Assume https://bugs.freedesktop.org/show_bug.cgi?id=30913 will be fixed in systemd. | ||||
* | Adjust for current syntax. | Bill Nottingham | 2010-10-15 | 1 | -1/+1 |
| | |||||
* | Add a basic sysint service that is After: local-fs so that sockets still work. | Bill Nottingham | 2010-10-15 | 1 | -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 Nottingham | 2010-10-15 | 23 | -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 Nottingham | 2010-10-14 | 8 | -0/+0 |
| | |||||
* | Revert "add systemd services" | Bill Nottingham | 2010-10-14 | 20 | -336/+0 |
| | | | | | | This reverts commit f280984f691e0c3cbca2b31dad7a32a5c66ab51b. This will be reworked a bit and re-added. | ||||
* | add systemd services | Harald Hoyer | 2010-10-05 | 20 | -0/+336 |
| | |||||
* | Fix invocation so that runlevel setting works. (#630914) | Bill Nottingham | 2010-09-14 | 1 | -2/+2 |
| | |||||
* | Sett $HOME for single-user mode. (#631590) | Bill Nottingham | 2010-09-14 | 1 | -0/+1 |
| | |||||
* | Require shutdown.target, so that all the explicit references to it work ↵ | Bill Nottingham | 2010-09-08 | 1 | -0/+1 |
| | | | | correctly. (#630935) | ||||
* | prefdm, rc-local, ctrl-alt-del are system defaults. Don't package them ↵ | Bill Nottingham | 2010-09-07 | 2 | -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 Nottingham | 2010-09-07 | 1 | -1/+1 |
| | | | | invoked. (#630935) | ||||
* | Ignore errors from single-user mode. | Bill Nottingham | 2010-09-03 | 1 | -1/+1 |
| | |||||
* | Add in basic systemd units. | Bill Nottingham | 2010-09-03 | 8 | -0/+164 |
Factor out upstart/systemd/etc. support in the spec properly. |