Hi1 > Some userspace processes may rely on gethostname to always return the > correct machine name. However, the only way that the hostname may be > set is by some other userspace process calling sethostname > first. During boot, if a process that depends on gethostname runs > before sethostname has been called, then the process that called > gethostname is going to get an incorrect result. Don't do that, then? :-). init gets passed command line parameters kernel did not use. So init can do that easily. Plus, there's initrd. Best regards, Pavel -- People of Russia, stop Putin before his war on Ukraine escalates.
Attachment:
signature.asc
Description: Digital signature