Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 92958 - permissions of /dev/ files wrong
Summary: permissions of /dev/ files wrong
Status: RESOLVED DUPLICATE of bug 92199
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: x86 Other
: Highest major (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-05-17 11:15 UTC by Timo Nentwig
Modified: 2005-05-19 12:02 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Timo Nentwig 2005-05-17 11:15:05 UTC
Hi!

I updated (emerge -u world) kdelibs3 an May 10 [1]. After doing so I had two problems:

1) after a login (kdm) neither kde nor xfce4 would startup. This is because a process xrdb (xorg) does run in an endless loop. It tries to access /dev/null (Permission denied).

2) xterm does not startup for the same reason: permission denied for /dev/urandom, /dev/tty* and /dev/pty*.

[1]

[0m Tue May 10 20:20:52 2005 >>> [1;32m dev-perl/DateManip-5.42a-r1 
 [0m Tue May 10 20:21:08 2005 >>> [1;32m app-portage/genlop-0.30.2 
 [0m Tue May 10 20:39:25 2005 >>> [1;32m sys-kernel/gentoo-sources-2.6.11-r8 
 [0m Tue May 10 20:41:08 2005 >>> [1;32m media-libs/tiff-3.7.2 
 [0m Tue May 10 20:41:40 2005 >>> [1;32m media-libs/libexif-0.5.12-r3 
 [0m Tue May 10 20:58:29 2005 >>> [1;32m media-gfx/gimp-2.2.6-r1 
 [0m Tue May 10 21:48:28 2005 >>> [1;32m kde-base/kdelibs-3.4.0-r2 
 [0m Tue May 10 21:51:48 2005 >>> [1;32m app-portage/kuroo-0.60.0 
 [0m Tue May 10 21:56:07 2005 >>> [1;32m media-sound/xmms-1.2.10-r14 
 [0m Tue May 10 22:03:49 2005 >>> [1;32m media-video/mplayer-1.0_pre7
Comment 1 Jeffrey Forman (RETIRED) gentoo-dev 2005-05-17 11:20:03 UTC
As stated in the Bugzilla product description:
Bugs regarding the Gentoo Bugzilla website  (bugs.gentoo.org),
Bugs related to ebuilds belong in 'Gentoo Linux'

This is NOT a bugs.gentoo.org issue. Reassigning
Comment 2 Carsten Lohrke (RETIRED) gentoo-dev 2005-05-17 11:55:51 UTC
I noticed something going wild on my /var/* permissions, sidestepping the
sandbox, but failed to track it down or even give it an exact date. The
following ebuilds

     Tue May 10 01:51:22 2005 >>> media-video/mplayer-1.0_pre7
     Tue May 10 11:53:39 2005 >>> media-libs/libexif-0.5.12-r3
     Tue May 10 19:39:49 2005 >>> media-gfx/gimp-2.2.6-r1
     Tue May 10 21:59:18 2005 >>> media-libs/tiff-3.7.2

match with yours, but

     Mon May  9 15:02:24 2005 >>> net-www/webapp-config-1.10-r14

would be a "good" candidate.
Comment 3 Timo Nentwig 2005-05-17 13:03:31 UTC
gentoo-sources-2.6.11-r8 looks like a good candidate to me. 
 
BTW /usr/src/linux was still pointing to the r6 directory (which was not 
removed [I did it manually]). 
Comment 4 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-18 06:05:01 UTC
timo -- what version of baselayout?  if you had 1.11.12, please upgrade
immediately to 1.11.12-r1
Comment 5 Seemant Kulleen (RETIRED) gentoo-dev 2005-05-18 08:33:04 UTC
reopen if this is still an issue.
Comment 6 Timo Nentwig 2005-05-18 12:15:13 UTC
I still have baselayout 1.9.4-r6 (latest stable according to emerge -u...). 
 
I updated to kernel 2.6.11-r9 today but still have the same problem. 
Comment 7 Carsten Lohrke (RETIRED) gentoo-dev 2005-05-19 04:17:11 UTC
>BTW /usr/src/linux was still pointing to the r6 directory

The kernel sources just get installed in /usr/src/. Not more not less. You have
to set the 'symlink' use flag, otherwise Gentoo doesn't change it. This is not
kde related and I doubt it has something to do with the kernel.
Comment 8 SpanKY gentoo-dev 2005-05-19 05:53:39 UTC
do you use udev ?  if so, what version do you have ?

what are the perms of the files ?  run `ls -l /dev/null /dev/urandom`
Comment 9 Timo Nentwig 2005-05-19 10:49:14 UTC
Yes, sys-fs/udev-056. 
 
/dev/null and /dev/urandom are both crw-rw---- (same applies to /dev/tty* 
and /dev/pty*) 
Comment 10 SpanKY gentoo-dev 2005-05-19 12:02:11 UTC

*** This bug has been marked as a duplicate of 92199 ***