Your message dated Sat, 23 May 2009 23:49:33 +0200
with message-id <[email protected]>
and subject line Re: Bug#381203: makedev: udev presence check is wrong
has caused the Debian Bug report #381203,
regarding makedev: udev presence check is wrong
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
381203: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=381203
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: makedev
Version: 2.3.1-82
Hello,
since a while makedev checks for udev presence before it does anything.
Unfortunately it does also detect udev when there is surely no udev
currently present on the system:
r...@darkside:~# uname -a
Linux darkside 2.4.27 #1 Thu Dec 22 21:52:46 CET 2005 i686 GNU/Linux
r...@darkside:~# ps -ef | grep udev
root 9107 2584 0 21:21 tty1 00:00:00 grep udev
r...@darkside:~# cd /dev && /sbin/MAKEDEV raw1394
.udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
As you can see, I'm currently running a 2.4 kernel, which quite surely
has no udev running. This is also proven by the second command :)
Nowadays, makedev refuses to run because there exists a /dev/.udev
directory. However, this directory is created by the udev preinst script
and is thus always there on a Debian system with udev package installed.
Perhaps a better probe would be to check if /dev is mounted to a tmpfs or
something like that. Perhaps there is also some udev tool to check it's
presence, I don't know.
Btw: It's also not a good idea to rely on ps -ef | grep udev because
the udev package sometimes starts some udev daemon process on upgrades
(for whatever reason) even if the system is not udev-compliant at all.
regards
Mario
--
It is a capital mistake to theorize before one has data.
Insensibly one begins to twist facts to suit theories instead of theories
to suit facts. -- Sherlock Holmes by Arthur Conan Doyle
signature.asc
Description: Digital signature
--- End Message ---
--- Begin Message ---
On Aug 02, Mario 'BitKoenig' Holbe <[email protected]> wrote:
> Nowadays, makedev refuses to run because there exists a /dev/.udev
> directory. However, this directory is created by the udev preinst script
> and is thus always there on a Debian system with udev package installed.
udev does not do this anymore.
> Btw: It's also not a good idea to rely on ps -ef | grep udev because
> the udev package sometimes starts some udev daemon process on upgrades
> (for whatever reason) even if the system is not udev-compliant at all.
And this neither.
--
ciao,
Marco
signature.asc
Description: Digital signature
--- End Message ---