Harald Hoyer
7292a59593
systemd: stop udevd correctly
13 years ago
Harald Hoyer
765d8408e9
Revert "systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db"
...
This reverts commit a43f97c4e3
.
13 years ago
Harald Hoyer
3780d7e449
systemd/initrd-switch-root.service: call switch-root with --no-block
13 years ago
Harald Hoyer
a43f97c4e3
systemd/dracut-pre-pivot.service: force clean stop of udevd and cleanup-db
13 years ago
Harald Hoyer
030ade7590
Fixes for systemd-187, which does the right thing for switch-root
13 years ago
Harald Hoyer
f31049c17f
systemd/service-to-run.sh: do not copy the target subdirs
13 years ago
Harald Hoyer
e6bec9b793
systemd/initrd-switch-root.service: add some more dependencies
13 years ago
Harald Hoyer
2499c305f9
systemd/initrd-switch-root.service: add back "--force" to switch-root
...
otherwise systemd does umount /run et.al.
13 years ago
Harald Hoyer
f60cd2593f
systemd: fixed initrd-switch-root.service
13 years ago
Harald Hoyer
fc5b6b0328
systemd/initrd-switch-root.target: add ConditionPathExist
13 years ago
Harald Hoyer
bef2fd9722
systemd: install all dracut units in /etc and let the generator cp to /run
...
All custom units, which should appear in the system later on should be
installed in /etc/systemd. They should have a guard like:
ConditionPathExists=/etc/initrd-release
So, we can later query via systemctl:
$ systemctl status dracut-initqueue.service
dracut-initqueue.service - Dracut initqueue hook
Loaded: loaded (/run/systemd/system/dracut-initqueue.service; enabled-runtime)
Active: inactive (dead) since Tue, 10 Jul 2012 16:01:22 +0200; 1min 37s ago
start condition failed at Tue, 10 Jul 2012 16:01:23 +0200; 1min 36s ago
Main PID: 173 (code=exited, status=0/SUCCESS)
CGroup: name=systemd:/system/dracut-initqueue.service
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Checking, if btrfs device complete
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Remounting /dev/disk/by-uuid/ade13292-d23f-45be-b732-fa9a391a56b0 with -o compress=lzo,ssd,rw
Jul 10 16:01:22 lenovo dracut-initqueue[173]: Mounted root filesystem /dev/sda3
13 years ago
Harald Hoyer
ad401d1eaf
systemd/initrd-switch-root.service: stop journald, rather than restart
13 years ago
Harald Hoyer
792b189317
systemd service cleanup
13 years ago
Harald Hoyer
b4e20a898e
systemd-udev-trigger.service and systemd-udev-settle.service have no "d"
13 years ago
Harald Hoyer
6795dcc4fc
require systemd >= 186
13 years ago
Harald Hoyer
9954876417
systemd/module-setup.sh: also include systemd-udevd* units
...
systemd-udev* was renamed to systemd-udevd*
13 years ago
Harald Hoyer
e09048aaf5
systemd: check, that --prefix= does not contain /run
...
systemd will mount /run before dracut has a chance to copy over the
original content.
13 years ago
Harald Hoyer
f1e9f613d9
systemd: exit with sane state
13 years ago
Harald Hoyer
d04f16f600
install user/group adm for journal
13 years ago
Harald Hoyer
53fe81e752
modules.d/*/module-setup.sh: combine and specify type for installs
...
To speedup image creation, combine dracut_install calls and specify the exact type.
E.g. inst_script instead of the generic inst.
13 years ago
Harald Hoyer
d531a0a307
systemd/module-setup.sh: ln with --force
13 years ago
Harald Hoyer
3639d2431f
systemd/module-setup.sh: only create empty machine-id if non existing
13 years ago
Harald Hoyer
ae2d48a366
systemd: add ConditionPathExists=/etc/initrd-release to services
13 years ago
Harald Hoyer
cc51bc6fdb
systemd/dracut-pre-pivot.sh: copy service files to /run/systemd/system
...
and remove the last info, so that the journal is not restarted again.
13 years ago
Harald Hoyer
55cb17c677
systemd: remove old udev services
13 years ago
Harald Hoyer
ee876e03b9
fixed i18n for systemd and include more config files in host-only
13 years ago
Harald Hoyer
579ca216b4
systemd: remove unneeded systemd services
13 years ago
Harald Hoyer
e08710a289
systemd: fixed I/O of services
13 years ago
Harald Hoyer
b03e991113
systemd: fixed ordering of services
13 years ago
Harald Hoyer
a51aa0d0e2
systemd/dracut-pre-udev.service: fixed description
13 years ago
Harald Hoyer
f82659c552
systemd/dracut-pre-pivot.sh: remove trailing space
13 years ago
Harald Hoyer
f653c86229
systemd/dracut-cmdline: make dracut-cmdline a service
...
convert dracut-cmdline from hook to service after the journal
13 years ago
Harald Hoyer
edcbd379d5
systemd/dracut-pre-pivot.sh: stop old udev services
13 years ago
Harald Hoyer
3d3ddf082b
systemd: do not flock for console
13 years ago
Harald Hoyer
f6eb1f1d1f
systemd: do not redirect to /dev/console
13 years ago
Harald Hoyer
b47e023767
systemd: fix emergency.service and rescue.service
13 years ago
Harald Hoyer
529f7bf358
systemd/module-setup.sh: add old udev systemd services
13 years ago
Harald Hoyer
9f037266ee
systemd: output all service output to the journal also
13 years ago
Harald Hoyer
fbaf1517c3
s/Unable to process initqueue/Could not boot/g
13 years ago
Harald Hoyer
521c57aca5
systemd/dracut-initqueue.sh: remove pre-trigger sourcing
...
Thanks ms77 on #dracut!
13 years ago
Harald Hoyer
547bbe4876
systemd: strip down the installation of some unused tools
13 years ago
Harald Hoyer
d161561290
make udevdir systemdutildir systemdsystemunitdir global vars
...
your distribution should ship those settings in
/etc/dracut.conf.d/01-distro.conf
see dracut.conf.d/fedora.conf.example
13 years ago
Harald Hoyer
200e235dee
systemd/dracut-pre-trigger.sh: fixed rd.udev.{debug|info}
13 years ago
Harald Hoyer
0636ce1a7f
systemd/module-setup.sh: package udev in sysinit.target
13 years ago
Harald Hoyer
14b43bcaee
systemd: use pkg-config to determine the systemd directories
13 years ago
Harald Hoyer
187c355bf4
systemd: mkdir basic.target.wants
13 years ago
Harald Hoyer
806572d058
systemd/module-setup.sh: add journalctl and systemctl
13 years ago
Harald Hoyer
ca024e3378
renamed switch-root.{service,target} -> initrd-switch-root
13 years ago
Harald Hoyer
38111b9622
systemd: store switch-root.conf in /run/initramfs
...
Store switch-root.conf in /run/initramfs/switch-root.conf, so that the
service does not fail in ExecPost after switching to the real root.
13 years ago
Harald Hoyer
41153ca4f2
systemd/switch-root.service: do not require shutdown and isolate to default
...
do not require shutdown.target and final.target
After switch-root isolate to the default target. This will load the
default target in the real root after systemd deserializes.
13 years ago