[systemd-devel] Remove warning during first boot?

Johan x Lundin johan.x.lundin at axis.com
Tue Sep 15 05:58:49 PDT 2015


Hello,

I would like to do this:
diff --git a/systemd/Makefile.am b/systemd/Makefile.am
index 19a3706..7a50038 100644
--- a/systemd/Makefile.am
+++ b/systemd/Makefile.am
@@ -6181,8 +6181,6 @@ USER_UNIT_ALIASES += \
        $(systemunitdir)/busnames.target busnames.target
 
 GENERAL_ALIASES += \
-       $(systemunitdir)/remote-fs.target $(pkgsysconfdir)/system/multi-user.tar
-       $(systemunitdir)/getty at .service $(pkgsysconfdir)/system/getty.target.wan
        $(pkgsysconfdir)/user $(sysconfdir)/xdg/systemd/user \
        $(dbussystemservicedir)/org.freedesktop.systemd1.service $(dbussessionse

In order to get rid of this warning during bootup:
systemd[1]: Failed to populate /etc with preset unit settings, ignoring: File exists

This only happens when booting up for the first time and /etc/machine-id is missing, but it generates a warning and the files are under systemd control.

Any reason not to do this?

/Johan


More information about the systemd-devel mailing list