[RFC] Making D-Bus suitable for being run early during boot
Lennart Poettering
mzqohf at 0pointer.de
Fri Jul 9 10:35:57 PDT 2010
On Fri, 09.07.10 18:54, Thiago Macieira (thiago at kde.org) wrote:
> Em Sexta-feira 09 Julho 2010, às 18:14:36, Lennart Poettering escreveu:
> > Well, the problem with /lib is is that it belongs to the package manager
> > and is supposed to be identical on all machines. If we would move it
> > there it would be the only file there which would have a different
> > content on all machines beneath that directory. And we'd have to patch
> > the various package manager so that they don't whine about this.
>
> I'm not sure I agree with you.
>
> There are definitely files that are managed by tools in /lib, like those managed
> by depmod in /lib/modules/`uname -r`. In fact, the machine-id file would be
> modified even *fewer* times times than those -- think of dkms running when
> modules are updated.
Hmm, interesting point.
But then again, those files are only updated during package
installation. OTOH machine-id is created on first boot (and probably
rightly so), and /lib is even less likely to be writable than /etc...
Also, Marc-Andre pointed me to the fact that the SSH server keys are
usually also generated at first boot and stored in /etc. Maybe we should
just treatthe machine id the same?
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the dbus
mailing list