Bug#917431: debian-policy: virtual packages: logind, default-logind

Mark Hindley mark at hindley.org.uk
Sun Dec 30 09:46:45 GMT 2018


On Sat, Dec 29, 2018 at 08:28:15PM +0100, Adam Borowski wrote:
> On Sat, Dec 29, 2018 at 02:07:25PM +0000, Sean Whitton wrote:
> > On Fri 28 Dec 2018 at 12:36pm +0100, Adam Borowski wrote:
> > 
> > > On Thu, Dec 27, 2018 at 06:28:04PM +0000, Sean Whitton wrote:
> > >> Could you provide an actual diff to be applied to policy.git, please?
> 
> [unsnip]
> @@@ upgrading-checklist
> +virtual
> +    New ``logind`` and ``default-logind`` virtual packages for a package
> +    providing logind API (over D-Bus and /run/), and for Debian's preferred
> +    implementation, respectively.
> 
> @@@ virtual-package-names-list.yaml
> + - name: logind
> +   description: an org.freedesktop.login1 D-Bus API implementation (versioned)
> + - name: default-logind
> +   description: Debian's preferred implementation of logind, possibly architecture-specific (versioned)
> 
> > Ideally, this would be reviewed and seconded by people working on init
> > stuff, so I'm not going to second it myself unless we don't get interest.
> 
> There are two families of inits in Debian, so let's bring a review from our
> side -- from actual maintainers rather than me.
> 
> And letting the guy who does most of elogind work know is probably a good
> idea, too...

Adam,

Thanks for progressing this.

The one concern I have is implying consistency of the /run/systemd files between
implementations of logind. AFAIK those files are used by the sd-login API
implemented in libsystemd and libelogind. But there are differences in the files
themselves, for example elogind doesn't support slices.

I suggest we specify logind as providing D-Bus login1 and Freedesktop sd-login
APIs.

Mark




More information about the Debian-init-diversity mailing list