Debian Bug report logs - #686125
samba: dhcp hook makes system unbootable with systemd init

version graph

Package: samba; Maintainer for samba is Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>; Source for samba is src:samba.

Reported by: Andreas Henriksson <andreas@fatal.se>

Date: Tue, 28 Aug 2012 21:03:01 UTC

Severity: important

Found in version samba/2:3.6.6-3

Done: Steve Langasek <vorlon@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#686125; Package samba. (Tue, 28 Aug 2012 21:03:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Henriksson <andreas@fatal.se>:
New Bug report received and forwarded. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>. (Tue, 28 Aug 2012 21:03:03 GMT) Full text and rfc822 format available.

Message #5 received at submit@bugs.debian.org (full text, mbox):

From: Andreas Henriksson <andreas@fatal.se>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: samba: dhcp hook makes system unbootable with systemd init
Date: Tue, 28 Aug 2012 22:39:14 +0200
Package: samba
Version: 2:3.6.6-3
Severity: critical
Justification: breaks the whole system

Dear Maintainer,
my system won't boot.

Simply removing the dhcp hook installed by samba makes the system
bootable again.

There is already a bug about this filed against systemd with more details
(see #635777). For alot more details, talk to Michael Biebl which knows
this problem very well by now (since I've bugged him about it many times).

I'm filing this bug against samba because the systemd maintainers thinks
this should be solved on the samba side, was once solved on the samba
side (by dropping the hook) and then reintroduced again.

Michael Biebl kindly suggested multiple ways this can be solved easily
if keeping the hook is really desired:


22:22 < mbiebl> 1/ not reload if not running
22:23 < mbiebl> 2/ not reload during boot/shutdown
22:23 < mbiebl> 3/ not reload if the actual configuration hasn't changed
22:23 < mbiebl> it seems to me, 2/ and 3/ are bugs on its own 
22:23 < mbiebl> which should be fixed in any case


(I tried 1/ by changing /etc/dhcp3/dhclient-enter-hooks.d/samba so instead of:
	[ -x /etc/init.d/samba ] && /usr/sbin/invoke-rc.d samba reload
it said:
	[ -x /etc/init.d/samba ] && invoke-rc.d samba status && /usr/sbin/invoke-rc.d samba reload
... which worked, but printed an ugly multi-line warning during shutdown
that said "... samba status was called during shutdown".)


-- System Information:
Debian Release: wheezy/sid
  APT prefers unstable
  APT policy: (300, 'unstable'), (100, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-3-amd64 (SMP w/1 CPU core)
Locale: LANG=en_US.UTF-8, LC_CTYPE=sv_SE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash

Versions of packages samba depends on:
ii  adduser                3.113+nmu3
ii  debconf [debconf-2.0]  1.5.46
ii  dpkg                   1.16.8
ii  libacl1                2.2.51-8
ii  libattr1               1:2.4.46-8
ii  libc6                  2.13-35
ii  libcap2                1:2.22-1.2
ii  libcomerr2             1.42.5-1
ii  libcups2               1.5.3-2
ii  libgssapi-krb5-2       1.10.1+dfsg-2
ii  libk5crypto3           1.10.1+dfsg-2
ii  libkrb5-3              1.10.1+dfsg-2
ii  libldap-2.4-2          2.4.31-1
ii  libpam-modules         1.1.3-7.1
ii  libpam-runtime         1.1.3-7.1
ii  libpam0g               1.1.3-7.1
ii  libpopt0               1.16-7
ii  libtalloc2             2.0.7+git20120207-1
ii  libtdb1                1.2.10-2
ii  libwbclient0           2:3.6.6-3
ii  lsb-base               4.1+Debian7
ii  procps                 1:3.3.3-2
ii  samba-common           2:3.6.6-3
ii  update-inetd           4.43
ii  zlib1g                 1:1.2.7.dfsg-13

Versions of packages samba recommends:
ii  logrotate  3.8.2-1
pn  tdb-tools  <none>

Versions of packages samba suggests:
pn  ctdb                              <none>
pn  ldb-tools                         <none>
ii  openbsd-inetd [inet-superserver]  0.20091229-2
pn  smbldap-tools                     <none>

-- debconf information excluded



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#686125; Package samba. (Fri, 12 Oct 2012 21:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Neil Williams <codehelp@debian.org>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>. (Fri, 12 Oct 2012 21:57:03 GMT) Full text and rfc822 format available.

Message #10 received at 686125@bugs.debian.org (full text, mbox):

From: Neil Williams <codehelp@debian.org>
To: 686125@bugs.debian.org, 686125-submitter@bugs.debian.org
Cc: control@bugs.debian.org
Subject: Downgrading
Date: Fri, 12 Oct 2012 22:54:22 +0100
[Message part 1 (text/plain, inline)]
severity 686125 important
thanks

I can't see how this is a release-critical bug in samba, especially as
the quoted bug in systemd was filed initially as minor and then
upgraded to important.

Downgrading.

-- 


Neil Williams
=============
http://www.linux.codehelp.co.uk/

[Message part 2 (application/pgp-signature, inline)]

Severity set to 'important' from 'critical' Request was from Neil Williams <codehelp@debian.org> to control@bugs.debian.org. (Fri, 12 Oct 2012 21:57:04 GMT) Full text and rfc822 format available.

Message sent on to Andreas Henriksson <andreas@fatal.se>:
Bug#686125. (Fri, 12 Oct 2012 21:57:07 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>:
Bug#686125; Package samba. (Sat, 13 Oct 2012 15:57:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Andreas Henriksson <andreas@fatal.se>:
Extra info received and forwarded to list. Copy sent to Debian Samba Maintainers <pkg-samba-maint@lists.alioth.debian.org>. (Sat, 13 Oct 2012 15:57:03 GMT) Full text and rfc822 format available.

Message #20 received at 686125@bugs.debian.org (full text, mbox):

From: Andreas Henriksson <andreas@fatal.se>
To: Neil Williams <codehelp@debian.org>
Cc: 686125@bugs.debian.org
Subject: Re: Bug#686125: Downgrading
Date: Sat, 13 Oct 2012 17:55:48 +0200
[Message part 1 (text/plain, inline)]
On Fri, Oct 12, 2012 at 10:54:22PM +0100, Neil Williams wrote:
> severity 686125 important
> thanks
> 
> I can't see how this is a release-critical bug in samba, especially as
> the quoted bug in systemd was filed initially as minor and then
> upgraded to important.

Personally I can only think of one graver issues then making the system
unbootable with the non-default init system. (And that would ofcourse be
making the system unbootable with the default init system.)
But if you think "bug X compared to bug Y" is a saner approach to judge
the severity of this than to look at the symptoms caused by this and
judging how it would affect a user, then I won't argue....


-- 
Andreas Henriksson
[signature.asc (application/pgp-signature, inline)]

Reply sent to Steve Langasek <vorlon@debian.org>:
You have taken responsibility. (Sat, 13 Oct 2012 18:57:05 GMT) Full text and rfc822 format available.

Notification sent to Andreas Henriksson <andreas@fatal.se>:
Bug acknowledged by developer. (Sat, 13 Oct 2012 18:57:05 GMT) Full text and rfc822 format available.

Message #25 received at 686125-done@bugs.debian.org (full text, mbox):

From: Steve Langasek <vorlon@debian.org>
To: Andreas Henriksson <andreas@fatal.se>, 686125-done@bugs.debian.org
Cc: Neil Williams <codehelp@debian.org>
Subject: Re: [Pkg-samba-maint] Bug#686125: Downgrading
Date: Sat, 13 Oct 2012 11:54:25 -0700
[Message part 1 (text/plain, inline)]
On Sat, Oct 13, 2012 at 05:55:48PM +0200, Andreas Henriksson wrote:
> On Fri, Oct 12, 2012 at 10:54:22PM +0100, Neil Williams wrote:
> > severity 686125 important
> > thanks

> > I can't see how this is a release-critical bug in samba, especially as
> > the quoted bug in systemd was filed initially as minor and then
> > upgraded to important.

> Personally I can only think of one graver issues then making the system
> unbootable with the non-default init system. (And that would ofcourse be
> making the system unbootable with the default init system.)

The root bug is a bug in that init system.  There's no reason individual
services should be expected to work around bugs in alternative init systems.
Closing this bug as invalid.

-- 
Steve Langasek                   Give me a lever long enough and a Free OS
Debian Developer                   to set it on, and I can move the world.
Ubuntu Developer                                    http://www.debian.org/
slangasek@ubuntu.com                                     vorlon@debian.org
[signature.asc (application/pgp-signature, inline)]

Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 11 Nov 2012 07:25:49 GMT) Full text and rfc822 format available.

Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Fri Apr 25 07:46:17 2014; Machine Name: buxtehude.debian.org

Debian Bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.