Bug#462601: lintian: su-wrapper-not-su-to-root doesn't catch all the desktop files using non su-to-root wrappers
Package: lintian
Version: 1.23.42
Hello,
After running an archive-wide lintian check I've noticed some packages aren't
being detected by the newly introduced su-wrapper-not-su-to-root check/tag.
A simple way to detect some of the missing ones is by checking the list of
reports[1] I've filled before this check was implemented.
An example is adept-installer:
$ dpkg-query -W --showformat='${Version}\n' adept-installer
2.1.3+b2
$ grep kdesu $(dpkg -L adept-installer)
/usr/share/applications/kde/adept_installer.desktop:Exec=kdesu adept_installer
Binary file /usr/bin/adept_installer matches
$ cat /usr/share/applications/kde/adept_installer.desktop |
egrep -v "^(Comment|Name)"
[Desktop Entry]
Encoding=UTF-8
Exec=kdesu adept_installer
TryExec=adept_installer
Categories=Qt;KDE;Core;
Icon=adept_installer
Type=Application
X-KDE-SubstituteUID=true
Terminal=false
$ dget adept-installer=2.1.3+b2
dget: retrieving
http://ftp.us.debian.org/debian/pool/main/a/adept/adept-installer_2.1.3+b2_i386.deb
% Total % Received % Xferd Average Speed Time Time Time
Current
Dload Upload Total Spent Left Speed
100 630k 100 630k 0 0 7076k 0 --:--:-- --:--:-- --:--:-- 14.3M
$ lintian --version
Lintian v1.23.42
$ lintian -I adept-installer_2.1.3+b2_i386.deb
W: adept-installer: binary-without-manpage usr/bin/adept_installer
I: adept-installer:
desktop-entry-contains-encoding-key /usr/share/applications/kde/adept_installer.desktop:2
Encoding
W: adept-installer:
desktop-entry-lacks-main-category /usr/share/applications/kde/adept_installer.desktop
[1]http://bugs.debian.org/cgi-bin/pkgreport.cgi?tag=su-to-root;users=atomo64@gmail.com
Kind regards,
--
Atomo64 - Raphael
Please avoid sending me Word, PowerPoint or Excel attachments.
See http://www.gnu.org/philosophy/no-word-attachments.html
Reply to: