Re: initdefault has no effect

2009-04-13 Thread Mike Burger
> Mike Burger wrote: > >> Ubuntu (the distro in which I believe upstart to have been started) has >> done away with the inittab, altogether, in favor of another script in >> their /etc/events.d (their equivalent of Fedora's /etc/event.d) >> directory >> that determines default runlevel. Maybe Fed

Re: initdefault has no effect

2009-04-13 Thread Tim
On Sun, 2009-04-12 at 15:30 -0700, Jonathan Ryshpan wrote: > (1) What am I trying to do? > Install the proprietary nvidia drivers for my video card. Nvidia > advises that the X Window System be stopped during installation. This > can be done in either runlevel 1 or 3. Level 3 is better, but sinc

Re: initdefault has no effect

2009-04-12 Thread Jonathan Ryshpan
On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: > I have /etc/inittab set up as follows, but the system always starts with > the X Window System running. What am I missing? > ... > # Default runlevel. The runlevels used are: > # 0 - halt (Do NOT set initdefault to this) > # 1 - Sing

Re: initdefault has no effect

2009-04-10 Thread g
Kevin Kofler wrote: > Just Ubuntu. ok. just wanted to be clear and sure something was not wrong with my f10 install. :) -- peace out. tc,hago. g . in a free world without fences, who needs gates. ** help microsoft stamp out piracy - give linux to a friend today ** to mess up a linux bo

Re: initdefault has no effect

2009-04-10 Thread g
Aaron Konstam wrote: > Well it exists in F9 at least. Are you saying it is not used? existence and usage are 2 different things. what i said is that in version of f10 that i have installed, i changed from level 5 to level 3 via inittab. -- peace out. tc,hago. g . in a free world with

Re: initdefault has no effect

2009-04-10 Thread Kevin Kofler
Aaron Konstam wrote: > Well it exists in F9 at least. Are you saying it is not used? It's used for event scripts. But the default runlevel is set in /etc/inittab, not in a script in /etc/event.d, whereas Ubuntu does the latter. To be more precise, Fedora's /etc/event.d/rcS script reads the runleve

Re: initdefault has no effect

2009-04-10 Thread Aaron Konstam
On Fri, 2009-04-10 at 01:50 +0200, Kevin Kofler wrote: > g wrote: > > this is interesting and brings a question, are you saying that ubuntu and > > fedora use /etc/event.d/ instead of inittab or just ubuntu? > > Just Ubuntu. > > Kevin Kofler > Well it exists in F9 at least. Are you sayin

Re: initdefault has no effect

2009-04-09 Thread Kevin Kofler
g wrote: > this is interesting and brings a question, are you saying that ubuntu and > fedora use /etc/event.d/ instead of inittab or just ubuntu? Just Ubuntu. Kevin Kofler -- fedora-list mailing list fedora-list@redhat.com To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-

Re: initdefault has no effect

2009-04-09 Thread g
Mike Burger wrote: > Ubuntu (the distro in which I believe upstart to have been started) has > done away with the inittab, altogether, in favor of another script in > their /etc/events.d (their equivalent of Fedora's /etc/event.d) directory > that determines default runlevel. Maybe Fedora needs t

Re: initdefault has no effect

2009-04-07 Thread Sharpe, Sam J
2009/4/7 D. Hugh Redelmeier : > | From: "Sharpe, Sam J" > > | runlevel=$(/bin/awk -F ':' '($3 == "initdefault") && ($1 !~ /(#|;)/) { > print $2 }' /etc/inittab) > > Probably you meant ($1 !~ /^(#|;)/) Actually I didn't - hence my comment: > I've assumed that # and ; are comments and aren't allo

Re: initdefault has no effect

2009-04-07 Thread Robert Nichols
Craig White wrote: On Tue, 2009-04-07 at 12:30 +0800, Ed Greshko wrote: Mike Burger wrote: Ed Greshko wrote: Hummm Bad news I had to test this and have in the intttab file # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # ; id:5:initdefault: id:3:initdefault: A

Re: initdefault has no effect

2009-04-07 Thread Kevin Kofler
Mike Burger wrote: > Fair enough, if that is to be the end product...but if you want to test > something, and don't want to litter the system with dozens of backup > inittab files and the like, commenting a line is quicker than fully > editing it in and out. I don't understand this at all. It's a

Re: initdefault has no effect

2009-04-07 Thread D. Hugh Redelmeier
| From: "Sharpe, Sam J" | runlevel=$(/bin/awk -F ':' '($3 == "initdefault") && ($1 !~ /(#|;)/) { print $2 }' /etc/inittab) Probably you meant ($1 !~ /^(#|;)/) Simpler, I think: runlevel=`/bin/awk -F ':' '/^[^#;]/ && ($3 == "initdefault") { print $2 }' /etc/inittab` -- fedora-list mailing

Re: initdefault has no effect

2009-04-07 Thread Mike Burger
> Mike Burger wrote: >> >> Again...within inittab, the # character is not a comment delimiter...the >> ; >> character is. >> >> Because the # was used, the first default line was matched, therefore >> processing to determine the default runlevel stopped at the first >> match...the line with the 5

Re: initdefault has no effect

2009-04-07 Thread Mikkel L. Ellertson
Mike Burger wrote: > > Again...within inittab, the # character is not a comment delimiter...the ; > character is. > > Because the # was used, the first default line was matched, therefore > processing to determine the default runlevel stopped at the first > match...the line with the 5 in it. > >

Re: initdefault has no effect

2009-04-07 Thread Sharpe, Sam J
Sharpe, Sam J wrote: Mike Burger wrote: Tom Horsley wrote: On Tue, 7 Apr 2009 06:42:36 -0400 (EDT) Mike Burger wrote: I'm still doing some digging. I thought there was a thread on this very topic in a previous release, but I can't find it (maybe it was in fedora-list rather than fedo

Re: initdefault has no effect

2009-04-07 Thread Tom Horsley
On Tue, 07 Apr 2009 08:21:54 -0400 Mike Burger wrote: > However, I pop in and out of this list, given the level of traffic and > my availability to monitor and try to answer questions (when I *think* > that I'm actually capable of answering them), based on workload and > travel, so it may be po

Re: initdefault has no effect

2009-04-07 Thread Sharpe, Sam J
Mike Burger wrote: Tom Horsley wrote: On Tue, 7 Apr 2009 06:42:36 -0400 (EDT) Mike Burger wrote: I'm still doing some digging. I thought there was a thread on this very topic in a previous release, but I can't find it (maybe it was in fedora-list rather than fedora-test-list), anyway

Re: initdefault has no effect

2009-04-07 Thread Craig White
On Tue, 2009-04-07 at 12:30 +0800, Ed Greshko wrote: > Mike Burger wrote: > >> Ed Greshko wrote: > >> > >>> Hummm Bad news > >>> > >>> I had to test this and have in the intttab file > >>> > >>> # 5 - X11 > >>> # 6 - reboot (Do NOT set initdefault to this) > >>> # > >>> ; id:5

Re: initdefault has no effect

2009-04-07 Thread Mike Burger
Tom Horsley wrote: On Tue, 7 Apr 2009 06:42:36 -0400 (EDT) Mike Burger wrote: I'm still doing some digging. I thought there was a thread on this very topic in a previous release, but I can't find it (maybe it was in fedora-list rather than fedora-test-list), anyway it is a very old bu

Re: initdefault has no effect

2009-04-07 Thread Tom Horsley
On Tue, 7 Apr 2009 06:42:36 -0400 (EDT) Mike Burger wrote: > I'm still doing some digging. I thought there was a thread on this very topic in a previous release, but I can't find it (maybe it was in fedora-list rather than fedora-test-list), anyway it is a very old bug I'm surprised is still arou

Re: initdefault has no effect

2009-04-07 Thread Mike Burger
>> Mike Burger wrote: Ed Greshko wrote: > Hummm Bad news > > I had to test this and have in the intttab file > > # 5 - X11 > # 6 - reboot (Do NOT set initdefault to this) > # > ; id:5:initdefault: > id:3:initdefault: > > And th

Re: initdefault has no effect

2009-04-07 Thread Mike Burger
> Mike Burger wrote: >>> Ed Greshko wrote: >>> Hummm Bad news I had to test this and have in the intttab file # 5 - X11 # 6 - reboot (Do NOT set initdefault to this) # ; id:5:initdefault: id:3:initdefault: And the system still

Re: initdefault has no effect

2009-04-06 Thread Ed Greshko
Mike Burger wrote: >> Ed Greshko wrote: >> >>> Ed Greshko wrote: >>> >>> Mike Burger wrote: > Mike Burger wrote: > > > >> Tim wrote: >> >> >> >>> On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan

Re: initdefault has no effect

2009-04-06 Thread Ed Greshko
Mike Burger wrote: >> Ed Greshko wrote: >> >>> Hummm Bad news >>> >>> I had to test this and have in the intttab file >>> >>> # 5 - X11 >>> # 6 - reboot (Do NOT set initdefault to this) >>> # >>> ; id:5:initdefault: >>> id:3:initdefault: >>> >>> And the system still comes up i

Re: initdefault has no effect

2009-04-06 Thread Mike Burger
> Ed Greshko wrote: >> Ed Greshko wrote: >> >>> Mike Burger wrote: >>> >>> Mike Burger wrote: > Tim wrote: > > >> On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: >> >> >> >>> I have /etc/inittab set up as follows, but the system always star

Re: initdefault has no effect

2009-04-06 Thread Mike Burger
> Ed Greshko wrote: > > Never mind. I see what you are saying after all I forgot for > the moment that the original id line was left in the modified file > Duh... And, of course, I replied before seeing this. Sorry. -- Mike Burger http://www.bubbanfriends.org Visit the Dog Pound

Re: initdefault has no effect

2009-04-06 Thread Mike Burger
> Ed Greshko wrote: >> Hummm Bad news >> >> I had to test this and have in the intttab file >> >> # 5 - X11 >> # 6 - reboot (Do NOT set initdefault to this) >> # >> ; id:5:initdefault: >> id:3:initdefault: >> >> And the system still comes up in run level 5. > > There is probably n

Re: initdefault has no effect

2009-04-06 Thread Mike Burger
> Mike Burger wrote: >> Mike Burger wrote: >>> Tim wrote: On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: > I have /etc/inittab set up as follows, but the system always starts > with the X Window System running. What am I missing? > > # id:5:initdefa

Re: initdefault has no effect

2009-04-06 Thread Kevin Kofler
Ed Greshko wrote: > Hummm Bad news > > I had to test this and have in the intttab file > > # 5 - X11 > # 6 - reboot (Do NOT set initdefault to this) > # > ; id:5:initdefault: > id:3:initdefault: > > And the system still comes up in run level 5. There is probably no comment sign

Re: initdefault has no effect

2009-04-06 Thread Ed Greshko
Ed Greshko wrote: > Ed Greshko wrote: > >> Mike Burger wrote: >> >> >>> Mike Burger wrote: >>> >>> Tim wrote: > On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: > > > >> I have /etc/inittab set

Re: initdefault has no effect

2009-04-06 Thread Ed Greshko
Ed Greshko wrote: > Mike Burger wrote: > >> Mike Burger wrote: >> >>> Tim wrote: >>> On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: > I have /etc/inittab set up as follows, but the system always starts > with the X Window System running.

Re: initdefault has no effect

2009-04-06 Thread Ed Greshko
Mike Burger wrote: > Mike Burger wrote: >> Tim wrote: >>> On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: >>> I have /etc/inittab set up as follows, but the system always starts with the X Window System running. What am I missing? >>> >>> # id:5:initdefault:

Re: initdefault has no effect

2009-04-06 Thread Mike Burger
Mike Burger wrote: Tim wrote: On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: I have /etc/inittab set up as follows, but the system always starts with the X Window System running. What am I missing? # id:5:initdefault: id:1:initdefault: I seem to recall seeing tha

Re: initdefault has no effect

2009-04-06 Thread Mike Burger
Tim wrote: On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: I have /etc/inittab set up as follows, but the system always starts with the X Window System running. What am I missing? # id:5:initdefault: id:1:initdefault: I seem to recall seeing that before, delete t

Re: initdefault has no effect

2009-04-06 Thread Aaron Konstam
On Sun, 2009-04-05 at 23:15 -0700, Jonathan Ryshpan wrote: > On Mon, 2009-04-06 at 11:23 +0530, Shakthi Kannan wrote: > > --- On Mon, Apr 6, 2009 at 11:12 AM, Jonathan Ryshpan > > wrote: > > | I have /etc/inittab set up as follows, but the system always starts > > with > > | the X Window System ru

Re: initdefault has no effect

2009-04-06 Thread Mikkel L. Ellertson
Jonathan Ryshpan wrote: > > I have (of course) tried that too. Runlevel 1 should have the same > effect as 3, only more so. > > jon > > No really. You lose a lot of security. You also lose networking. What are you trying to do that you want to start in run level 1? Mikkel -- Remember, someti

Re: initdefault has no effect

2009-04-06 Thread Tim
Shakthi Kannan: >> Use id:3:default: >> http://www.fedorafaq.org/basics/#textonly Jonathan Ryshpan: > I have (of course) tried that too. Runlevel 1 should have the same > effect as 3, only more so. I'd agree with using 3 as a text-only default, rather than 1. Single mode has less security - you

Re: initdefault has no effect

2009-04-05 Thread Jonathan Ryshpan
On Sun, 2009-04-05 at 23:13 -0700, Jonathan Ryshpan wrote: > On Mon, 2009-04-06 at 15:23 +0930, Tim wrote: > > On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: > > > I have /etc/inittab set up as follows, but the system always starts > > > with the X Window System running. What am I miss

Re: initdefault has no effect

2009-04-05 Thread Jonathan Ryshpan
On Mon, 2009-04-06 at 11:23 +0530, Shakthi Kannan wrote: > --- On Mon, Apr 6, 2009 at 11:12 AM, Jonathan Ryshpan > wrote: > | I have /etc/inittab set up as follows, but the system always starts > with > | the X Window System running. What am I missing? > | > | id:1:initdefault: > \-- > > Use id:

Re: initdefault has no effect

2009-04-05 Thread Jonathan Ryshpan
On Mon, 2009-04-06 at 15:23 +0930, Tim wrote: > On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: > > I have /etc/inittab set up as follows, but the system always starts > > with the X Window System running. What am I missing? > > > # id:5:initdefault: > > id:1:initdefault: > > I seem t

Re: initdefault has no effect

2009-04-05 Thread Shakthi Kannan
Hi, --- On Mon, Apr 6, 2009 at 11:12 AM, Jonathan Ryshpan wrote: | I have /etc/inittab set up as follows, but the system always starts with | the X Window System running.  What am I missing? | | id:1:initdefault: \-- Use id:3:default: http://www.fedorafaq.org/basics/#textonly SK -- Shakthi Ka

Re: initdefault has no effect

2009-04-05 Thread Tim
On Sun, 2009-04-05 at 22:42 -0700, Jonathan Ryshpan wrote: > I have /etc/inittab set up as follows, but the system always starts > with the X Window System running. What am I missing? > # id:5:initdefault: > id:1:initdefault: I seem to recall seeing that before, delete the commented-out line. -

initdefault has no effect

2009-04-05 Thread Jonathan Ryshpan
I have /etc/inittab set up as follows, but the system always starts with the X Window System running. What am I missing? Thanks - jon # Default runlevel. The runlevels used are: # 0 - halt (Do NOT set initdefault to this) # 1 - Single user mode # 2 - Multiuser, without NFS (The same as 3,