[systemd-devel] [PATCHv2] logind: Support logind.conf.d directories in the usual search paths

Josh Triplett josh at joshtriplett.org
Fri Oct 17 00:14:04 PDT 2014


On Fri, Oct 17, 2014 at 08:40:48AM +0300, Mantas Mikulėnas wrote:
> On Fri, Oct 17, 2014 at 7:29 AM, Josh Triplett <josh at joshtriplett.org> wrote:
> > This makes it possible to drop in logind configuration snippets from a
> > package or other configuration management mechanism.
> 
> I'm still very curious what packages would need to install drop-ins for logind?

Configuration packages, metapackages, configuration management systems,
etc.

> > Introduce a new helper, conf_parse_many, to parse configuration files in
> > a search path.
> >
> > systemd now installs /usr/lib/systemd/logind.conf.d/50-default.conf
> > rather than /etc/systemd/logind.conf .  Distributions should migrate
> > existing modified versions of /etc/systemd/logind.conf to
> > /etc/systemd/logind.conf.d/50-default.conf .
> 
> Sounds like unnecessary shuffling things around...

It's the same process previously followed for /etc/modules moving to
/etc/modules-load.d, for instance.

> > For systemd, are "git format-patch -M" patches (with git-style renames
> > rather than whole-file deletion/insertions) acceptable for mailing list
> > review?  That format makes renames much easier to review.
> 
> I'm sure the patches are applied using `git am`, so that should work fine.

That was my hope as well.

- Josh Triplett


More information about the systemd-devel mailing list