[pkg-fetchmail-maint] Bug#447061: strace run wouldn't work

Klaus Ethgen Klaus at Ethgen.de
Wed Oct 17 19:42:57 UTC 2007


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Package: fetchmail
Version: 6.3.6-1etch1
Severity: normal
Tags: patch

When running fetchmail with "/etc/init.d/fetchmail debug-run strace -e
open -o /tmp/trace" fetchmail will not start as su need to interprete
the switches.

The Reason is the use of $@ instead of $*. (This is normal the best
solution but not in this case as it breaks the quoting.)

This will patch it:
208c208
< 			su -c "/usr/bin/strace -tt $@ $DAEMON $OPTIONS --nosyslog --nodetach -v -v" $USER <&- 2>&1
- ---
> 			su -c "/usr/bin/strace -tt $* $DAEMON $OPTIONS --nosyslog --nodetach -v -v" $USER <&- 2>&1

- -- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (800, 'stable'), (700, 'testing'), (600, 'unstable'), (500, 'oldstable'), (60, 'experimental')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/dash
Kernel: Linux 2.4.34
Locale: LANG=de_DE, LC_CTYPE=de_DE (charmap=ISO-8859-1) (ignored: LC_ALL set to de_DE)

Versions of packages fetchmail depends on:
ii  adduser                3.102             Add and remove users and groups
ii  debianutils            2.17              Miscellaneous utilities specific t
ii  libc6                  2.3.6.ds1-13etch2 GNU C Library: Shared libraries
ii  libssl0.9.8            0.9.8c-4etch1     SSL shared libraries
ii  lsb-base               3.1-23.2etch1     Linux Standard Base 3.1 init scrip

Versions of packages fetchmail recommends:
ii  ca-certificates               20070303   Common CA Certificates PEM files

- -- no debconf information

- -- 
Klaus Ethgen                            http://www.ethgen.de/
pub  2048R/D1A4EDE5 2000-02-26 Klaus Ethgen <Klaus at Ethgen.de>
Fingerprint: D7 67 71 C4 99 A6 D4 FE  EA 40 30 57 3C 88 26 2B
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)

iQEVAwUBRxZlwZ+OKpjRpO3lAQJ6Mwf+IfDJU7L/k2sJRNVAf8dAMJz6kUK5g6rK
14QGddIPZLvS4QhkJOJRVvLWA92IRquncNPpMJ3cAjCYqgOuGf+HJUd21gEXNt46
sCmy3WvjhJY6SwRbZAN+8lyGGgy0X7s312CpalpTFyXHt482aOziD1OW5RFHV7xM
lRqiqUBT3Zra1ZUFgCYNH0nyLWSzM5umxezOnYEfB3H0tHkdbpHjAAMu4Tx7Lf2I
4r/THCzDxYkEw48lPZ5xCXFNn7xby103jTHvfd1DW5Lg/R05mXY3fJnvzjGsCMiJ
kmZrtk/LJSmGJYcbKXqWXnHrPWkDUr2Sroz1ZIIIJ4tfs2Op2SXMKg==
=VgLj
-----END PGP SIGNATURE-----





More information about the pkg-fetchmail-maint mailing list