Rotated /dev/null
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
logrotate (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: logrotate
This morning I started getting the following error:
sh: cannot create /dev/null: Permission denied
I then ran ls -al /dev/null*
-rw-r--r-- 1 root root 49 2010-08-13 10:56 /dev/null
crw-rw-rw- 1 root root 1, 3 2010-08-09 15:49 /dev/null.1
Looked to me like /dev/null had been rotated. So I looked at logrotate's status file and "/dev/null" and "/etc/init.
cat /var/lib/
logrotate state -- version 2
"fi" 2010-5-25
"/dev/null" 2010-8-12
"/etc/init.
"}" 2010-5-25
"endscript" 2010-5-25
">" 2010-5-25
"reload" 2010-5-25
dpkg --list | grep apache2
rc apache2.2-common 2.2.14-5ubuntu8 Apache HTTP Server common files
/etc/logrotate.
/var/log/
weekly
missingok
rotate 52
compress
delaycompress
notifempty
create 640 root adm
sharedscripts
postrotate
if [ -f "`. /etc/apache2/
/
fi
endscript
}
*added additional info
Thank you for taking the time to report this bug and helping to make Ubuntu better. Unfortunately, we cannot work on this bug because your description didn't include enough information. You may find it helpful to read "How to report bugs effectively" http:// www.chiark. greenend. org.uk/ ~sgtatham/ bugs.html. We'd be grateful if you would then provide a more complete description of the problem.
We have instructions on debugging some types of problems at http:// wiki.ubuntu. com/DebuggingPr ocedures
At a minimum, we need:
1. the specific steps or actions you took that caused you to encounter the problem,
2. the behavior you expected, and
3. the behavior you actually encountered (in as much detail as possible).
Thanks!