[systemd-devel] systemd and swap

Michael Olbrich m.olbrich at pengutronix.de
Thu Jun 23 05:02:41 PDT 2011


Hi,

I'm getting "Failed to fully start up daemon: No such file or directory"
when systemd starts.
It took some time to track it down. Basically swap_enumerate() fails
because /proc/swaps does not exist.
Imho this is a valid use-case: This is an embedded system and swap makes no
sense. I'm not sure how to fix this, but I think swap should just be
disabled in some way.

Regards,
Michael Olbrich

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |


More information about the systemd-devel mailing list