[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2011-02-01 Thread Launchpad Bug Tracker
** Branch linked: lp:~davewalker/ubuntu/lucid/logrotate/lp387189 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/387189 Title: logrotate incorrectly rotates /dev/null to /dev/null.1 -- ubuntu-bugs m

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2011-01-31 Thread Brian Murray
** Changed in: logrotate (Ubuntu) Assignee: (unassigned) => Canonical Server Team (canonical-server) -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/387189 Title: /dev/null corrupted (/dev/null.1

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2011-01-30 Thread Jonathan Marsden
OK. Do we have a test case for which my patch fails? If the remaining issue is that my patch contains a closing '}', that is easily "solved", because the {} around the variable name are only there for style reasons, and are not required. Here is a modified patch without the {} . Is there a test

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2011-01-30 Thread Stefan Fritsch
This is a logrotate issue and happens if the specified logfile directory (in this case /var/log/apache2) does not exist and the postrotate script contains a closing '}'. Therefore I don't think Jonathan's patch would fix the issue completely. The full info is at http://bugs.debian.org/cgi- bin/bug

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2011-01-30 Thread Brian Murray
** Tags added: patch -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/387189 Title: /dev/null corrupted (/dev/null.1) -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2011-01-29 Thread Jonathan Marsden
It seems to me a patch to /etc/logrotate.d/apache2 is the simplest solution. The attached diff tries to solve the issue and also be more readable, breaking the one complex line involving backticks into three shorter simpler lines, no backticks needed. There are a lot of cases to test this with,

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2011-01-29 Thread Dave Gilbert
Based on comments #24 and #25 it looks like this is an Apache issue, so I've added apache2 - apache2 maintainers please have a look because it's got quite an impact. Dave ** Also affects: apache2 (Ubuntu) Importance: Undecided Status: New -- You received this bug notification because

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2011-01-29 Thread Paul Tagliamonte
Marking High status. This breaks software that is unrelated to it's self. libc will fail if this is not a character block device, and even can deny remote login ( such as on servers, in some cases ). This is an important issue to address. ** Changed in: logrotate (Ubuntu) Importance: Undecided

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-08-09 Thread Andi Hechtbauer
The problem is within /etc/logrotate.d/apache2 - when /etc/apache2/envvars does not exist: # logrotate -d /etc/logrotate.conf: [...] error: apache2:11 lines must begin with a keyword or a filename (possibly in double quotes) error: apache2:12 missing end of line reading config info for /etc/init

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-08-09 Thread Andi Hechtbauer
I think I tracked this down to a syntax thinko in /etc/logrotate.d/apache2 (installed by apache2.2-common), when /etc/apache2/envvars doesn't exist - which can happen easily, e.g., when you do not really need apache2 but only something from the -common package: logrotate -d /etc/logrotate.conf 2>&

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-08-07 Thread pberndt
Architecture: i386 DistroRelease: Ubuntu 10.04 NonfreeKernelModules: nvidia Package: logrotate 3.7.8-4ubuntu2 PackageArchitecture: i386 ProcVersionSignature: Ubuntu 2.6.32-24.39-generic 2.6.32.15+drm33.5 Tags: lucid Uname: Linux 2.6.32-24-generic i686 UserGroups: adm admin audio cdrom dialout fuse

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-08-07 Thread Fabio Marconi
when the reported files are attached you can mark as confirmed. -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ub

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-08-07 Thread Fabio Marconi
Hello pberndt Can you please run in a terminal: apport-collect -p logrotate 387189 -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list u

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-08-07 Thread pberndt
** Package changed: ubuntu => logrotate (Ubuntu) -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https:

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-08-07 Thread Fabio Marconi
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-08-06 Thread pberndt
I'm pretty sure this bug is related to logrotate. When Mészáros Balázs suggested that it might be, I disabled logrotate on both my systems and did not have any problems ever since. -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification becau

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-08-06 Thread Fabio Marconi
Thank you for taking the time to report this bug and helping to make Ubuntu better. Please answer these questions: * Is this reproducible? * If so, what specific steps should we take to recreate this bug? This will help us to find and resolve the problem. ** Changed in: ubuntu Status: New

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-08-06 Thread Fabio Marconi
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bugs

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-07-31 Thread Fabio Marconi
** Changed in: ubuntu Status: New => Incomplete ** Changed in: ubuntu Status: Incomplete => New -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. --

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-05-23 Thread Mészáros Balázs
Same bug under Lucid. I had started to audit /dev/null and recognized that logrotate simply rotated it. The output of ausearch -i -f /dev/null is included. It was a character device and became a regular file. I've checked every logrotate rules, but I can't guess why it happend. I will continue de

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-01-10 Thread solarw
same bug /dev/null - is ordinal file /dev/null.1 - is original /dev/null device file same problem to unlock gnome-screensaver without /dev/null fix -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2010-01-04 Thread H.-Dirk Schmitt
atop isn't the reason I have currently 5 installations (2 fresh karmic installations) with this problem. -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubu

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-12-20 Thread H.-Dirk Schmitt
The problem still occurs 2 machines fuser -av /dev/null shows always atop in the process list -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-11-06 Thread H.-Dirk Schmitt
Can't confirm. I'm not using syslog-ng. The problem occurs also under karmic with rsyslogd on a netbook. -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubun

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-11-05 Thread zK
I think it might be related to syslog-ng, i removed it 5 days ago and still no sign of the bug -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs ma

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-11-01 Thread zK
Happens also to me every 2-3 days. Upgrading to Karmic 9.10 didn't resolve the issue . -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing l

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-11-01 Thread H.-Dirk Schmitt
Problem occurred again. The output of fuser -av /dev/null* is attached. ** Attachment added: "fuser -av /dev/null*" http://launchpadlibrarian.net/34844990/null -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a mem

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-10-29 Thread H.-Dirk Schmitt
The process/package moving the file isn't determined in the moment. ** Changed in: ubuntu Status: Incomplete => New -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-10-29 Thread H.-Dirk Schmitt
The problem is not depending on a reboot. After some time the /dev/null device is moved to /dev/null.1 and a new **file** is created for /dev/null. This triggers https://bugs.launchpad.net/ubuntu/+source/pam/+bug/270781, if the screensaver locks the screen. Some "older" processes still using the

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-10-08 Thread Scott James Remnant
I'm marking the udev task as invalid, because this is not a udev bug. Something else on the system is overwriting /dev/null (removing the device node udev creates), and obviously is also creating those .1, .2, etc. files This will be quite difficult to debug, you'll need to first establish whethe

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-10-07 Thread Kamus
Thank you for taking the time to report this bug and helping to make Ubuntu better. This bug did not have a package associated with it, which is important for ensuring that it gets looked at by the proper developers. You can learn more about finding the right package at https://wiki.ubuntu.com/Bug

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-08-19 Thread H.-Dirk Schmitt
** Changed in: ubuntu Status: New => Confirmed -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com h

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-08-17 Thread Sabin Iacob
same here on a laptop that I rarely reboot (I just suspend to ram); after a while, /dev/null is replaced with a blank file, and /dev/null.1 appears; if /dev/null.1 exists, /dev/null.2 is created and so on -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received thi

[Bug 387189] Re: /dev/null corrupted (/dev/null.1)

2009-07-01 Thread H.-Dirk Schmitt
Second desktop shows the problem (also 9.04/amd-64) after being hibernated 4 or 5 times. -- /dev/null corrupted (/dev/null.1) https://bugs.launchpad.net/bugs/387189 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing