[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#715194: openssh-server: ship systemd unit files



On 2014-02-10 15:44 +0100, Colin Watson wrote:

> On Mon, Jul 08, 2013 at 10:26:03PM +0200, Sven Joachim wrote:
>> On 2013-07-08 19:29 +0200, Colin Watson wrote:
>> > On Mon, Jul 08, 2013 at 06:29:42PM +0200, Sven Joachim wrote:
>> >> Attached is a patch that adapts the Fedora unit files[2] to Debian
>> >> customs,
>> >
>> > Thanks, I'll look into these for my next upload.
>
> Er, yeah.  Oops.  Really looking into it now!

Thanks!

> The only other significant error I see in your patch is that we really
> should not be going back to creating /var/run/sshd in the postinst; that
> doesn't necessarily persist across boots and doing anything with it in
> maintainer scripts is inappropriate.  But that's easy to rip out again,
> since you also added tmpfiles.d support.

AFAICS tmpfiles.d files are processed _only_ at boot time, so there's
the problem of creating the directory when openssh-server is installed
for the first time.  While it would be nice to have
"systemd-tmpfiles --create sshd.conf" automagically run if systemd is
PID 1, this does not currently happen I'm afraid.

Cheers,
       Sven


Reply to: