All of lore.kernel.org
 help / color / mirror / Atom feed
From: Mike Williams <mike@mikebwilliams.com>
To: buildroot@busybox.net
Subject: [Buildroot] RFC: systemd and service files cleanup
Date: Fri, 20 Mar 2015 12:21:21 -0400	[thread overview]
Message-ID: <CANPyyuMaisU0v1m1LUkoOnd+o2oYzG1aen9RBWyvVhU0n8x32A@mail.gmail.com> (raw)
In-Reply-To: <550B432C.9060100@mind.be>

All,

On Thu, Mar 19, 2015 at 5:44 PM, Arnout Vandecappelle <arnout@mind.be> wrote:
> On 19/03/15 20:50, Steven Noonan wrote:
>> On Thu, Mar 19, 2015 at 12:43 PM, Mike Williams <mike@mikebwilliams.com> wrote:
>>>> I come from the Arch Linux world, so I made a new skeleton that
>>>> matches the Arch base filesystem layout: with /bin, /sbin, /usr/bin,
>>>> and /usr/sbin all unified (likewise with /lib and /usr/lib). I haven't
>>>> convinced myself to post the series because I can't think of a
>>>> particularly good justification for it in the Buildroot context.
>>>
>>> I'm working that way myself, I don't know what use cases in Buildroot
>>> still require the split.
>>
>> We could consider offering it as an experimental alternative to the
>> default skeleton (just add another "choice" in kconfig, as I did in my
>> patch series). And open a discussion about unifying the directory
>> structure. It's certainly possible to support both use cases, though
>> it does require more testing.
>
>  I've also started using a unified /bin /sbin /usr/bin /usr/sbin and unified
> /lib /usr/lib /lib64 /usr/lib64, and it really simplifies things a lot. I yet
> have to find a disadvantage.

Working through this systemd cleanup, I'm now finding that some
packages install udev rules to /lib/udev/rules.d by default. The udev
documentation states that:

"The udev rules are read from the files located in the system rules
directory /usr/lib/udev/rules.d, the volatile runtime directory
/run/udev/rules.d and the local administration directory
/etc/udev/rules.d." I can verify that systemd's udev does not check
/lib/udev/rules.d, even with --enable-split-usr (our current setup).
I'm not sure what eudev does.

https://www.kernel.org/pub/linux/utils/kernel/hotplug/udev/udev.html

It makes me wonder how many upstream developers are already using a
merged /usr system, and are not noticing the technically wrong
defaults for split systems. Likewise, apparently many of buildroot's
systemd users have merged /usr already, they won't notice this
breakage in their testing either.

Mike

  reply	other threads:[~2015-03-20 16:21 UTC|newest]

Thread overview: 57+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-03-19 17:56 [Buildroot] RFC: systemd and service files cleanup Mike Williams
2015-03-19 17:56 ` [Buildroot] [PATCH 01/15] ntp: move systemd service file to /usr/lib Mike Williams
2015-03-19 19:53   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 02/15] openvmtools: move systemd service " Mike Williams
2015-03-19 19:54   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 03/15] psplash: move systemd service files " Mike Williams
2015-03-19 19:55   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 04/15] openntpd: " Mike Williams
2015-03-19 19:56   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 05/15] dbus: " Mike Williams
2015-03-19 19:56   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 06/15] avahi: systemd cleanups Mike Williams
2015-03-19 19:57   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-20 13:15   ` Thomas Petazzoni
2015-03-20 13:25     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 07/15] irqbalance: move systemd service file to /usr/lib Mike Williams
2015-03-19 19:58   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 08/15] openssh: move systemd service files " Mike Williams
2015-03-19 19:58   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 09/15] rsyslog: move systemd service file " Mike Williams
2015-03-19 19:59   ` Steven Noonan
2015-03-20 10:28   ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 10/15] dropbear: " Mike Williams
2015-03-19 19:59   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 11/15] postgresql: " Mike Williams
2015-03-19 19:59   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 12/15] libiio: " Mike Williams
2015-03-19 20:00   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 13/15] dhcp: " Mike Williams
2015-03-19 20:00   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 14/15] kodi: " Mike Williams
2015-03-19 20:00   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 17:56 ` [Buildroot] [PATCH 15/15] systemd: change install path " Mike Williams
2015-03-19 20:02   ` Steven Noonan
2015-03-20 13:07     ` Samuel Martin
2015-03-19 19:31 ` [Buildroot] RFC: systemd and service files cleanup Steven Noonan
2015-03-19 19:43   ` Mike Williams
2015-03-19 19:50     ` Steven Noonan
2015-03-19 21:44       ` Arnout Vandecappelle
2015-03-20 16:21         ` Mike Williams [this message]
2015-03-20 13:18 ` Samuel Martin
2015-03-20 13:20 ` Thomas Petazzoni
2015-03-20 13:27   ` Mike Williams
2015-03-20 13:35     ` Thomas Petazzoni

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=CANPyyuMaisU0v1m1LUkoOnd+o2oYzG1aen9RBWyvVhU0n8x32A@mail.gmail.com \
    --to=mike@mikebwilliams.com \
    --cc=buildroot@busybox.net \
    /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.