Re: initdefault has no effect

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> 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:
>>>>> id:1:initdefault:
>>>>>
>>>>
>>>> I seem to recall seeing that before, delete the commented-out line.
>>>>
>>> In order to comment out a line in inttab, you need to use a
>>> semicolon, rather than a pound sign.
>> To clarify...the reason that this didn't work, in the first place, is
>> that the initial initdefault line wasn't truly commented out, due to
>> the pound sign instead of the semicolon.
>>
>> After that, the init processing for an entry stops on the first
>> match...since the "not properly commented" entry was first, it got
>> matched, and runlevel 5 was how the system came up.
>>
> I don't quite understand what you are saying....
>
> You said "the init processing for an entry stops on the first match".
> What is being matched to what?  Also, if the # isn't a comment character
> then how are the other 25 lines in the inittab being parsed?
>
> Thanks....

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.

Subsequent lines, which do not contain "initdefault" are processed,
because they do not match the "initdefault" parameter that was matched
above.
-- 
Mike Burger
http://www.bubbanfriends.org

Visit the Dog Pound II BBS
telnet://dogpound2.citadel.org or http://dogpound2.citadel.org

To be notified of updates to the web site, visit:

https://www.bubbanfriends.org/mailman/listinfo/site-update

or send a blank email message to:

site-update-subscribe@xxxxxxxxxxxxxxxxx

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
Guidelines: http://fedoraproject.org/wiki/Communicate/MailingListGuidelines
[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux