Subject: kern/26444: Cannot set hostname via kernfs anymore
To: None <gnats-bugs@gnats.NetBSD.org>
From: None <ronald@chersonese.com>
List: netbsd-bugs
Date: 07/27/2004 08:14:06
>Number: 26444
>Category: kern
>Synopsis: Cannot set hostname via kernfs anymore
>Confidential: no
>Severity: non-critical
>Priority: medium
>Responsible: kern-bug-people
>State: open
>Class: sw-bug
>Submitter-Id: net
>Arrival-Date: Tue Jul 27 10:39:00 UTC 2004
>Closed-Date:
>Last-Modified:
>Originator: Ronald Khoo
>Release: 2.0_BETA
>Organization:
Lack, thereof
>Environment:
NetBSD rice 2.0_BETA NetBSD 2.0_BETA (GENERIC) #0: Tue Jul 27 18:33:28 MYT 2004
ronald@curry:/home/ronald/GENERIC i386
(Yes, I just cvs update'd src/sys and compiled up a GENERIC to check)
>Description:
setting hostname via echo foo > /kern/hostname doesn't work anymore
I'm sure it was working just prior to 2.0 branch point
>How-To-Repeat:
curry% su
curry# grep kernfs /etc/fstab
kernfs /kern kernfs rw
curry# mount | grep kernfs
kernfs on /kern type kernfs (local)
curry# hostname curry
curry# cat /kern/hostname
curry
curry# hostname rice
curry# cat /kern/hostname
rice
curry# echo curry > /kern/hostname
curry# cat /kern/hostname
rice
curry# eh ?
>Fix:
>Release-Note:
>Audit-Trail:
>Unformatted: