Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 294515 - app-admin/syslog-ng-3.0.3+ refuses to write to files not owned by root
Summary: app-admin/syslog-ng-3.0.3+ refuses to write to files not owned by root
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Mr. Bones. (RETIRED)
URL: http://bugs.archlinux.org/task/15787
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-25 04:31 UTC by ta2002
Modified: 2011-05-07 23:48 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description ta2002 2009-11-25 04:31:34 UTC
Daemon running as root, but my messages file is filled with:

Nov 25 04:00:01 system syslog-ng[3037]: Error opening file for writing; filename='/var/log/cron', error='Permission denied (13)'

This started after the recent upgrade to 3.0.4 (problem does not exist in older versions).

More information here:

https://bugzilla.balabit.com/show_bug.cgi?id=42

It seems that a patch (workaround) for this does exist.
Comment 1 Mr. Bones. (RETIRED) gentoo-dev 2009-12-22 04:04:16 UTC
Still a problem with 3.0.5?
Comment 2 ta2002 2009-12-25 02:42:27 UTC
(In reply to comment #1)
> Still a problem with 3.0.5?
> 

Yes.

Dec 25 02:33:31 system syslog-ng[2214]: Error opening file for writing; filename='/var/log/cron', error='Permission denied (13)'

$ ls -al /var/log/cron
-rw-r-----  1 cron    cron          0 2009-12-23 03:10:01 cron
Comment 3 Mr. Bones. (RETIRED) gentoo-dev 2011-01-19 17:39:20 UTC
3.0.3 is not in the tree anymore.  If there's still some issue with 3.2.2 file a new bug please.
Comment 4 ta2002 2011-01-21 03:33:10 UTC
Problem still exists in current stable (app-admin/syslog-ng-3.1.3).

Jan 21 03:20:01 system syslog-ng[2107]: Error opening file for writing; filename='/var/log/cron', error='Permission denied (13)'
Jan 21 03:20:01 system syslog-ng[2107]: Error opening file for writing; filename='/var/log/cron', error='Permission denied (13)'
Jan 21 03:30:01 system syslog-ng[2107]: Error opening file for writing; filename='/var/log/cron', error='Permission denied (13)'
Jan 21 03:30:01 system syslog-ng[2107]: Error opening file for writing; filename='/var/log/cron', error='Permission denied (13)'
Comment 5 Mr. Bones. (RETIRED) gentoo-dev 2011-01-21 06:12:19 UTC
I said 3.2.2
Comment 6 Mr. Bones. (RETIRED) gentoo-dev 2011-05-07 23:48:31 UTC
reference to obsolete version of syslog-ng.  closing.