[systemd-devel] systemd in initramfs: /etc/passwd, /etc/group, emergency.service and sulogin

Ivan Shapovalov intelfx100 at gmail.com
Fri Oct 24 13:52:22 PDT 2014


Hi,

A few questions regarding usage of systemd+udev in initramfs. Before all,
this is what I want to achieve (to prevent XY-problems): working
emergency.service in initramfs.

The questions are a bit Arch-specific and possibly lame, but well...

- is /etc/passwd still[1] needed in initramfs due to libdbus1?
- how to pass '--resolve-names=never' to udevd in initramfs, will it work this
  way and will it allow to exclude /etc/group[2] from initramfs?
- is it possible to use 'sulogin -e' instead of 'sulogin'[3] security-wise?

[1]: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/initcpio-install-systemd?h=packages/systemd#n141
[2]: https://projects.archlinux.org/svntogit/packages.git/tree/trunk/initcpio-install-systemd?h=packages/systemd#n147
[3]: http://cgit.freedesktop.org/systemd/systemd/tree/units/emergency.service.in#n21

Thanks,
-- 
Ivan Shapovalov / intelfx /
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 213 bytes
Desc: This is a digitally signed message part.
URL: <http://lists.freedesktop.org/archives/systemd-devel/attachments/20141025/2dfde319/attachment.sig>


More information about the systemd-devel mailing list