[Buildroot] [PATCH 1/3] package/skeleton-init-systemd: work around for /var/lib not populating

Thomas Petazzoni thomas.petazzoni at bootlin.com
Sun Mar 4 20:24:33 UTC 2018


Hello,

Note: the patches have already been applied, and my comments were not
meant to prevent them from being applied.

On Sun,  4 Mar 2018 18:06:15 +0100, Yann E. MORIN wrote:

> It does cause some warnings from systemd:
> systemd[1]: Starting Create Volatile Files and Directories...
> systemd-tmpfiles[148]: [/etc/tmpfiles.d/var-factory.conf:7] Duplicate line for path "/var/lib/systemd", ignoring.
> systemd-tmpfiles[148]: [/etc/tmpfiles.d/var-factory.conf:8] Duplicate line for path "/var/lib/systemd/coredump", ignoring.
> 
> But they can be ignored.

But annoying. Lots of people are going to wonder what's happening, and
find them bogus.

> 
> IMHO, I think a better solution would be for systemd-tmpfiles to gain a
> "merge tree" operation that is like "C" but doesn't abort if the

What is "C" ? What is needed for this "better solution" ?

Thomas
-- 
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
http://bootlin.com



More information about the buildroot mailing list