I struggled with this problem for a few days. I noted that when I
created a new user the problem did not manifest itself. However,
when I restored the data for my users from Fedora 15, I did a total
install, the problem wouldn't go away. After much pondering I
determined that it had to be something involved with selinux. I
installed the package policycoreutils-gui (SElinux Management),
clicked on the box forcing the system to be relabeled, and the
problem disappeared. On 10/08/2011 08:00 AM, test-request@xxxxxxxxxxxxxxxxxxxxxxx wrote: Send test mailing list submissions to test@xxxxxxxxxxxxxxxxxxxxxxx To subscribe or unsubscribe via the World Wide Web, visit https://admin.fedoraproject.org/mailman/listinfo/test or, via email, send a message with subject or body 'help' to test-request@xxxxxxxxxxxxxxxxxxxxxxx You can reach the person managing the list at test-owner@xxxxxxxxxxxxxxxxxxxxxxx When replying, please edit your Subject line so it is more specific than "Re: Contents of test digest..." Today's Topics: 1. logrotate syslog systemd = doesn't work (Lucas) ---------------------------------------------------------------------- Message: 1 Date: Sat, 08 Oct 2011 15:11:32 +0400 From: Lucas <macachuto@xxxxxxxxx> Subject: logrotate syslog systemd = doesn't work To: test@xxxxxxxxxxxxxxxxxxxxxxx Message-ID: <4E902FE4.6060307@xxxxxxxxx> Content-Type: text/plain; charset=UTF-8; format=flowed Dear All. Fedora 16 Beta, fully updated. I checked it: logrotate -v -d /etc/logrotate.d/syslog Output: reading config file /etc/logrotate.d/syslog Handling 1 logs rotating pattern: /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron 1048576 bytes (no old logs will be kept) empty log files are rotated, old logs are removed considering log /var/log/messages log needs rotating considering log /var/log/secure log does not need rotating considering log /var/log/maillog log does not need rotating considering log /var/log/spooler log does not need rotating considering log /var/log/boot.log log does not need rotating considering log /var/log/cron log does not need rotating rotating log /var/log/messages, log->rotateCount is 0 dateext suffix '-20111008' glob pattern '-[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9]' renaming /var/log/messages.1 to /var/log/messages.2 (rotatecount 1, logstart 1, i 1), renaming /var/log/messages.0 to /var/log/messages.1 (rotatecount 1, logstart 1, i 0), fscreate context set to system_u:object_r:var_log_t:s0 renaming /var/log/messages to /var/log/messages.1 disposeName will be /var/log/messages.1 running postrotate script running script with arg /var/log/messages /var/log/secure /var/log/maillog /var/log/spooler /var/log/boot.log /var/log/cron : " /bin/kill -HUP `cat /var/run/syslogd.pid 2> /dev/null` 2> /dev/null || true " removing old log /var/log/messages.1 error: error opening /var/log/messages.1: No such file or directory Nothing happened to "messages" - this file was not renamed. 2. "ps -ef | grep log" gives me root 2672 1 0 14:58 ? 00:00:00 /sbin/rsyslogd -n -c 5 But from man page: -c version. ...It must always be the first option on the command line.... -n Avoid auto-backgrounding. This is needed especially if the rsyslogd is started and controlled by init(8) What does mean "5" at the end? Actually logrotate doesn't work, although its output looks promising. Any suggestions. Thanks. ------------------------------ -- test mailing list test@xxxxxxxxxxxxxxxxxxxxxxx https://admin.fedoraproject.org/mailman/listinfo/test End of test Digest, Vol 92, Issue 36 ************************************ --
Nothing is Permanent In this Wicked World, Not Even Our Troubles. Charlie Chaplin |
-- test mailing list test@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe: https://admin.fedoraproject.org/mailman/listinfo/test