Package: krb5-user Version: 1.10.1+dfsg-5+deb7u3 Severity: wishlist Dear Maintainer,
The manpage for ksu(1) contains the following: -D turn on debug mode. This naively leads one to expect that passing -D to ksu enables debugging. Unfortunately, it only does so if ksu was compiled with -DDEBUG - not the Debian default. To make matters worse, if it has not been compiled with that flag, it instead throws a usage message: % ksu -D Usage: ksu [target user] [-n principal] [-c source cachename] [-k] [-D] [-r time] [-pf] [-l lifetime] [-zZ] [-q] [-e command [args... ] ] [-a [args... ] ] Note, however, that it doesn't say that '-D' is an invalid option (indeed, it lists it in the usage) - compare the output with, for example, 'ksu -X': % ksu -X ksu: invalid option -- 'X' Usage: ksu [target user] [-n principal] [-c source cachename] [-k] [-D] [-r time] [-pf] [-l lifetime] [-zZ] [-q] [-e command [args... ] ] [-a [args... ] ] This can lead to confusion, and it takes reading the source to verify why it is not working as expected. It would be nice if the manpage made it clear that -D was only available if compiled with the debug option. It would also be good if ksu could throw the 'invalid option' message and not list -D if it hasn't been compiled with debugging enabled. Many thanks, Michael -- System Information: Debian Release: 7.9 APT prefers oldstable-updates APT policy: (500, 'oldstable-updates'), (500, 'oldoldstable'), (500, 'oldstable') Architecture: amd64 (x86_64) Foreign Architectures: i386 Kernel: Linux 3.2.0-4-amd64 (SMP w/4 CPU cores) Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8) Shell: /bin/sh linked to /bin/dash Versions of packages krb5-user depends on: ii krb5-config 2.3 ii libc6 2.13-38+deb7u8 ii libcomerr2 1.42.5-1.1+deb7u1 ii libgssapi-krb5-2 1.10.1+dfsg-5+deb7u3 ii libgssrpc4 1.10.1+dfsg-5+deb7u3 ii libk5crypto3 1.10.1+dfsg-5+deb7u3 ii libkadm5clnt-mit8 1.10.1+dfsg-5+deb7u3 ii libkadm5srv-mit8 1.10.1+dfsg-5+deb7u3 ii libkdb5-6 1.10.1+dfsg-5+deb7u3 ii libkeyutils1 1.5.5-3+deb7u1 ii libkrb5-3 1.10.1+dfsg-5+deb7u3 ii libkrb5support0 1.10.1+dfsg-5+deb7u3 ii libss2 1.42.5-1.1+deb7u1 krb5-user recommends no packages. krb5-user suggests no packages. -- no debconf information