aboutsummaryrefslogtreecommitdiffstats
path: root/systemd
Commit message (Collapse)AuthorAgeFilesLines
* Prevent failure exit code leakage.Colin Guthrie2013-01-061-1/+3
| | | | | | Only happens when /etc/rc.modules doesn't exist. mga#7489
* Merge tag 'initscripts-9.41-1' into mga-41Colin Guthrie2012-10-288-8/+53
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Tag as initscripts-9.41-1 Conflicts: .gitignore Makefile inittab po/xgettext_sh.py prefdm rc.d/init.d/functions rc.d/init.d/halt rc.d/init.d/killall rc.d/init.d/netfs rc.d/init.d/network rc.d/init.d/single rc.d/rc rc.d/rc.local rc.d/rc.sysinit service src/console_check.c src/console_init.c sysconfig.txt sysconfig/network-scripts/ifdown sysconfig/network-scripts/ifdown-eth sysconfig/network-scripts/ifup sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/ifup-ippp sysconfig/network-scripts/network-functions systemd/system/fedora-wait-storage.service udev/rules.d/10-console.rules Merge Notes: 1. prefdm: We are keeping the current prefdm script which parses /etc/sysconfig/desktop to find the current preferred dm. We also keep the hunk in sysconfig.txt which relates to the afore mentioned file. Longer term, we should drop this and move to per-dm units. 2. sysconfig/network-scripts/ifup-ippp is still removed at our end... is there a replacement? 3. I used our /sbin/service as it varies quite a lot from fedora. I'd be tempted to drop our custom version in favour of upstream (s/libexec/lib/) 4. ifup/ifdown NM wrappers have been included - previously we just printed a "Device is manged by NM skipping.." message. CONFLICT (modify/delete): udev/rules.d/10-console.rules deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of udev/rules.d/10-console.rules left in tree. Auto-merging systemd/system/fedora-wait-storage.service CONFLICT (content): Merge conflict in systemd/system/fedora-wait-storage.service Auto-merging systemd/fedora-storage-init Auto-merging sysconfig/network-scripts/network-functions CONFLICT (content): Merge conflict in sysconfig/network-scripts/network-functions Removing sysconfig/network-scripts/net.hotplug Auto-merging sysconfig/network-scripts/ifup-sit Auto-merging sysconfig/network-scripts/ifup-post Auto-merging sysconfig/network-scripts/ifup-plusb CONFLICT (modify/delete): sysconfig/network-scripts/ifup-ippp deleted in HEAD and modified in initscripts-9.41-1. Version initscripts-9.41-1 of sysconfig/network-scripts/ifup-ippp left in tree. Auto-merging sysconfig/network-scripts/ifup-eth CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifup-eth Auto-merging sysconfig/network-scripts/ifup CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifup Auto-merging sysconfig/network-scripts/ifdown-sit Auto-merging sysconfig/network-scripts/ifdown-post Auto-merging sysconfig/network-scripts/ifdown-eth CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifdown-eth Auto-merging sysconfig/network-scripts/ifdown CONFLICT (content): Merge conflict in sysconfig/network-scripts/ifdown Auto-merging sysconfig.txt CONFLICT (content): Merge conflict in sysconfig.txt Removing src/testdinit Removing src/testd.c Removing src/securetty.c Removing src/securetty.8 Removing src/getkey.c Removing src/getkey.1 Removing src/fstab-decode.c Removing src/fstab-decode.8 CONFLICT (modify/delete): src/console_init.c deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of src/console_init.c left in tree. CONFLICT (modify/delete): src/console_check.c deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of src/console_check.c left in tree. Auto-merging service CONFLICT (content): Merge conflict in service CONFLICT (modify/delete): rc.d/rc.sysinit deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/rc.sysinit left in tree. CONFLICT (modify/delete): rc.d/rc.local deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/rc.local left in tree. CONFLICT (modify/delete): rc.d/rc deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/rc left in tree. CONFLICT (modify/delete): rc.d/init.d/single deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/single left in tree. Auto-merging rc.d/init.d/network CONFLICT (content): Merge conflict in rc.d/init.d/network CONFLICT (modify/delete): rc.d/init.d/netfs deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/netfs left in tree. Auto-merging rc.d/init.d/netconsole CONFLICT (modify/delete): rc.d/init.d/killall deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/killall left in tree. CONFLICT (modify/delete): rc.d/init.d/halt deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of rc.d/init.d/halt left in tree. Auto-merging rc.d/init.d/functions CONFLICT (content): Merge conflict in rc.d/init.d/functions CONFLICT (modify/delete): prefdm deleted in initscripts-9.41-1 and modified in HEAD. Version HEAD of prefdm left in tree. Auto-merging ppp/ip-up.ipv6to4 CONFLICT (modify/delete): po/xgettext_sh.py deleted in HEAD and modified in initscripts-9.41-1. Version initscripts-9.41-1 of po/xgettext_sh.py left in tree. Removing inittab.upstart Removing inittab.systemd Removing inittab.s390 Auto-merging inittab CONFLICT (content): Merge conflict in inittab Removing init/tty.conf Removing init/start-ttys.conf Removing init/splash-manager.conf Removing init/serial.conf Removing init/rcS.conf Removing init/rcS-sulogin.conf Removing init/rc.conf Removing init/quit-plymouth.conf Removing init/prefdm.conf Removing init/plymouth-shutdown.conf Removing init/control-alt-delete.conf Removing crypttab.5 Removing README-init Removing NetworkManager/dispatcher.d/05-netfs Auto-merging Makefile CONFLICT (content): Merge conflict in Makefile Auto-merging .gitignore CONFLICT (content): Merge conflict in .gitignore Automatic merge failed; fix conflicts and then commit the result.
| * Drop reference to systemd-udev.service.Bill Nottingham2012-07-091-1/+1
| | | | | | | | | | 1) udev-settle.service brings it in anyway 2) it changed names again
| * Fix unit names.initscripts-9.38-1Bill Nottingham2012-06-291-2/+2
| |
| * Only run fedora-storage-init if we have the tools that it invokes.Bill Nottingham2012-06-192-0/+6
| |
| * Check that root is r/w before starting fedora-import-state.Bill Nottingham2012-06-191-0/+1
| |
| * Move fedora-readonly to Before=local-fs.targetBill Nottingham2012-05-071-1/+1
| |
| * Make sure fedora-readonly runs before random seed loading/saving. (#808907)Bill Nottingham2012-04-251-1/+1
| |
| * 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)
* | remove mandriva-clean-var-run-lock systemd service, unneded now that ↵Olivier Blin2012-10-231-19/+0
| | | | | | | | /var/lock is a symlink to /run/lock
* | Rename for new udev systemd serviesColin Guthrie2012-07-132-3/+3
| |
* | systemd: No need to pull in udev*.services in dmesg saving.Colin Guthrie2012-04-061-1/+0
| | | | | | | | | | It already starts after udev-settle.service and there is no hard requirement here, so nuke it.
* | systemd: Add RemainAfterExit to the Mandriva services.Colin Guthrie2012-04-065-0/+5
| | | | | | | | | | This just reflects better that they have been run an all is well when looking at systemctl --all output.
* | Fix runlevel switching by only cleaning /var/{lock,run} once on boot.Colin Guthrie2012-03-241-0/+2
| | | | | | | | | | | | | | | | | | | | This is really just a hack as both these folders should really be symlinks into /run which is tmpfs and thus always clean on boot. This will be done for mga3 (and performed by dracut on boot for any filesystem that needs it). https://bugs.mageia.org/show_bug.cgi?id=4744
* | Correct path to mdadm map file.Thomas Backlund2012-03-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | Mageia (since mdv days) stores the mdadm map in different place than Fedora. Reference: https://bugs.mageia.org/show_bug.cgi?id=4875 Signed-off-by: Thomas Backlund <tmb@mageia.org> systemd/fedora-storage-init | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)
* | Merge commit 'initscripts-9.34-1' into mga-34Colin Guthrie2011-11-0312-91/+48
|\ \ | |/ | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This brings our fully patched initscripts branch up to version 9.34. Some code was not easily merged and thus not all functionality relating to multiple IP addresses per interface were merged in. Conflicts: Makefile lang.csh lang.sh prefdm rc.d/init.d/functions rc.d/init.d/netfs rc.d/init.d/network rc.d/rc rc.d/rc.local rc.d/rc.sysinit service sysconfig.txt sysconfig/network-scripts/ifdown-eth sysconfig/network-scripts/ifup-eth sysconfig/network-scripts/ifup-ipv6 sysconfig/network-scripts/ifup-sit sysconfig/network-scripts/ifup-tunnel sysconfig/network-scripts/network-functions systemd/system/fedora-sysinit-unhack.service
| * 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
| |
* | Add the mdkconf patchColin Guthrie2011-10-218-1/+86
|/
* 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
|