[Logcheck-devel] Problem running logcheck: permissions?
Todd Troxell
ttroxell at debian.org
Fri Jun 25 07:27:51 UTC 2004
Thanks, Ross. This is an interesting problem.
Yes, this file should look like:
-rw-r--r-- 1 root logcheck 1931 2004-06-10 04:20
/etc/logcheck/logcheck.conf
We set permissions conditionally on upgrade from anything less than 1.2.19,
so I'm a bit confused as to how it didn't get changed. I don't think
refusing the new config matters so much, becuase we chgrp -R everything in
/etc/logcheck in postinst. -- Perhaps I'm wrong.
Do you happen to know what version you were running previously?
Thanks,
-Todd
On Wed, Jun 23, 2004 at 02:13:19PM -0700, Ross Boylan wrote:
> I'm letting you know about this problem just in case it is a bug. I
> don't think it is, so I didn't want to file a bug.
>
> After installing logcheck and editing the logcheck.conf file, I got the
> following error emailed to me:
> /usr/sbin/logcheck: line 421: /etc/logcheck/logcheck.conf: Permission
> denied
> mail: You must specify direct recipients with -s, -c, or -b
> (I guess conceivably that's two separate problems).
>
> Here's what I think the problem was, and the solution:
>
> iron:~# ls -l /etc/logcheck/logcheck.conf
> -r--r----- 1 root root 1936 Jun 23 13:36
> /etc/logcheck/logcheck.conf
> iron:~# chown logcheck:logcheck !$
> chown logcheck:logcheck /etc/logcheck/logcheck.conf
> iron:~# ls -l /etc/logcheck/logcheck.conf
> -r--r----- 1 logcheck logcheck 1936 Jun 23 13:36
> /etc/logcheck/logcheck.conf
>
> I think you meant to make the file owned by logcheck, but I screwed it
> up because of the following sequence:
> Said no to accepting the new logcheck.conf.
> My old file was under rcs.
> As root, merged in changes from logcheck.conf.dpkg.new and deleted the
> latter.
>
> In other words, I think the problem was just from this slightly off-beat
> use of version control. But I thought I'd let you know.
>
--
[ 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/20040625/990a7609/attachment.pgp
More information about the Logcheck-devel
mailing list