Debian Bug report logs - #714710
dpkg: when installed from live usb/cd /sbin/start-stop-daemon is empty shell script

Package: live-installer; Maintainer for live-installer is Debian Install System Team <debian-boot@lists.debian.org>; Source for live-installer is src:live-installer.

Reported by: deloptes <deloptes@yahoo.com>

Date: Tue, 2 Jul 2013 00:51:02 UTC

Severity: important

Reply or subscribe to this bug.

Toggle useless messages

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


Report forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#714710; Package dpkg. (Tue, 02 Jul 2013 00:51:06 GMT) Full text and rfc822 format available.

Acknowledgement sent to deloptes <deloptes@yahoo.com>:
New Bug report received and forwarded. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Tue, 02 Jul 2013 00:51:06 GMT) Full text and rfc822 format available.

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

From: deloptes <deloptes@yahoo.com>
To: Debian Bug Tracking System <submit@bugs.debian.org>
Subject: dpkg: when installed from live usb/cd /sbin/start-stop-daemon is empty shell script
Date: Tue, 02 Jul 2013 02:33:36 +0200
Package: dpkg
Version: 1.15.8.13
Severity: important

When installed from live usb/cd /sbin/start-stop-daemon is empty shell script
This results in strange behaviour of start/stop services like nfs

I read a whole bunch of issues related to nfs (rpc.statd not running)
While having another machine with same setup and nfs working I excluded the possibility of being related to some mostly discussed bugs
I noticed that portmap and rpc.statd are simply not starting, because the start-stop-daemon program was an empty shells script
unfortunately the version reported here was overwritten by dpkg --reinstall install dpkg, but I hope in this way that other people having 
similar issues with daemons not starting properly will solve it easily.

regards

d.


-- System Information:
Debian Release: 6.0.7
  APT prefers oldstable-updates
  APT policy: (500, 'oldstable-updates'), (500, 'oldstable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.3.8eko2 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8) (ignored: LC_ALL set to bg_BG.UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages dpkg depends on:
ii  coreutils               8.5-1            GNU core utilities
ii  libbz2-1.0              1.0.5-6+squeeze1 high-quality block-sorting file co
ii  libc6                   2.11.3-4         Embedded GNU C Library: Shared lib
ii  libselinux1             2.0.96-1         SELinux runtime shared libraries
ii  xz-utils                5.0.0-2          XZ-format compression utilities
ii  zlib1g                  1:1.2.3.4.dfsg-3 compression library - runtime

dpkg recommends no packages.

Versions of packages dpkg suggests:
ii  apt                    0.8.10.3+squeeze1 Advanced front-end for dpkg

-- no debconf information



Information forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#714710; Package dpkg. (Tue, 02 Jul 2013 06:33:08 GMT) Full text and rfc822 format available.

Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Tue, 02 Jul 2013 06:33:08 GMT) Full text and rfc822 format available.

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

From: Guillem Jover <guillem@debian.org>
To: deloptes <deloptes@yahoo.com>, 714710@bugs.debian.org
Subject: Re: Bug#714710: dpkg: when installed from live usb/cd /sbin/start-stop-daemon is empty shell script
Date: Tue, 2 Jul 2013 08:29:19 +0200
Hi!

On Tue, 2013-07-02 at 02:33:36 +0200, deloptes wrote:
> Package: dpkg
> Version: 1.15.8.13
> Severity: important
> 
> When installed from live usb/cd /sbin/start-stop-daemon is empty shell script
> This results in strange behaviour of start/stop services like nfs
> 
> I read a whole bunch of issues related to nfs (rpc.statd not running)
> While having another machine with same setup and nfs working I excluded the possibility of being related to some mostly discussed bugs
> I noticed that portmap and rpc.statd are simply not starting, because the start-stop-daemon program was an empty shells script
> unfortunately the version reported here was overwritten by dpkg --reinstall install dpkg, but I hope in this way that other people having 
> similar issues with daemons not starting properly will solve it easily.

This would be an issue with whatever Live USB/CD software you are using.
If that's one of the packaged solutions in Debian, then we can reassign
the bug report there, otherwise there's not much that can be done, except
that you'd need to file such bug report on the project producing those
Live images.

Thanks,
Guillem



Information forwarded to debian-bugs-dist@lists.debian.org, Dpkg Developers <debian-dpkg@lists.debian.org>:
Bug#714710; Package dpkg. (Tue, 02 Jul 2013 09:45:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Guillem Jover <guillem@debian.org>:
Extra info received and forwarded to list. Copy sent to Dpkg Developers <debian-dpkg@lists.debian.org>. (Tue, 02 Jul 2013 09:45:04 GMT) Full text and rfc822 format available.

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

From: Guillem Jover <guillem@debian.org>
To: deloptes <deloptes@yahoo.com>, 714710@bugs.debian.org
Cc: live-images@packages.debian.org
Subject: Re: Bug#714710: dpkg: when installed from live usb/cd /sbin/start-stop-daemon is empty shell script
Date: Tue, 2 Jul 2013 11:42:08 +0200
Control: reassign -1 live-images

Hi!

[ I got confirmation off-list this is with official Live images, but
  feel free to re-reassign as I don't really know what the culprit is. ]

On Tue, 2013-07-02 at 08:29:19 +0200, Guillem Jover wrote:
> On Tue, 2013-07-02 at 02:33:36 +0200, deloptes wrote:
> > Package: dpkg
> > Version: 1.15.8.13
> > Severity: important
> > 
> > When installed from live usb/cd /sbin/start-stop-daemon is empty shell script
> > This results in strange behaviour of start/stop services like nfs
> > 
> > I read a whole bunch of issues related to nfs (rpc.statd not running)
> > While having another machine with same setup and nfs working I excluded the possibility of being related to some mostly discussed bugs
> > I noticed that portmap and rpc.statd are simply not starting, because the start-stop-daemon program was an empty shells script
> > unfortunately the version reported here was overwritten by dpkg --reinstall install dpkg, but I hope in this way that other people having 
> > similar issues with daemons not starting properly will solve it easily.
> 
> This would be an issue with whatever Live USB/CD software you are using.
> If that's one of the packaged solutions in Debian, then we can reassign
> the bug report there, otherwise there's not much that can be done, except
> that you'd need to file such bug report on the project producing those
> Live images.

Thanks,
Guillem



Bug reassigned from package 'dpkg' to 'live-images'. Request was from Guillem Jover <guillem@debian.org> to 714710-submit@bugs.debian.org. (Tue, 02 Jul 2013 09:45:04 GMT) Full text and rfc822 format available.

No longer marked as found in versions dpkg/1.15.8.13. Request was from Guillem Jover <guillem@debian.org> to 714710-submit@bugs.debian.org. (Tue, 02 Jul 2013 09:45:05 GMT) Full text and rfc822 format available.

Bug reassigned from package 'live-images' to 'live-installer'. Request was from Daniel Baumann <daniel.baumann@progress-technologies.net> to control@bugs.debian.org. (Tue, 02 Jul 2013 12:03:13 GMT) Full text and rfc822 format available.

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#714710; Package live-installer. (Sat, 06 Jul 2013 02:36:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Edwin Fukunaga <efukunag@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sat, 06 Jul 2013 02:36:04 GMT) Full text and rfc822 format available.

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

From: Edwin Fukunaga <efukunag@gmail.com>
To: 714710@bugs.debian.org
Subject: Re: Bug#714710: dpkg: when installed from live usb/cd /sbin/start-stop-daemon is empty shell script
Date: Fri, 5 Jul 2013 21:32:33 -0500
[Message part 1 (text/plain, inline)]
Hello,

I'm having a similar issue with a Live netboot archive.  I'm using the Live
6.0.7 gnome-desktop netboot archive, from


http://live.debian.net/cdimage/release/6.0.7/i386/net/debian-live-6.0.7-i386-gnome-desktop-net.tar.gz

and /sbin/start-stop-daemon is also an empty shell script:

---8<---
#!/bin/sh

exit 0
---8<---

There is also /sbin/start-stop-daemon.orig, with the same contents.

Scripts like /etc/init.d/rsyslog have strange behavior:

     $ sudo /etc/init.d/rsyslog start
     Starting enhanced syslogd: rsyslogd.
     $ /etc/init.d/rsyslog status
     could not access PID file for rsyslogd ... failed!

though starting rsyslogd manually works:

     $ sudo /usr/sbin/rsyslogd -c4
     $ /etc/init.d/rsyslog status
     rsyslogd is running.

I'm running from RAM, booted over PXE, haven't installed to a hard disk.
The dpkg version is 1.15.8.13 (i386).

Just in case this is a related issue.  Thanks!

Edwin
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#714710; Package live-installer. (Sun, 07 Jul 2013 23:48:03 GMT) Full text and rfc822 format available.

Acknowledgement sent to Emanoil Kotsev <deloptes@yahoo.com>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Sun, 07 Jul 2013 23:48:03 GMT) Full text and rfc822 format available.

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

From: Emanoil Kotsev <deloptes@yahoo.com>
To: Guillem Jover <guillem@debian.org>, "714710@bugs.debian.org" <714710@bugs.debian.org>, Edwin Fukunaga <efukunag@gmail.com>
Cc: "live-images@packages.debian.org" <live-images@packages.debian.org>
Subject: Re: Bug#714710: dpkg: when installed from live usb/cd /sbin/start-stop-daemon is empty shell script
Date: Sun, 7 Jul 2013 16:44:34 -0700 (PDT)
[Message part 1 (text/plain, inline)]
Hi
thanks Edwin for reporting the details on your side.
This is exactly what I have experienced in my case and spent about 4-5h looking for an issue with nfs and why it is not mounting remote dir, why portmap was not running etc.
I did check the current 7.x installer debian-7.1.0-amd64-netinst.iso but it looks ok there in the dpkg package.
In debian-testing-amd64-businesscard.iso there is no dpkg package.
I need to check the backup disks and usb of installation and the notes to find out what I have used for setting up the machine but no time left unfortunately. I think the machine was installed in Feb or Jan this year.


@Edwin: Can you check if the included dpkg package has this inside /sbin/start-stop-daemon in binary, basically I'm wondering if there is a script somewhere which overwrites something in /sbin, which would be dangerous
I mount -o loop debian....iso and then  find | grep dpkg followed by mkdir tmp && dpkg -x dpkg...deb tmp


regards


________________________________
 From: Guillem Jover <guillem@debian.org>
To: deloptes <deloptes@yahoo.com>; 714710@bugs.debian.org 
Cc: live-images@packages.debian.org 
Sent: Tuesday, July 2, 2013 11:42 AM
Subject: Re: Bug#714710: dpkg: when installed from live usb/cd /sbin/start-stop-daemon is empty shell script
 

Control: reassign -1 live-images

Hi!

[ I got confirmation off-list this is with official Live images, but
  feel free to re-reassign as I don't really know what the culprit is. ]

On Tue, 2013-07-02 at 08:29:19 +0200, Guillem Jover wrote:
> On Tue, 2013-07-02 at 02:33:36 +0200, deloptes wrote:
> > Package: dpkg
> > Version: 1.15.8.13
> > Severity: important
> > 
> > When installed from live usb/cd /sbin/start-stop-daemon is empty shell script
> > This results in strange behaviour of start/stop services like nfs
> > 
> > I read a whole bunch of issues related to nfs (rpc.statd not running)
> > While having another machine with same setup and nfs working I excluded the possibility of being related to some mostly discussed bugs
> > I noticed that portmap and rpc.statd are simply not starting, because the start-stop-daemon program was an empty shells script
> > unfortunately the version reported here was overwritten by dpkg --reinstall install dpkg, but I hope in this way that other people having 
> > similar issues with daemons not starting properly will solve it easily.
> 
> This would be an issue with whatever Live USB/CD software you are using.
> If that's one of the packaged solutions in Debian, then we can reassign
> the bug report there, otherwise there's not much that can be done, except
> that you'd need to file such bug report on the project producing those
> Live images.

Thanks,
Guillem
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#714710; Package live-installer. (Fri, 19 Jul 2013 03:51:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to David Starner <prosfilaes@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Fri, 19 Jul 2013 03:51:04 GMT) Full text and rfc822 format available.

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

From: David Starner <prosfilaes@gmail.com>
To: 714710@bugs.debian.org
Subject: No start-stop-script at all
Date: Thu, 18 Jul 2013 20:49:58 -0700
I've just built my own Live-CD with live-config and live-build, and
unlike this bug report, /sbin/start-stop-script doesn't exist at all.

--
Kie ekzistas vivo, ekzistas espero.



Information forwarded to debian-bugs-dist@lists.debian.org, Debian Install System Team <debian-boot@lists.debian.org>:
Bug#714710; Package live-installer. (Mon, 22 Jul 2013 00:21:04 GMT) Full text and rfc822 format available.

Acknowledgement sent to Edwin Fukunaga <efukunag@gmail.com>:
Extra info received and forwarded to list. Copy sent to Debian Install System Team <debian-boot@lists.debian.org>. (Mon, 22 Jul 2013 00:21:04 GMT) Full text and rfc822 format available.

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

From: Edwin Fukunaga <efukunag@gmail.com>
To: Emanoil Kotsev <deloptes@yahoo.com>
Cc: Guillem Jover <guillem@debian.org>, "714710@bugs.debian.org" <714710@bugs.debian.org>, "live-images@packages.debian.org" <live-images@packages.debian.org>, David Starner <prosfilaes@gmail.com>
Subject: Re: Bug#714710: dpkg: when installed from live usb/cd /sbin/start-stop-daemon is empty shell script
Date: Mon, 22 Jul 2013 00:18:51 +0000
It looks like the usb-hdd images also have this issue.  If I boot with
the image from

     http://live.debian.net/cdimage/release/6.0.7/amd64/usb-hdd/debian-live-6.0.7-amd64-gnome-desktop.img

then /sbin/start-stop-daemon is again empty:

     $ cat /sbin/start-stop-daemon
     #!/bin/sh

     exit 0
     $

@Emanoil: It looks like there is no .deb file for dpkg included in the
netboot or usb-hdd images.  I get no output from  find | grep dpkg ,
and the pool/main/d directory doesn't have a dpkg subdirectory.
Actually, maybe the /sbin/start-stop-daemon is being changed by
live-build, because it is the same in the image as it is after booting
(using  unsquashfs -lls filesystem.squashfs /sbin/start-stop-daemon ).

By the way, the iso-hybrid image does not seem to have this issue, at
least the gnome-desktop one from

    http://live.debian.net/cdimage/release/6.0.7/amd64/iso-hybrid/debian-live-6.0.7-amd64-gnome-desktop.iso


Thanks,
Edwin



On Sun, Jul 7, 2013 at 11:44 PM, Emanoil Kotsev <deloptes@yahoo.com> wrote:
> Hi
> thanks Edwin for reporting the details on your side.
> This is exactly what I have experienced in my case and spent about 4-5h
> looking for an issue with nfs and why it is not mounting remote dir, why
> portmap was not running etc.
> I did check the current 7.x installer debian-7.1.0-amd64-netinst.iso but it
> looks ok there in the dpkg package.
> In debian-testing-amd64-businesscard.iso there is no dpkg package.
> I need to check the backup disks and usb of installation and the notes to
> find out what I have used for setting up the machine but no time left
> unfortunately. I think the machine was installed in Feb or Jan this year.
>
> @Edwin: Can you check if the included dpkg package has this inside
> /sbin/start-stop-daemon in binary, basically I'm wondering if there is a
> script somewhere which overwrites something in /sbin, which would be
> dangerous
> I mount -o loop debian....iso and then  find | grep dpkg followed by mkdir
> tmp && dpkg -x dpkg...deb tmp
>
> regards
> ________________________________
> From: Guillem Jover <guillem@debian.org>
> To: deloptes <deloptes@yahoo.com>; 714710@bugs.debian.org
> Cc: live-images@packages.debian.org
> Sent: Tuesday, July 2, 2013 11:42 AM
> Subject: Re: Bug#714710: dpkg: when installed from live usb/cd
> /sbin/start-stop-daemon is empty shell script
>
> Control: reassign -1 live-images
>
> Hi!
>
> [ I got confirmation off-list this is with official Live images, but
>   feel free to re-reassign as I don't really know what the culprit is. ]
>
> On Tue, 2013-07-02 at 08:29:19 +0200, Guillem Jover wrote:
>> On Tue, 2013-07-02 at 02:33:36 +0200, deloptes wrote:
>> > Package: dpkg
>> > Version: 1.15.8.13
>> > Severity: important
>> >
>> > When installed from live usb/cd /sbin/start-stop-daemon is empty shell
>> > script
>> > This results in strange behaviour of start/stop services like nfs
>> >
>> > I read a whole bunch of issues related to nfs (rpc.statd not running)
>> > While having another machine with same setup and nfs working I excluded
>> > the possibility of being related to some mostly discussed bugs
>> > I noticed that portmap and rpc.statd are simply not starting, because
>> > the start-stop-daemon program was an empty shells script
>> > unfortunately the version reported here was overwritten by dpkg
>> > --reinstall install dpkg, but I hope in this way that other people having
>> > similar issues with daemons not starting properly will solve it easily.
>>
>> This would be an issue with whatever Live USB/CD software you are using.
>> If that's one of the packaged solutions in Debian, then we can reassign
>> the bug report there, otherwise there's not much that can be done, except
>> that you'd need to file such bug report on the project producing those
>> Live images.
>
> Thanks,
> Guillem
>
>



Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Mon Apr 21 07:33:06 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.