Re: initdefault has no effect

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

 



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 anymore.

Upstart just rapidly scans /etc/inittab for the default runlevel and ignores
everything else. The only reason the file is still /etc/inittab is for
backwards compatibility. So it doesn't use a complete inittab parser, it
probably just scans for the first occurrence of id:?:initdefault,
completely ignoring any comment signs.

Just don't leave commented lines around.

        Kevin Kofler

-- 
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]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux