Hi,
Recently I've discovered a strange thing... some rule/program or whatever changing the access rights of /dev/null to
crw-------. 1 root root 1, 3 May 20 11:57 /dev/null
and some of the part of Fedora does not like it :)
After I change back to 666, everything is fine again, however after boot I have again the "wrong" permission
is this a bug or feature? :) What can cause this? After google the problem, I can find some very old bug, so maybe it is back again
Any idea?
Thx L:
Pal, Laszlo (private) wrote:
Recently I've discovered a strange thing... some rule/program or whatever changing the access rights of /dev/null to
crw-------. 1 root root 1, 3 May 20 11:57 /dev/null
and some of the part of Fedora does not like it:)
After I change back to 666, everything is fine again, however after boot I have again the "wrong" permission
is this a bug or feature?:) What can cause this? After google the problem, I can find some very old bug, so maybe it is back again
Any idea?
That is not normal.
You could setup an auditctl rule to watch /dev/null for permission changes. There is a manpage (and exhaustive support on Google) for auditctl.
Yeah, I've created audit rules according to this, so let's see after next reboot...
Thx for help L:
On Tue 20 May 2014 08:13:44 PM CEST, Michael Cronenworth wrote:
Pal, Laszlo (private) wrote:
Recently I've discovered a strange thing... some rule/program or whatever changing the access rights of /dev/null to
crw-------. 1 root root 1, 3 May 20 11:57 /dev/null
and some of the part of Fedora does not like it:)
After I change back to 666, everything is fine again, however after boot I have again the "wrong" permission
is this a bug or feature?:) What can cause this? After google the problem, I can find some very old bug, so maybe it is back again
Any idea?
That is not normal.
You could setup an auditctl rule to watch /dev/null for permission changes. There is a manpage (and exhaustive support on Google) for auditctl.
Hi,
It seems this event triggered by starting a virtual machine (virsh start fedora20). This command changes /dev/null permission to a wrong one... is this some configuration issue or should I fill a bug?
Thx L:
On 05/20/2014 08:13 PM, Michael Cronenworth wrote:
Pal, Laszlo (private) wrote:
Recently I've discovered a strange thing... some rule/program or whatever changing the access rights of /dev/null to
crw-------. 1 root root 1, 3 May 20 11:57 /dev/null
and some of the part of Fedora does not like it:)
After I change back to 666, everything is fine again, however after boot I have again the "wrong" permission
is this a bug or feature?:) What can cause this? After google the problem, I can find some very old bug, so maybe it is back again
Any idea?
That is not normal.
You could setup an auditctl rule to watch /dev/null for permission changes. There is a manpage (and exhaustive support on Google) for auditctl.
On 05/23/2014 10:22 AM, Pal, Laszlo (private) wrote:
It seems this event triggered by starting a virtual machine (virsh start fedora20). This command changes /dev/null permission to a wrong one... is this some configuration issue or should I fill a bug?
You should contact the libvirt list or go ahead and file a bug.