Package: dpkg
Version: 1.13.16
Severity: normal

Hi,

this is an strace of
$ start-stop-daemon --stop --pidfile /var/run/exim4/exim.pid --oknodo --retry 
30 --verbose --exec /usr/sbin/exim4

stat64("/usr/sbin/exim4", {st_mode=S_IFREG|S_ISUID|0755, st_size=680428, ...}) 
= 0
open("/var/run/exim4/exim.pid", O_RDONLY|O_LARGEFILE) = 3
fstat64(3, {st_mode=S_IFREG|0644, st_size=6, ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f82000
read(3, "29186\n", 4096)                = 6
readlink("/proc/29186/exe", "/mnt/usr/usr/sbi", 16) = 16
close(3)                                = 0
munmap(0xb7f82000, 4096)                = 0
fstat64(1, {st_mode=S_IFCHR|0600, st_rdev=makedev(136, 3), ...}) = 0
mmap2(NULL, 4096, PROT_READ|PROT_WRITE, MAP_PRIVATE|MAP_ANONYMOUS, -1, 0) = 
0xb7f82000
write(1, "No /usr/sbin/exim4 found running"..., 47No /usr/sbin/exim4 found 
running; none killed. ) = 47
munmap(0xb7f82000, 4096)                = 0
exit_group(0)                           = ?
$ pstree -apl 29186
exim4,29186 -bd -q30m

I suspect that start-stop-daemon doesn't consider
/mnt/usr/usr/sbin/exim4 identical to /usr/sbin/exim4 (/usr is a
symlink here) and thus refrains from signalling the daemon.

This is a bug, and start-stop-daemon should correctly handle this
situation.

Greetings
Marc

-- System Information:
Debian Release: testing/unstable
  APT prefers unstable
  APT policy: (500, 'unstable'), (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.15.4-zgsrv
Locale: LANG=C, LC_CTYPE=de_DE (charmap=ISO-8859-1)

Versions of packages dpkg depends on:
ii  coreutils [textutils]         5.93-5     The GNU core utilities
ii  libc6                         2.3.6-2    GNU C Library: Shared libraries an

dpkg recommends no packages.

-- no debconf information


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to