Marc Sherman
2005-Mar-31 14:54 UTC
[Logcheck-devel] Bug#302379: dh_installlogcheck installs files as root:root 644, not root:logcheck 640
Package: logcheck Version: 1.2.35 Severity: normal I reported a bug on a couple clamav packages (302253, 302254) which noted that in Sarge, logcheck files are supposed to be root:logcheck 640, not root:root 644. The clamav maintainer replied that he's using dh_installlogcheck to install them, so presumably that dh_ app should be changed to fix the permission. Is this the case? Is there a canonical policy for logcheck file permissions in sarge? If so, is dh_installlogcheck the right place to fix it? I'm not sure if logcheck or debhelper is the right package for this bug. If it's the latter, please reassign it. - Marc -- System Information: Debian Release: 3.1 APT prefers testing APT policy: (900, 'testing'), (300, 'unstable') Architecture: i386 (i686) Kernel: Linux 2.6.8-2-k7 Locale: LANG=en_CA, LC_CTYPE=en_CA (charmap=ISO-8859-1) Versions of packages logcheck depends on: ii adduser 3.63 Add and remove users and groups ii cron 3.0pl1-86 management of regular background p ii debconf [debconf 1.4.30.11 Debian configuration management sy ii debianutils 2.8.4 Miscellaneous utilities specific t ii exim4 4.50-4 metapackage to ease exim MTA (v4) ii exim4-daemon-hea 4.50-4 exim MTA (v4) daemon with extended ii lockfile-progs 0.1.10 Programs for locking and unlocking ii logcheck-databas 1.2.35 A database of system log rules for ii logtail 1.2.35 Print log file lines that have not ii mailx 1:8.1.2-0.20040524cvs-4 A simple mail user agent ii sysklogd [system 1.4.1-16 System Logging Daemon -- debconf information: logcheck/changes: * logcheck/install-note:
Todd Troxell
2005-Mar-31 18:49 UTC
Bug#302379: [Logcheck-devel] Bug#302379: dh_installlogcheck installs files as root:root 644, not root:logcheck 640
On Thu, Mar 31, 2005 at 09:54:34AM -0500, Marc Sherman wrote:> Package: logcheck > Version: 1.2.35 > Severity: normal > > I reported a bug on a couple clamav packages (302253, 302254) which > noted that in Sarge, logcheck files are supposed to be root:logcheck > 640, not root:root 644. The clamav maintainer replied that he's using > dh_installlogcheck to install them, so presumably that dh_ app should be > changed to fix the permission. > > Is this the case? Is there a canonical policy for logcheck file > permissions in sarge? If so, is dh_installlogcheck the right place to > fix it? > > I'm not sure if logcheck or debhelper is the right package for this bug. > If it's the latter, please reassign it.The deal with this is that we can't use gid logcheck in dh_installlogcheck because the logcheck user doesn't exist until logcheck gets installed. It is annoying, but I've not come up with a solution to this yet. Suggestions? -- [ Todd J. Troxell ,''`. Student, Debian GNU/Linux Developer, SysAdmin, Geek : :' : http://debian.org || http://rapidpacket.com/~xtat `. `' `- ] -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 189 bytes Desc: Digital signature Url : http://lists.alioth.debian.org/pipermail/logcheck-devel/attachments/20050331/742f2d2b/attachment.pgp
Frédéric Brière
2009-Aug-24 12:36 UTC
[Logcheck-devel] Bug#302379: dh_installlogcheck installs files as root:root 644, not root:logcheck 640
On Thu, Mar 31, 2005 at 09:54:34AM -0500, Marc Sherman wrote:> I reported a bug on a couple clamav packages (302253, 302254) which > noted that in Sarge, logcheck files are supposed to be root:logcheck > 640, not root:root 644. The clamav maintainer replied that he's usingI should note that while the /etc/logcheck/* directories are setgid to attempt to fix this discrepancy, this doesn't work, as dpkg will chown() the installed files anyway. I guess there should be a note in README.Maintainer to instruct people not to install those files as 640, as tempting as it may be. -- ...[Linux's] capacity to talk via any medium except smoke signals. -- Dr. Greg Wettstein, Roger Maris Cancer Center