Cristian Rodríguez
314929920f
systemd: ensure autofs4 and ipv6 are included
...
Systemd tries to load this modules very early.
Even though they are not strictly required it it is a good
thing to have them around.
[Edited-by: Harald Hoyer: moved to installkernel() ]
11 years ago
Harald Hoyer
256c91f837
systemd/module-setup.sh: make use of "ln_r"
11 years ago
Harald Hoyer
8229d06b05
systemd: add seat udev rules and mask loginctl
11 years ago
Harald Hoyer
a0cab31ab8
systemd: add 71-seat.rules 73-seat-late.rules
...
otherwise plymouth does not work
11 years ago
Harald Hoyer
d0d61e44be
systemd/rootfs-generator.sh: ignore legacy root=/dev/nfs
11 years ago
Harald Hoyer
75e4cbb7be
systemd/rootfs-generator.sh: exit 0
11 years ago
Harald Hoyer
9a3676a88f
systemd/dracut-initqueue.sh: fstab is not a directory
11 years ago
Harald Hoyer
ac5bff2b6f
dracut-lib/wait_for_dev(): prevent systemd daemon-reload
...
prevent a systemd daemon-reload, if it is not necessary to do.
11 years ago
Harald Hoyer
3934ca8e6c
systemd/dracut-initqueue.sh: fixed waiting in the loop if PW asked
...
continue the main loop instead of the for loop, if a password is
currently asked
11 years ago
Harald Hoyer
7e4f74f504
systemd: do not exit the initqueue, if systemd asks a password
...
this prevents bailing out the initqueue, while passwords are still to be
asked
11 years ago
Harald Hoyer
56903458d7
mkdir basic dirs in /run
...
for systemd initramfs, /run is also mounted
for non-systemd the contents of /run is copied over, when mounting /run
12 years ago
Harald Hoyer
8bcfd683bd
*/module-setup.sh: add comments for dracut called functions
12 years ago
WANG Chao
55c912ae40
systemd: pre-pivot hooks runs after /sysroot is mounted
...
If rootflags=nofail, sysroot.mount won't strictly run "Before"
initrd-root-fs.target. So we need to order dracut-pre-pivot after
sysroot.mount.
12 years ago
Harald Hoyer
e8b9702c0a
systemd/dracut-initqueue.sh: added missing "then"
12 years ago
Harald Hoyer
af11946054
dracut-functions.sh: inst_multiple == dracut_install
12 years ago
Harald Hoyer
226e3710b4
systemd/dracut-initqueue.sh: continue to boot if finished failed
...
but /sysroot/etc/fstab exists.
12 years ago
Baoquan He
d2765b5175
Change the implementation of action_on_fail
...
Currently when action_on_fail is enabled, the emergency_shell won't be called.
In kdump even though user specify the default action as emergency_shell,
dracut skip it. Now change the implementation of action_on_fail to depend
on a file which is created by kdump when making kdump initrd, then remove it
at the beginning of kdump. This can solve the explicit emergency_shell problem.
And action_on_fail won't need paramenters, remove the relevant description in
dracut man page.
Signed-off-by: Baoquan He <bhe@redhat.com>
12 years ago
Harald Hoyer
dc7085ceeb
systemd: use systemd in the initramfs, if installed on the system
...
and systemd version is >= 198
12 years ago
Harald Hoyer
52814c0ee3
systemd/dracut-pre-trigger.service: run after systemd-tmpfiles-setup-dev
12 years ago
Harald Hoyer
d124904f2b
systemd: include systemd-tempfiles
12 years ago
Harald Hoyer
d988dc30df
systemd: add support for kmod static devnodes
12 years ago
Colin Walters
99369bea1c
systemd: Replace prefdm.service with display-manager.service
...
The former is dead, the latter is the new name. See:
http://cgit.freedesktop.org/systemd/systemd/commit/?id=b2c9cbafb8b1a2742978e1faf37fbb3cf4fb5d44
https://fedoraproject.org/wiki/Features/DisplayManagerRework
12 years ago
Harald Hoyer
951cedf8cb
Revert "systemd: add systemd-fsck-root.service"
...
This reverts commit 35857f556c
.
12 years ago
Harald Hoyer
c33488feb1
rename sosreport to rdsosreport
...
Renamed sosreport to rdsosreport to differ from the sosreport tool on
the real root.
12 years ago
Harald Hoyer
35857f556c
systemd: add systemd-fsck-root.service
12 years ago
Harald Hoyer
df03141dbc
dracut-cmdline.service: remove Before: systemd-vconsole-setup.service
12 years ago
Harald Hoyer
bf9cdc472c
systemd/module-setup.sh: create emtpy /etc/machine-id
...
Even in hostonly mode, if none was found on the system.
12 years ago
Harald Hoyer
1e057b352a
add PARTLABEL and PARTUUID
12 years ago
Harald Hoyer
b093aa2dc7
beautified shell code
...
checked with shellcheck http://www.shellcheck.net/about.html
12 years ago
Harald Hoyer
32bd2fbb4c
use "rm --" to guard against filenames beginning with "-"
12 years ago
Harald Hoyer
f13deabd22
systemd/module-setup.sh: add slices.target
12 years ago
Harald Hoyer
68cb510f18
systemd: add system.slice unit
12 years ago
Harald Hoyer
4961910fe3
systemd/module-setup.sh: mkdir /etc/systemd
12 years ago
Harald Hoyer
638cad7c97
add dracut-shutdown.service.8.asc manpage
12 years ago
Harald Hoyer
0fbb79d54f
move dracut-shutdown.service to modules.d/98systemd
12 years ago
Harald Hoyer
373efa4427
systemd: make unit files symlinks
12 years ago
Harald Hoyer
cee4599131
systemd/dracut-pre-pivot.service: also execute for cleanup hooks or rd.break
12 years ago
Harald Hoyer
66ed711ccf
systemd/dracut-initqueue.service: specify all initqueues
12 years ago
WANG Chao
437a56dc6b
dracut-initqueue.service: Fix systemd start condition
...
Scripts in dracut initqueue hooks are placed under
/usr/lib/dracut/hooks/initqueue/*/ directory.
And also start initqueue service when kernel cmdline has
rd.break=initqueue
Signed-off-by: WANG Chao <chaowang@redhat.com>
12 years ago
Harald Hoyer
dcae873414
systemd/emergency.service: do not run for action_on_fail=continue
...
same as for dracut-emergency.service
12 years ago
Harald Hoyer
b78e6ac2c3
dracut-emergency.service: do not start for "action_on_fail=continue"
12 years ago
Harald Hoyer
780cb33741
systemd: set environment vars DRACUT_SYSTEMD, NEWROOT in service file
12 years ago
Harald Hoyer
5d68c80b16
systemd: include the systemd-random-seed-load.service
...
The systemd cryptsetup-generator wants systemd-random-seed-load.service
in case /dev/urandom is the device.
12 years ago
Harald Hoyer
ca2c693679
Do not call plymouth with full path
12 years ago
Baoquan He
9d787df196
Let user specify the action after fail
...
Currently the default action is emergency_shell when failure happened
during system boot. In kdump, this default may not be expected. E.g,
if dump target is not rootfs, it does not matter if mount root failed.
Adding an action which allow dracut always go ahead though failure
happens is needed by kdump.
So here add a function action_on_fail() and cmdline parameter
action_on_fail=<shell | continue>. Use action_to_fail() to replace
emergency_shell which was called after failure. By $(getarg action_on_fail=),
decide to drop into shell, or to leave away the failure and go ahead.
v3->v4:
add handling of selinux policy loaded failure, and change code format to
be consitent
Signed-off-by: Baoquan He <bhe@redhat.com>
[Edited by harald@redhat.com ]
12 years ago
Harald Hoyer
bfac40665b
systemd: add new timers.target and paths.target
12 years ago
Harald Hoyer
bb425d20a1
systemd: add dracut.bootup(7) reference to service man pages
12 years ago
Harald Hoyer
cbd69dc6ff
install dracut-*.service units
12 years ago
Harald Hoyer
e26d76dca1
systemd: add more ordering
12 years ago
Harald Hoyer
6b46e7baa0
systemd: do not use "systemd --version" until fixed
12 years ago