From: Colin Walters <walters@verbum.org>
To: Chris Larson <clarson@kergoth.com>
Cc: Patches and discussions about the oe-core layer
<openembedded-core@lists.openembedded.org>
Subject: Re: RFC: meta-ro-rootfs approach and volatiles vs tmpfiles.d
Date: Wed, 24 Jul 2013 17:47:05 -0400 [thread overview]
Message-ID: <1374702425.15230.29.camel@localhost> (raw)
In-Reply-To: <CABcZANmOQBbYKAk145vSMZn2ag1Us=ySmjq_sECCrscQCqk+dg@mail.gmail.com>
On Wed, 2013-07-24 at 11:54 -0700, Chris Larson wrote:
> - Patched in --sysroot= support for systemd-tmpfiles, to facilitate
> running it up front against the filesystem at do_rootfs time the way
> read_only_rootfs_hook does with populate-volatiles
How are you handling /run? Is it still a tmpfs in your model? If so
are you excluding tmpfiles.d snippets which reference /run at rootfs
time?
It strikes me that a less invasive way to achieve readonly rootfs is
to symlink /var -> /run/var. Or are you doing that already?
Then you'd probably want to just run through any tmpfiles which
reference /etc and /usr.
>
> - Implemented a prototype configuration for dbus which uses this to
> support read-only-rootfs.
Err...for what? /var/run/dbus/system_bus_socket? You should just
have /var/run -> /run, and that's solved.
If it's for /var/lib/dbus/machine-id, likewise that should on modern
systems just be a symlink to /etc/machine-id.
Though you do need to figure out whether you want a statically
configured machine ID, or to have one generated dynamically at boot.
These both have tradeoffs; basically, whatever you're doing for the
random seed you should probably also do for the machine ID.
next prev parent reply other threads:[~2013-07-24 21:47 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-07-24 18:54 RFC: meta-ro-rootfs approach and volatiles vs tmpfiles.d Chris Larson
2013-07-24 21:47 ` Colin Walters [this message]
2013-07-24 22:43 ` Chris Larson
2013-07-24 21:51 ` Otavio Salvador
2013-07-24 22:34 ` Chris Larson
2013-07-24 22:39 ` Otavio Salvador
2013-07-24 22:40 ` Otavio Salvador
2013-07-24 22:55 ` Chris Larson
2013-07-25 2:51 ` ChenQi
2013-07-30 18:17 ` Chris Larson
2013-07-30 18:22 ` Chris Larson
2013-07-30 18:26 ` Chris Larson
2013-07-30 20:19 ` Paul Eggleton
2013-07-31 7:07 ` ChenQi
2013-07-30 18:53 ` Chris Larson
2013-07-31 7:09 ` ChenQi
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=1374702425.15230.29.camel@localhost \
--to=walters@verbum.org \
--cc=clarson@kergoth.com \
--cc=openembedded-core@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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox