Re: Setting hostname error, at startup

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

 



Keith G. Robertson-Turner wrote:
> I get this every time I boot, in the initrd console:
> 
> Setting hostname thereisnospoon:  [  OK  ]
> ERROR: No arguments allowed with -i
> 
> I checked /etc/rc.sysinit and the only relevant thing it contains is this:
> 
> ###
> # Set the hostname.
> update_boot_stage RChostname
> action $"Setting hostname ${HOSTNAME}: " hostname ${HOSTNAME}
> ###
> 
> Nothing wrong with that AFAICT, so where exactly is this mysterious "-i"
> flag coming from?
> 
> This problem has been around since FC5 was released, AFAIK.
> 
> So, how do I fix it?

I don't think that the error message comes from the "Setting hostname"
line: if you got an error in the hostname command, I wouldn't expect to
see the OK.

I suspect that there's a command *after* that which is failing.

Sprinkle test "echo" commands through rc.sysinit (keep a pristine copy
elsewhere) and see exactly where you're getting the error message. You
may have to do something similar with scripts that rc.sysinit calls.

Hope this helps,

James.

-- 
E-mail:     james@ | The "Power Switch" on ATX supplies, like traffic lights
aprilcottage.co.uk | in Paris, really is just a polite suggestion.
                   |     -- Mike Andrews

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list
[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