On 23.4.2019. 15:39, Mark Wigzell via blfs-dev wrote:
Message: 2
Date: Mon, 22 Apr 2019 00:11:19 +0100
From: Ken Moffat <[email protected] <mailto:[email protected]>>
To: BLFS Development List <[email protected]
<mailto:[email protected]>>
Subject: Re: [blfs-dev] blfs 8.3 systemd question dbus-1/system.d is
in both /etc and /usr/share, how to install "blueman"?
Message-ID: <[email protected]>
Content-Type: text/plain; charset=utf-8
On Sun, Apr 21, 2019 at 03:00:31PM -0700, Mark Wigzell via blfs-dev wrote:
> Hey guys, I know I had to install dbus-1 twice, once during LFS, and then
> later for BLFS.
> QUESTION 1:
> So I have a dbus-1 folder in two places as stated above, and system.d
is in
> both! Is this normal, or did I misconfigure?
>
I don't use systemd, but AFAICS both LFS-systemd and BLFS-systemd
install in /usr. What are these two directories to which you refer ?
Hi the two directories are as ini my subject line above:
/etc/dbus-1/system.d and /usr/share/sbus-1/system.d
The configure instructions for "dbus" in 8.3 systemd were:
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--enable-user-session \
--disable-doxygen-docs \
--disable-xml-docs \
--disable-static \
--docdir=/usr/share/doc/dbus-1.12.10 \
--with-console-auth-dir=/run/console \
--with-system-pid-file=/run/dbus/pid \
--with-system-socket=/run/dbus/system_bus_socket
so I note that --sysconfidr=/etc was applied.
Got lost in the thread, I hope this is the latest reply.
/usr/share/dbus-1/system.d and /etc/dbus-1/system.d are virtually the
same. At first, there was one in /etc. Then came the idea of stateless
system [0], where /etc can be empty at first boot, and will be populated
by, lets say, systemd or whatever. That's why /usr/share variant was
introduced.
Long story short, both are valid, but newer packages may migrate to
/usr/share/dbus-1/system.d to support concept of stateless systems and
empty /etc at boot. D-Bus services (maybe even systemd itself) may not
work at all without these files, so they need to be somewhere before
/etc is populated. Archlinux already does manual migration for lots of
their packages (some even have build system options to change that).
[0] http://0pointer.net/blog/projects/stateless.html
--
http://lists.linuxfromscratch.org/listinfo/blfs-dev
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page