From: Koen Kooi <koen@dominion.thruhere.net>
To: openembedded-devel@lists.openembedded.org
Subject: Re: [meta-oe][PATCH] systemd: create /var/run/utmp
Date: Thu, 17 May 2012 14:16:03 +0200 [thread overview]
Message-ID: <jp2q63$khc$1@dough.gmane.org> (raw)
In-Reply-To: <20120517110438.GF3164@jama.jama.net>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Op 17-05-12 13:04, Martin Jansa schreef:
> On Thu, May 17, 2012 at 11:56:22AM +0200, Koen Kooi wrote: Op 17-05-12
> 11:23, Martin Jansa schreef:
>>>> * it was created by volatiles before,
>
> If it was done by volatiles before shouldn't it be a tmpfile.d/ snippet
> instead of do_install_append? /var/run gets clean on boot on a lot of
> systems.
>
>> Do you have symlink /var/run -> /run?
>
>> Here /var/run is normal directory (without tmpfs mounted there, not
>> cleaned on boot), so it's enough to create it once
Angstrom uses this:
root@beagleboneA3-0428:~# cat /etc/tmpfiles.d/var-run.conf
# empty /var/run
R /var/run/* - - - - -
Some apps (e.g. avahi-daemon) to clean up their old-style pid files and fail
to start every other boot. Se we let systemd clean it on boot.
Something like:
f /var/run/utmp 0644 root root - -
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11 (Darwin)
Comment: GPGTools - http://gpgtools.org
iQIcBAEBAgAGBQJPtOwDAAoJEHZqAkdh1vT6XS8P/i1LUiDy+2F+HiP934wdQgBJ
X15EPI3Dly+P5BwdGAkJRM/zLgMgqkGQ7tKeJoyGjW4GJq9rN/D1iU1+Vj0VyQFN
3ud2eQAUUsb3HP9pOCitL2tzkGLDOpNJIBAYwMTNVnBmway6T5JFsvRaNpGtBLIr
dClrOEmNqN4yZvoHcoMCearVlRuyUqQJo624StktEp4et/h4ekVUvIiOsUqoChgr
X/fQn91oLdvHdVcMdH50ylaVGfchkfvLERvHlwRrUM76l+JyDyqmnjjEcLv4b4J7
4NkzVaoCEoe9xQs6Tuo9PLBoksBx7Wp7N0p9MlWoLATvgISk3OoLnv22KMcjN/Vl
V11Eti73PyFPoQiC2n9iqKQ91HgwWtjQelQIlbzW7GzyEBvHCHBrfVrNi10CPr6U
vC9pJpSLMzvZ2bgOC9jfAFI0INq2Pcdx/pxIOXyEEsBDuESzBxbaqvImPsDpoAob
UcNrzLvRF6CvtiWH8ivygpr03htICIK1636K4xRPMkdLzJXzwIjank23to7YJyyK
7IEokBFLJTBTxDY+EY3HBw840VnwhV+veHfPgZsC+orheXBxVeWzGVvKlSNTqYd0
clQe8OAlXXszPyxWaT83QyJAMP76ZCCqpDVad/q7kQO1gApQpAa5uGXsGz54pSe4
jw5N4Hw0T+as1pgWC63+
=WFtW
-----END PGP SIGNATURE-----
prev parent reply other threads:[~2012-05-17 12:26 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-05-17 9:23 [meta-oe][PATCH] systemd: create /var/run/utmp Martin Jansa
2012-05-17 9:56 ` Koen Kooi
2012-05-17 10:04 ` Otavio Salvador
2012-05-17 11:04 ` Martin Jansa
2012-05-17 12:16 ` Koen Kooi [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='jp2q63$khc$1@dough.gmane.org' \
--to=koen@dominion.thruhere.net \
--cc=openembedded-devel@lists.openembedded.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.