Gentoo Archives: gentoo-user

From: David Relson <relson@×××××××××××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] trouble starting bash
Date: Sat, 06 Feb 2010 23:30:28
Message-Id: 20100206182927.4dabf1a3@osage.osagesoftware.com
In Reply to: Re: [gentoo-user] trouble starting bash by Willie Wong
1 On Sat, 6 Feb 2010 17:27:14 -0500
2 Willie Wong wrote:
3
4 > On Sat, Feb 06, 2010 at 04:08:58PM -0500, David Relson wrote:
5 > > The output of "ls /dev/pt*" is suspiciously short:
6 > >
7 > > root@osage / # ls /dev/pts
8 > > /dev/ptmx
9 > >
10 > > /dev/pts:
11 >
12 > That's it? There's nothing under /dev/pts? And you have terminals
13 > running in X?
14 >
15 > > > On Sat, Feb 06, 2010 at 08:33:44AM -0500, David Relson wrote:
16 > > > > This morning, all of the sudden, I'm encountering process
17 > > > > creation problems. The problems seem to affect only bash.
18 > > > > There are no problems starting X applications like firefox and
19 > > > > open office.
20 > > >
21 > > > Also, can you log-in on a vc? If you are in X, hit ctrl-alt-f2
22 > > > and try to log into the console?
23 > >
24 > > Works fine ...
25 > >
26 > > Looking at "ls -l /dev/vc*" I see timestamps of "2010-02-02
27 > > 23:34". At 23:31 that day,
28 > >
29 > > openrc was upgraded from 0.3.0-r1 to 0.6.0-r1.
30 > > sysvinit was upgraded from 2.86-r10 to 2.87-r
31 >
32 > This is possibly a problem. I am guessing that if you issue 'mount',
33 > devpts is not mounted. The mounting of that pseudo filesystem is
34 > relegated to /etc/init.d/devfs, which belongs to openrc.
35 >
36 > What is the output of 'rc-status sysinit'?
37
38 Hi Willie,
39
40 Your replies are much appreciated as we're in an area of Linux about
41 which I'm poorly informed.
42
43 Output (below) of "rc-status sysinit" indicated devfs stopped, so I
44 started devfs (which didn't change /dev/pt*), then restarted udev
45 (which didn't affect /dev/pt*).
46
47 Regards,
48
49 David
50
51 ### output follows ###
52
53
54 root@osage portage # rc-status sysinit
55 Runlevel: sysinit
56 dmesg [ stopped ]
57 udev [ started ]
58 devfs [ stopped ]
59
60 root@osage portage # service devfs status
61 * status: started
62
63 root@osage portage # rc-status sysinit
64 Runlevel: sysinit
65 dmesg [ stopped ]
66 udev [ started ]
67 devfs [ started ]
68
69 root@osage portage # ls /dev/pt*
70 /dev/ptmx
71
72 /dev/pts:
73
74 root@osage portage # service udev restart
75 * WARNING: you are stopping a sysinit service
76 * Stopping udevd ... [ ok ]
77 * Starting udevd ... [ ok ]
78 * Populating /dev with existing devices through uevents ... [ ok ]
79 * Waiting for uevents to be processed ... [ ok ]
80
81 root@osage portage # ls /dev/pt*
82 /dev/ptmx
83
84 /dev/pts:
85 root@osage portage #

Replies

Subject Author
Re: [gentoo-user] trouble starting bash Willie Wong <wwong@××××××××××××××.EDU>