You are not logged in.
I just updated initscripts and rc.sysinit is no longer working as expected.
It seems when:
if [[ $HOSTNAME ]]; then
echo "$HOSTNAME" >| /proc/sys/kernel/hostname
fi
is run. /proc/sys/kernel is not yet existing.
So $HOSTNAME is now set to "(none)" and my prompt is:
root@(none)...
And this is in "Newbie", because I have just had a look at /proc/... so far and never before touched it... And I am asking, because I am not sure if it is just initscripts or related to systemd and .conf files.
Last edited by Marcus27 (2012-10-02 04:18:00)
Offline
EDIT: Oh, you "updated" as in pacman, not "updated" as in altered. My mistake :S
Last edited by MisterAnderson (2012-10-02 12:54:22)
D:
Offline
This happens to me as well. It started when I rebooted yesterday after the initscripts update. I was planning to have a look at this tonight, so I'll come back and check this thread before doing anything :-)
I wasn't sure if it was linked to the initscript package, since I hadn't rebooted for several days.
The machine is a VPS (Xen), in case this changes anything.
Last edited by fredo1664 (2012-10-02 04:36:00)
I'm French and French people can't speak English, so please please please excuse the terrible English!
Offline
This is certainly wrong: https://projects.archlinux.org/initscri … f7b64bd5ad
You should open a bug report about it.
Offline
I have already opened a bug report:
https://bugs.archlinux.org/task/31765
Last edited by gaspe (2012-10-02 12:31:46)
Offline
if [[ $HOSTNAME ]]; then
echo "$HOSTNAME" >| /proc/sys/kernel/hostname
fiis run. /proc/sys/kernel is not yet existing.
So $HOSTNAME is now set to "(none)" and my prompt is:
root@(none)...
Thanks for reporting. You are of course absolutely right. Will follow up on the bug report.
Offline