Gentoo Archives: gentoo-dev

From: Collins Richey <erichey2@××××.com>
To: gentoo-dev@××××××××××.org
Subject: Re: [Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]]
Date: Fri, 13 Jul 2001 05:22:28
Message-Id: 20010713053201.7f552cd5.erichey2@home.com
In Reply to: Re: [Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]] by Viktor Lakics
1 On 13 Jul 2001 11:29:07 BST Viktor Lakics <lakicsv@×××.net> wrote:
2
3 > Thanks, Daniel,
4 >
5 > I added the appropriate permissions to devfsd.conf and now it works, the
6 > perms
7 > are stored (or regenerated accordingly).
8 >
9 > What is the storing system are you referring to? If I disable the
10 > "Automatically mount devfs at kernel boot" option, then I do not have
11 > the
12 > devfs at all, so I went back to the old file based system. Is this
13 > correct?
14 >
15 > Viktor
16 >
17 >
18 > Daniel Robbins <drobbins@g.o> wrote:
19 > > Gentoo Linux 1.0_rc5 contains a system to store permissions, but in
20 > > order for it to work, you must *not* enable the "Automatically mount
21 > > devfs at kernel boot" option. If you fix your kernel so that this
22 > > option is disabled, then your perms should get stored. This bug will
23 > > be fixed in 1.0_rc6.
24 > >
25 >
26 > > On Wed, Jul 11, 2001 at 09:24:42PM +0100, Viktor Lakics wrote:
27 > > > Jerry,
28 > > >
29 > > > I tried chmod 666 /dev/ttyS0, and suddenly everything worked. I was
30 > > > able to dial out as a normal user. I was happy. Then I rebooted and
31 > > > the problem came back. The permissions changed back to what it was.
32 > > > It seems to be that they are automatically generated at boot time.
33 > > >
34 > > > Now what?
35 > > >
36 > > > I know nothing about devfs, but I now that I have this thing mounted
37 > > > automatically (I guess is built in the kernel - I do nor have to
38 > > > pass anything to grub). Is it possible that I have to set the
39 > > > permissions somehow through this devfs?!
40 > >
41
42 Jerry,
43
44 Once you disable "Automatically mount devfs at kernel boot", you need to
45 enter the command 'rc-update add devfsd' to add the appropriate symlink to
46 your /etc/rc.d/rc0.d directory. This will cause Gentoo to enable devfs at
47 the appropriate time during bootup.
48
49 Note that the generated devfs system you get will be partially dependant
50 on kernel modules that you have loaded. For example, I have sound modules
51 loaded and the /dev/sound/* entries retain their permissions properly from
52 boot to boot.
53
54 --
55 Collins Richey
56 Denver Area
57 Gentoo_rc5 XFCE