From mboxrd@z Thu Jan 1 00:00:00 1970 X-Spam-Checker-Version: SpamAssassin 4.0.0 (2022-12-14) on finch.gentoo.org X-Spam-Level: X-Spam-Status: No, score=0.5 required=5.0 tests=DATE_IN_PAST_06_12,DMARC_NONE, INVALID_DATE,MAILING_LIST_MULTI,NICE_REPLY_A,PLING_QUERY autolearn=no autolearn_force=no version=4.0.0 Received: from femail13.sdc1.sfba.home.com ([24.0.95.140]) by cvs.gentoo.org with esmtp (Exim 3.30 #1) id 15L11g-0005TH-00 for gentoo-dev@cvs.gentoo.org; Fri, 13 Jul 2001 05:22:28 -0600 Received: from k68pc2.home.com ([24.255.149.198]) by femail13.sdc1.sfba.home.com (InterMail vM.4.01.03.20 201-229-121-120-20010223) with SMTP id <20010713112128.XOEQ22895.femail13.sdc1.sfba.home.com@k68pc2.home.com> for ; Fri, 13 Jul 2001 04:21:28 -0700 From: Collins Richey To: gentoo-dev@cvs.gentoo.org Subject: Re: [Re: [gentoo-dev] Devfs permissions ?! [was:Permissions to dial out ?]] Message-Id: <20010713053201.7f552cd5.erichey2@home.com> In-Reply-To: <20010713102907.4598.qmail@aw161.netaddress.usa.net> References: <20010713102907.4598.qmail@aw161.netaddress.usa.net> X-Mailer: Sylpheed version 0.4.99 (GTK+ 1.2.10; i486-pc-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: gentoo-dev-admin@cvs.gentoo.org Errors-To: gentoo-dev-admin@cvs.gentoo.org X-BeenThere: gentoo-dev@cvs.gentoo.org X-Mailman-Version: 2.0 Precedence: bulk Reply-To: gentoo-dev@cvs.gentoo.org List-Help: List-Post: List-Subscribe: , List-Id: Gentoo Linux development list List-Unsubscribe: , List-Archive: Date: Fri Jul 13 05:23:01 2001 X-Original-Date: Fri, 13 Jul 2001 05:32:01 +0000 X-Archives-Salt: 0e14840e-3ffe-406a-9748-2d3a2df8fcba X-Archives-Hash: d7d95aadeb443e105542934f29ee057d On 13 Jul 2001 11:29:07 BST Viktor Lakics wrote: > Thanks, Daniel, > > I added the appropriate permissions to devfsd.conf and now it works, the > perms > are stored (or regenerated accordingly). > > What is the storing system are you referring to? If I disable the > "Automatically mount devfs at kernel boot" option, then I do not have > the > devfs at all, so I went back to the old file based system. Is this > correct? > > Viktor > > > Daniel Robbins wrote: > > Gentoo Linux 1.0_rc5 contains a system to store permissions, but in > > order for it to work, you must *not* enable the "Automatically mount > > devfs at kernel boot" option. If you fix your kernel so that this > > option is disabled, then your perms should get stored. This bug will > > be fixed in 1.0_rc6. > > > > > On Wed, Jul 11, 2001 at 09:24:42PM +0100, Viktor Lakics wrote: > > > Jerry, > > > > > > I tried chmod 666 /dev/ttyS0, and suddenly everything worked. I was > > > able to dial out as a normal user. I was happy. Then I rebooted and > > > the problem came back. The permissions changed back to what it was. > > > It seems to be that they are automatically generated at boot time. > > > > > > Now what? > > > > > > I know nothing about devfs, but I now that I have this thing mounted > > > automatically (I guess is built in the kernel - I do nor have to > > > pass anything to grub). Is it possible that I have to set the > > > permissions somehow through this devfs?! > > Jerry, Once you disable "Automatically mount devfs at kernel boot", you need to enter the command 'rc-update add devfsd' to add the appropriate symlink to your /etc/rc.d/rc0.d directory. This will cause Gentoo to enable devfs at the appropriate time during bootup. Note that the generated devfs system you get will be partially dependant on kernel modules that you have loaded. For example, I have sound modules loaded and the /dev/sound/* entries retain their permissions properly from boot to boot. -- Collins Richey Denver Area Gentoo_rc5 XFCE