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

Bug#654872: marked as done (busybox dd should ignore SIGUSR1)

Your message dated Fri, 6 Jan 2012 09:45:33 -0800
with message-id <20120106174533.GA26594@leaf>
and subject line Re: Bug#654872: busybox dd should ignore SIGUSR1
has caused the Debian Bug report #654872,
regarding busybox dd should ignore SIGUSR1
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org

654872: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=654872
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: busybox
Version: 1:1.19.3-5
Severity: normal

dd from coreutils responds to SIGUSR1 by displaying its progress to the
terminal.  While I certainly understand the omission of this feature
from busybox dd for space, busybox dd currently has no handling for
SIGUSR1 at all, and thus when it receives SIGUSR1 it terminates.  Please
consider ignoring SIGUSR1 for compatibility with coreutils dd.

- Josh Triplett

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

Kernel: Linux 3.1.0-1-amd64 (SMP w/4 CPU cores)
Locale: LANG=C.UTF-8, LC_CTYPE=C.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages busybox depends on:
ii  libc6  2.13-24

busybox recommends no packages.

busybox suggests no packages.

-- no debconf information

--- End Message ---
--- Begin Message ---
On Fri, Jan 06, 2012 at 09:12:35PM +0530, harish badrinath wrote:
> > SIGUSR1 at all, and thus when it receives SIGUSR1 it terminates.  Please
> > consider ignoring SIGUSR1 for compatibility with coreutils dd.
> It does not on terminate on my system.

Huh.  I'd previously tested with dd from the Debian installer not long
ago, and I found that using sending SIGUSR1 caused dd to terminate
rather than printing progress.  However, retesting it with current
busybox dd on my main system (by running it as "busybox dd" explicitly),
it appears to produce status and not terminate dd.

I investigated further, and it looks like dd has an option for this,
CONFIG_FEATURE_DD_SIGNAL_HANDLING.  With that set to n, dd will
terminate on -USR1.  I'd guess that at some point in the past the
busybox udeb had this turned off.  It looks like both the deb and the
udev now have that feature turned on.

Closing this bug.

- Josh Triplett

--- End Message ---

Reply to: