[systemd-devel] Debian patches, typo fixes

Michael Biebl mbiebl at gmail.com
Fri Sep 3 07:44:19 PDT 2010


Hi,

patch 0001 and 0002 add preliminary Debian support to systemd.
patch 0003 fixes a small typo.

The fsck.target file is currently empy. In Debian we use two separate
init scripts during boot for the fsck task:
/etc/init.d/checkroot.sh and /etc/init.d/checkfs.sh. I'm wondering if
they should be hooked up in fsck.target or not.

Regarding umount:
Debian uses separate init scripts during shutdown, to unmount the file
systems (afaik fedora does the unmount in the reboot resp. halt init
script)
/etc/init.d/umountnfs.sh (don't ask me, why this script has a sh
extension, but not the other two)
/etc/init.d/umountfs
/etc/init.d/umountroot

Those scripts are not run during shutdown/reboot, as systemd only stop
services which are running (I hope I understood that correctly).

I thus created separate service files called
umountfs.service, umountnfs.service and umountroot.service.
I've installed them to /lib/systemd/system, and symlinked them to
/lib/systemd/system/umount.target.wants (I did not choose /etc for
that as I don't think this should be configurable).

If this is considered the correct approach to umount the file systems
(on Debian), I'll post a patch for that too.

Cheers,
Michael
-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-Add-halt-killall-poweroff-and-reboot-unit-files-for-.patch
Type: text/x-patch
Size: 4191 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20100903/902bcf4b/attachment-0003.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-Provide-separate-fsck.target-for-Debian.patch
Type: text/x-patch
Size: 2391 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20100903/902bcf4b/attachment-0004.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-Fix-small-typo-s-seperate-separate.patch
Type: text/x-patch
Size: 12227 bytes
Desc: not available
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20100903/902bcf4b/attachment-0005.bin>


More information about the systemd-devel mailing list