[Voyage-linux] [BUG REPORT] voyage-0.2pre4: DHCP client could not write to /var/run/

Leon Woestenberg (spam-protected)
Sun Mar 5 20:32:25 HKT 2006


Hello,

I wanted to report a bug that I have found during my PXE/NFS tests (on 
WRAP.2C using voyage-0.2pre4 on CF disk).

The DHCP client does not seem to have write access to "/var/run" when is 
gets its lease. Consequently, there is not PID or leases file in this 
directory.

After the DHCP lease runs out of time, the interface brought down! The 
lease time at my personal setup is five minutes, but usually it is much 
longer than that (one day, one week) before the lease runs out and you 
notice this bug.

I am pinpointing where this goes wrong, but maybe someone else can look 
along? My weekend is nearly ending :-)

Regards,

Leon.


voyage:~# ls -al /var/run/
total 36
drwxr-xr-x  6 root root  320 Mar  5 12:23 .
drwxr-xr-x  8 root root  160 Feb 26 16:17 ..
-rw-r--r--  1 root root    5 Mar  5 12:23 crond.pid
----------  1 root root    0 Mar  5 12:23 crond.reboot
-rw-r--r--  1 root root    5 Mar  5 12:23 dnsmasq.pid
drwxr-xr-x  2 root root   40 Feb 11 04:44 hostapd
-rw-r--r--  1 root root    5 Mar  5 12:23 inetd.pid
-rw-r--r--  1 root root    5 Mar  5 12:23 klogd.pid
drwxr-xr-x  2 root root   40 Mar 23  2005 pppconfig
-rw-r--r--  1 root root    5 Mar  5 12:23 pptpd.pid
drwxr-xr-x  2 root root   40 Nov 28  2004 sshd
-rw-r--r--  1 root root    5 Mar  5 12:23 sshd.pid
-rw-r--r--  1 root root    5 Mar  5 12:23 syslogd.pid
drwxr-xr-x  2 root root   40 Apr  7  2005 usb
-rw-rw-r--  1 root utmp 1920 Mar  5 12:25 utmp
-rw-r--r--  1 root root    5 Mar  5 12:23 watchdog.pid

voyage:~# ps ax
  PID TTY      STAT   TIME COMMAND
    1 ?        S      0:00 init [2]
    2 ?        SN     0:00 [ksoftirqd/0]
    3 ?        S<     0:00 [events/0]
    4 ?        S<     0:00 [khelper]
    5 ?        S<     0:00 [kthread]
    7 ?        S<     0:00 [kblockd/0]
   45 ?        S      0:00 [pdflush]
   46 ?        S      0:00 [pdflush]
   48 ?        S<     0:00 [aio/0]
   47 ?        S      0:00 [kswapd0]
  630 ?        S<     0:00 [kseriod]
 1218 ?        S<     0:00 [khubd]
 1350 ?        Ss     0:00 dhclient -e -pf /var/run/dhclient.eth0.pid 
-lf /var/r
 1403 ?        Ss     0:00 /sbin/syslogd -p /rw/dev/log -m 0
 1406 ?        Ss     0:01 /sbin/klogd
 1412 ?        S      0:00 /usr/sbin/dnsmasq
 1418 ?        Ss     0:00 /usr/sbin/inetd
 1423 ?        Ss     0:00 /usr/sbin/pptpd
 1429 ?        Ss     0:00 /usr/sbin/sshd
 1432 ?        Ss     0:00 /usr/sbin/cron
 1436 ?        SLs    0:00 /usr/sbin/watchdog
 1453 /rw/dev/ttyS0 Ss   0:00 -bash
 1462 ?        Z      0:00 [watchdog] <defunct>
 1463 /rw/dev/ttyS0 R+   0:00 ps ax




More information about the Voyage-linux mailing list