Gentoo Archives: gentoo-user

From: Norman Invasion <invasivenorman@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] Implicit udev dependancy in Gentoo? and workaround.
Date: Sun, 06 Jan 2013 19:35:30
Message-Id: CAJoTvCspEJPVfzOF2cfwMCuN6x3giyD_1LESFomspVDYmDwNaA@mail.gmail.com
In Reply to: [gentoo-user] Implicit udev dependancy in Gentoo? and workaround. by Walter Dnes
1 On 24 December 2012 22:21, Walter Dnes <waltdnes@××××××××.org> wrote:
2 > I'm asking questions here before filing a bug/reature-request, to make
3 > sure I have my ducks in a row. I did a big update a couple of days ago.
4 > As per the user in... http://forums.gentoo.org/viewtopic-p-7168984.html
5 > I too ran into a situation where I couldn't open any xterms because
6 > /dev/pts was empty. The solution for that user came in 2 parts...
7 >
8 > 1) Add the following line to /etc/fstab
9 > devpts /dev/pts devpts defaults 0 0
10 >
11 > 2) Run "rc-update add udev-mount sysinit" oops... what udev-mount? I'm
12 > the troublemaker/malcontent who runs mdev instead of udev.
13 >
14 > I noticed that the temporary solution would be to manually execute
15 > "mount devpts". The problem was that it would only last till the next
16 > reboot, after which the mount needed to be issued again. I got around
17 > that by putting "mount devpts" in /etc/local.d/000.start (which file
18 > must be executable). It is executed every bootup, solving the problem.
19 > My questions...
20 >
21 > 1) Is this just my system, or has anybody else with mdev run into it?
22 > If others have the same problem, I'll update the mdev wiki page to
23 > mention this.
24
25 I run mdev here, but haven't run into the problem you're describing.
26 I don't have an /etc/fstab entry for /dev/pts, so I'm not entirely sure
27 where it's starting, but it's definitely here.
28 $ mount | grep pts
29 devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
30 $ ls -l /dev/pts/
31 total 0
32 crw--w---- 1 misternono tty 136, 0 Jan 6 14:27 0
33 crw--w---- 1 misternono tty 136, 1 Jan 6 13:48 1
34 crw--w---- 1 misternono tty 136, 2 Jan 6 13:32 2
35 crw--w---- 1 misternono tty 136, 3 Jan 6 14:27 3
36
37 Unless it's started by mdev via "rc-update add mdev sysinit".
38 I'm just fartin' around with linux, though, so if you need any
39 other information, let me know.
40 Linux hostname 3.7.1-gentoo #1 SMP Tue Dec 18 16:49:02 EST 2012 i686
41 Intel(R) Atom(TM) CPU N280
42 @ 1.66GHz GenuineIntel GNU/Linux
43 # rc-update show
44 acpid | default
45 alsasound | boot
46 bootmisc | boot
47 consolefont | boot default
48 dbus | default
49 devfs | sysinit
50 dmesg | sysinit
51 fsck | boot
52 hostname | boot
53 hwclock | boot
54 keymaps | boot
55 killprocs | shutdown
56 laptop_mode | default
57 local | default
58 localmount | boot
59 mdev | sysinit
60 microcode_ctl | default
61 modules | boot
62 mount-ro | shutdown
63 mtab | boot
64 net.eth0 | default
65 net.lo | boot
66 net.wlan0 | default
67 netmount | default
68 ntpd | default
69 procfs | boot
70 root | boot
71 rpcbind | default
72 savecache | shutdown
73 sshd | default
74 swap | boot
75 swapfiles | boot
76 sysctl | boot
77 sysfs | sysinit
78 sysklogd | default
79 termencoding | boot
80 tmpfiles.setup | boot
81 urandom | boot
82 vixie-cron | default