On Sat, Feb 17, 2007 at 06:07:28PM +0100, Thomas Fazekas wrote:
> I'm having the following weird /dev/null problem in both etch and
> sarge installed
> on XEN machines. Namely the /dev/ull permissions look like crw-rw----.
> AFAIK udev is not installed (I'm not sure how to check that...)
> As a matter of fact I have the same behaviour with /dev/urandom...
  I'm pretty sure that udev is a requirement for running Xen .. so
 you should have it installed.  Check if it is running by executing
 this command:
  ps -ef | grep udev
  If it is you'll see something like:
  skx@lappy:~$ ps -ef | grep udev
  root      1063     1  0 13:13 ?        00:00:00 udevd --daemon
  skx       5145  5120  0 17:24 pts/1    00:00:00 grep udev
  (The first line "udevd --daemon" shows it is there.)
  You can see if the package is installed by running "dpkg --list udev".
 (The first column should show "ii" if it is installed.)
  If it is running, and installed, then look at the file
  /etc/udev/permissions.rules for me this contains the following:
  KERNEL=="null",                       MODE="0666"
  Here 666 is the permission for the /dev/null device, rather than
 the 660 you appear to have.  Change it to match and restart it with
 "/etc/init.d/udev restart"
Steve
--
Debian GNU/Linux System Administration
http://www.debian-administration.org/
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.6 (GNU/Linux)
iD8DBQFF1zsnwM/Gs81MDZ0RAiReAJ90qcAaSBm42MoK1xnjm1WhqV2pqwCghAwG
2tnxh/5G1ikCf7k5FI3/BFc=
=GSN9
-----END PGP SIGNATURE-----