Package: kstart
Version: 4.1-2
Severity: normal
I've MIT Kerberos and OpenLDAP servers in local network domain. OpenLDAP server
is set in such a way that it requires valid Kerberos ticket from client in order
to querying values.
In such setup client machine obviously shall obtain valid ticket before domain
users can login. This is the problem k5start is supposed to solve when it is
started via nslcd init script.
But when client machine boots k5start dies and reports about failure contacting
KDC server which is surely running and functioning. This results to unability
for domain users to login.
Below is content of /etc/network/interfaces on client machines:
auto lo
iface lo inet loopback
allow-hotplug eth0
iface eth0 inet dhcp
Kadmin and all KDC servers are listed in /etc/krb5.conf and not using DNS
lookups.
As a temporary workaround I've found following way which seems to be easiest.
I've just added delayed restart into /etc/rc.local :
#!/bin/sh -e
#
# rc.local
#
# This script is executed at the end of each multiuser runlevel.
# Make sure that the script will "exit 0" on success or any other
# value on error.
#
# In order to enable or disable this script just change the execution
# bits.
#
# By default this script does nothing.
(sleep 5 && /usr/sbin/invoke-rc.d nslcd restart) &
exit 0
In order to discover the reason I've modified /etc/init.d/nslcd script as
follows:
## [Intervention]
k5start_dump_some_info()
{
/bin/date
/bin/echo "[Processes]"
/bin/ps aux
/bin/echo "[Interfaces]"
/bin/netstat -ianpve
/bin/echo "[Ifstate]"
/bin/cat /run/network/ifstate
/bin/echo "[Routes]"
/bin/netstat -rnv
/bin/echo "[Connections]"
/bin/netstat -anpv
/bin/echo "[Resolver]"
/bin/ls -l /etc/resolv.conf
/bin/cat /etc/resolv.conf
/bin/echo "[Recent DHCP leases]"
for F in `/usr/bin/find /var/lib/dhcp -amin -2 -o -cmin -2` ; do
/bin/ls -ld $F
/bin/cat $F
done
}
## [Intervention]
k5start_start()
{
if [ "$K5START_START" = "yes" ]
then
log_daemon_msg "Starting $K5START_DESC" "k5start"
## [Intervention]
k5start_dump_some_info >> /run/nslcd-state 2>/dev/null
## [Intervention]
start-stop-daemon --start \
--pidfile $K5START_PIDFILE \
--exec $K5START_BIN -- \
-b -p $K5START_PIDFILE \
-o $K5START_USER \
-g $K5START_GROUP \
-m $K5START_MODE \
-f $K5START_KEYTAB \
-K $K5START_CCREFRESH \
-u $K5START_PRINCIPAL \
-k $K5START_CCFILE
log_end_msg $?
fi
}
(Inserted parts are marked with "## [Intervention]" lines.
No other changes was performed. nslcd has version 0.8.10-4
)
Such intervention produces file with iformation I think related to the case
for 2 startups. First start attempt is done as part of nslcd startup and
failing. But the second which is done from rc.local init script succeeds.
The reason of startup problem (as can be seen from the attached file) is in the
fact network configuration is not done completely:
1. Network interface eth0 has no IPv4 address assigned but is UP and RUNNING
2. Routing table is missing
3. /etc/resolv.conf is not updated
But at the same time dhclient has been acquired lease already.
Thanks,
Anton.
-- System Information:
Debian Release: 7.1
APT prefers stable
APT policy: (500, 'stable')
Architecture: i386 (i686)
Kernel: Linux 3.2.0-4-686-pae (SMP w/2 CPU cores)
Locale: LANG=ru_RU.UTF-8, LC_CTYPE=ru_RU.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Versions of packages kstart depends on:
ii libc6 2.13-38
ii libkrb5-3 1.10.1+dfsg-5+deb7u1
kstart recommends no packages.
kstart suggests no packages.
-- no debconf information
Wed Oct 2 14:20:12 MSK 2013
[Processes]
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 5.7 0.0 2280 728 ? Ss 14:19 0:00 init [2]
root 2 0.0 0.0 0 0 ? S 14:19 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 14:19 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/0:0]
root 5 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/u:0]
root 6 0.0 0.0 0 0 ? S 14:19 0:00 [migration/0]
root 7 0.0 0.0 0 0 ? S 14:19 0:00 [watchdog/0]
root 8 0.0 0.0 0 0 ? S 14:19 0:00 [migration/1]
root 9 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/1:0]
root 10 0.0 0.0 0 0 ? S 14:19 0:00 [ksoftirqd/1]
root 11 0.5 0.0 0 0 ? S 14:19 0:00 [kworker/0:1]
root 12 0.0 0.0 0 0 ? S 14:19 0:00 [watchdog/1]
root 13 0.0 0.0 0 0 ? S< 14:19 0:00 [cpuset]
root 14 0.0 0.0 0 0 ? S< 14:19 0:00 [khelper]
root 15 0.0 0.0 0 0 ? S 14:19 0:00 [kdevtmpfs]
root 16 0.0 0.0 0 0 ? S< 14:19 0:00 [netns]
root 17 0.0 0.0 0 0 ? S 14:19 0:00 [sync_supers]
root 18 0.0 0.0 0 0 ? S 14:19 0:00 [bdi-default]
root 19 0.0 0.0 0 0 ? S< 14:19 0:00 [kintegrityd]
root 20 0.0 0.0 0 0 ? S< 14:19 0:00 [kblockd]
root 21 0.5 0.0 0 0 ? S 14:19 0:00 [kworker/1:1]
root 22 0.0 0.0 0 0 ? S 14:19 0:00 [khungtaskd]
root 23 0.0 0.0 0 0 ? S 14:19 0:00 [kswapd0]
root 24 0.0 0.0 0 0 ? SN 14:19 0:00 [ksmd]
root 25 0.0 0.0 0 0 ? SN 14:19 0:00 [khugepaged]
root 26 0.0 0.0 0 0 ? S 14:19 0:00 [fsnotify_mark]
root 27 0.0 0.0 0 0 ? S< 14:19 0:00 [crypto]
root 30 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/0:2]
root 118 0.0 0.0 0 0 ? S 14:19 0:00 [khubd]
root 134 0.0 0.0 0 0 ? S< 14:19 0:00 [ata_sff]
root 145 0.0 0.0 0 0 ? S 14:19 0:00 [scsi_eh_0]
root 146 0.0 0.0 0 0 ? S 14:19 0:00 [scsi_eh_1]
root 147 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/u:1]
root 148 0.0 0.0 0 0 ? S 14:19 0:00 [scsi_eh_2]
root 149 0.0 0.0 0 0 ? S 14:19 0:00 [scsi_eh_3]
root 150 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/u:2]
root 151 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/u:3]
root 152 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/u:4]
root 158 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/1:2]
root 187 0.0 0.0 0 0 ? S 14:19 0:00 [kjournald]
root 326 0.6 0.1 2948 1472 ? Ss 14:19 0:00 udevd --daemon
root 376 0.0 0.1 2812 1208 ? S 14:19 0:00 udevd --daemon
root 377 0.0 0.1 2812 1216 ? S 14:19 0:00 udevd --daemon
root 378 0.0 0.1 2812 1180 ? S 14:19 0:00 udevd --daemon
root 379 0.0 0.1 2812 1180 ? S 14:19 0:00 udevd --daemon
root 382 0.0 0.1 2812 1180 ? S 14:19 0:00 udevd --daemon
root 383 0.0 0.1 2812 1156 ? S 14:19 0:00 udevd --daemon
root 384 0.0 0.1 2812 1172 ? S 14:19 0:00 udevd --daemon
root 385 0.0 0.1 2812 1140 ? S 14:19 0:00 udevd --daemon
root 386 0.0 0.1 2812 1112 ? S 14:19 0:00 udevd --daemon
root 387 0.0 0.1 2812 1088 ? S 14:19 0:00 udevd --daemon
root 388 0.0 0.1 2812 1140 ? S 14:19 0:00 udevd --daemon
root 389 0.0 0.1 2812 1128 ? S 14:19 0:00 udevd --daemon
root 391 0.0 0.1 2812 1164 ? S 14:19 0:00 udevd --daemon
root 392 0.0 0.1 2812 1164 ? S 14:19 0:00 udevd --daemon
root 393 0.0 0.1 2812 1164 ? S 14:19 0:00 udevd --daemon
root 394 0.0 0.1 2812 1164 ? S 14:19 0:00 udevd --daemon
root 395 0.0 0.1 2812 1164 ? S 14:19 0:00 udevd --daemon
root 396 0.0 0.1 2812 1136 ? S 14:19 0:00 udevd --daemon
root 397 0.0 0.1 2812 1088 ? S 14:19 0:00 udevd --daemon
root 398 0.0 0.1 2812 1096 ? S 14:19 0:00 udevd --daemon
root 399 0.0 0.1 2812 1132 ? S 14:19 0:00 udevd --daemon
root 400 0.0 0.1 2812 1100 ? S 14:19 0:00 udevd --daemon
root 401 0.0 0.1 2812 1096 ? S 14:19 0:00 udevd --daemon
root 402 0.0 0.1 2812 1088 ? S 14:19 0:00 udevd --daemon
root 403 0.0 0.1 2812 1088 ? S 14:19 0:00 udevd --daemon
root 404 0.0 0.1 2812 1100 ? S 14:19 0:00 udevd --daemon
root 425 0.0 0.1 2944 1136 ? S 14:19 0:00 udevd --daemon
root 426 0.0 0.1 2944 1144 ? S 14:19 0:00 udevd --daemon
root 427 0.0 0.1 2944 1144 ? S 14:19 0:00 udevd --daemon
root 428 0.0 0.1 2944 1120 ? S 14:19 0:00 udevd --daemon
root 429 0.0 0.1 2944 1152 ? S 14:19 0:00 udevd --daemon
root 430 0.0 0.1 2944 1160 ? S 14:19 0:00 udevd --daemon
root 431 0.0 0.1 2944 1188 ? S 14:19 0:00 udevd --daemon
root 432 0.0 0.1 2944 1144 ? S 14:19 0:00 udevd --daemon
root 433 0.0 0.1 2944 1160 ? S 14:19 0:00 udevd --daemon
root 434 0.0 0.1 2944 1144 ? S 14:19 0:00 udevd --daemon
root 435 0.0 0.1 2944 1092 ? S 14:19 0:00 udevd --daemon
root 436 0.0 0.1 2944 1092 ? S 14:19 0:00 udevd --daemon
root 437 0.0 0.1 2944 1092 ? S 14:19 0:00 udevd --daemon
root 438 0.0 0.1 2944 1092 ? S 14:19 0:00 udevd --daemon
root 439 0.0 0.1 2944 1092 ? S 14:19 0:00 udevd --daemon
root 440 0.0 0.1 2944 1092 ? S 14:19 0:00 udevd --daemon
root 441 0.0 0.1 2944 1092 ? S 14:19 0:00 udevd --daemon
root 442 0.0 0.1 2944 1092 ? S 14:19 0:00 udevd --daemon
root 496 0.0 0.0 0 0 ? S< 14:19 0:00 [kpsmoused]
root 499 0.0 0.0 1876 548 ? S 14:19 0:00 ifup --allow=ho
root 509 0.1 0.0 0 0 ? S 14:19 0:00 [kworker/0:3]
root 528 0.0 0.0 0 0 ? S< 14:20 0:00 [hd-audio0]
root 532 0.0 0.0 0 0 ? S< 14:20 0:00 [hd-audio1]
root 1483 0.0 0.0 0 0 ? S 14:20 0:00 [kjournald]
root 1484 0.0 0.0 0 0 ? S 14:20 0:00 [kjournald]
root 1727 0.0 0.0 1932 508 ? S 14:20 0:00 /bin/sh -c dhcl
root 1740 0.0 0.3 5180 3108 ? S 14:20 0:00 dhclient -v -pf
root 1766 0.0 0.0 2376 776 ? Ss 14:20 0:00 /sbin/rpcbind -
statd 1799 0.0 0.1 2648 1280 ? Ss 14:20 0:00 /sbin/rpc.statd
root 1804 0.0 0.0 0 0 ? S< 14:20 0:00 [rpciod]
root 1808 0.0 0.0 0 0 ? S< 14:20 0:00 [nfsiod]
root 1815 0.0 0.0 2576 388 ? Ss 14:20 0:00 /usr/sbin/rpc.i
root 1820 0.0 0.0 3744 448 ? Ss 14:20 0:00 /usr/sbin/rpc.g
root 2070 0.0 0.0 1932 628 ? Ss 14:20 0:00 /bin/sh /etc/in
root 2079 0.7 0.2 2244 2236 ? SL 14:20 0:00 startpar -p 4 -
root 2341 0.3 0.1 28176 1676 ? Sl 14:20 0:00 /usr/sbin/rsysl
root 2342 0.0 0.0 0 0 ? S< 14:20 0:00 [iprt]
root 2397 0.0 0.0 0 0 ? S 14:20 0:00 [flush-8:0]
root 2439 0.0 0.0 1876 628 ? Ss 14:20 0:00 /usr/sbin/acpid
root 2465 1.0 0.2 7768 2900 ? Ss 14:20 0:00 /usr/sbin/cupsd
root 2517 0.0 0.1 5220 1684 ? Ss 14:20 0:00 /usr/sbin/atiev
103 2558 0.0 0.0 3076 936 ? Ss 14:20 0:00 /usr/bin/dbus-d
root 2581 0.0 0.1 10076 1136 ? Ss 14:20 0:00 /usr/sbin/kerne
root 2649 0.0 0.2 23364 2528 ? Dl 14:20 0:00 /usr/sbin/light
root 2668 0.0 0.0 1932 624 ? S 14:20 0:00 /bin/sh /etc/in
root 2669 0.0 0.0 1932 508 ? S 14:20 0:00 /bin/sh /etc/in
root 2680 0.0 0.0 141464 360 ? Ssl 14:20 0:00 /usr/sbin/nscd
root 2700 0.0 0.0 1932 304 ? S 14:20 0:00 /bin/sh /etc/in
root 2701 0.0 0.0 1932 112 ? D 14:20 0:00 /bin/sh /etc/in
root 2702 0.0 0.0 1932 112 ? D 14:20 0:00 /bin/sh /etc/in
root 2707 0.0 0.0 1932 628 ? S 14:20 0:00 /bin/sh -e /etc
root 2737 0.0 0.0 2812 892 ? R 14:20 0:00 /bin/ps aux
[Interfaces]
Kernel Interface table
eth0 Link encap:Ethernet HWaddr 00:1a:4d:4e:f1:6e
inet6 addr: fe80::21a:4dff:fe4e:f16e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:1 errors:0 dropped:0 overruns:0 frame:0
TX packets:4 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:243 (243.0 B) TX bytes:328 (328.0 B)
Interrupt:43 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:0 errors:0 dropped:0 overruns:0 frame:0
TX packets:0 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:0 (0.0 B) TX bytes:0 (0.0 B)
[Ifstate]
lo=lo
eth0=eth0
[Routes]
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
[Connections]
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
1766/rpcbind
tcp 0 0 0.0.0.0:42911 0.0.0.0:* LISTEN
1799/rpc.statd
udp 0 0 0.0.0.0:68 0.0.0.0:*
1740/dhclient
udp 0 0 0.0.0.0:111 0.0.0.0:*
1766/rpcbind
udp 0 0 0.0.0.0:40064 0.0.0.0:*
1799/rpc.statd
udp 0 0 0.0.0.0:46743 0.0.0.0:*
1740/dhclient
udp 0 0 0.0.0.0:669 0.0.0.0:*
1766/rpcbind
udp 0 0 127.0.0.1:703 0.0.0.0:*
1799/rpc.statd
udp6 0 0 :::9099 :::*
1740/dhclient
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name
Path
unix 2 [ ACC ] STREAM LISTENING 6400 2465/cupsd
/var/run/cups/cups.sock
unix 2 [ ACC ] STREAM LISTENING 5698 2517/atieventsd
/var/run/atieventsd.socket
unix 2 [ ACC ] STREAM LISTENING 6496 2680/nscd
/var/run/nscd/socket
unix 2 [ ACC ] STREAM LISTENING 5005 1766/rpcbind
/var/run/rpcbind.sock
unix 4 [ ] DGRAM 6312 2341/rsyslogd
/dev/log
unix 2 [ ACC ] STREAM LISTENING 6344 2439/acpid
/var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 3799 326/udevd
/run/udev/control
unix 2 [ ACC ] STREAM LISTENING 6398 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 6500 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 5754 2649/lightdm
unix 3 [ ] STREAM CONNECTED 5722 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 5721 2581/kerneloops
unix 3 [ ] STREAM CONNECTED 5713 2558/dbus-daemon
unix 3 [ ] STREAM CONNECTED 5712 2558/dbus-daemon
unix 3 [ ] STREAM CONNECTED 5701 2439/acpid
/var/run/acpid.socket
unix 3 [ ] STREAM CONNECTED 5700 2517/atieventsd
unix 2 [ ] DGRAM 5697 2517/atieventsd
unix 2 [ ] DGRAM 6332 2439/acpid
unix 3 [ ] STREAM CONNECTED 5500 1815/rpc.idmapd
unix 3 [ ] STREAM CONNECTED 5499 1815/rpc.idmapd
unix 3 [ ] DGRAM 1458 326/udevd
unix 3 [ ] DGRAM 1457 326/udevd
[Resolver]
-rw-r--r-- 1 root root 50 Oct 2 14:09 /etc/resolv.conf
domain nplab
search nplab.
nameserver 172.17.17.1
[Recent DHCP leases]
-rw-r--r-- 1 root root 528 Oct 2 14:20 /var/lib/dhcp/dhclient.eth0.leases
lease {
interface "eth0";
fixed-address 172.17.17.61;
filename "/unknown.img";
server-name "sun.nplab";
option subnet-mask 255.255.255.0;
option routers 172.17.17.1;
option dhcp-lease-time 4800;
option dhcp-message-type 5;
option domain-name-servers 172.17.17.1;
option dhcp-server-identifier 172.17.17.1;
option domain-search "nplab.";
option broadcast-address 172.17.17.255;
option domain-name "nplab";
renew 3 2013/10/02 10:19:32;
rebind 3 2013/10/02 10:19:32;
expire 3 2013/10/02 10:19:32;
}
Wed Oct 2 14:20:20 MSK 2013
[Processes]
USER PID %CPU %MEM VSZ RSS TTY STAT START TIME COMMAND
root 1 3.6 0.0 2280 728 ? Ss 14:19 0:00 init [2]
root 2 0.0 0.0 0 0 ? S 14:19 0:00 [kthreadd]
root 3 0.0 0.0 0 0 ? S 14:19 0:00 [ksoftirqd/0]
root 4 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/0:0]
root 5 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/u:0]
root 6 0.0 0.0 0 0 ? S 14:19 0:00 [migration/0]
root 7 0.0 0.0 0 0 ? S 14:19 0:00 [watchdog/0]
root 8 0.0 0.0 0 0 ? S 14:19 0:00 [migration/1]
root 9 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/1:0]
root 10 0.0 0.0 0 0 ? S 14:19 0:00 [ksoftirqd/1]
root 11 0.5 0.0 0 0 ? S 14:19 0:00 [kworker/0:1]
root 12 0.0 0.0 0 0 ? S 14:19 0:00 [watchdog/1]
root 13 0.0 0.0 0 0 ? S< 14:19 0:00 [cpuset]
root 14 0.0 0.0 0 0 ? S< 14:19 0:00 [khelper]
root 15 0.0 0.0 0 0 ? S 14:19 0:00 [kdevtmpfs]
root 16 0.0 0.0 0 0 ? S< 14:19 0:00 [netns]
root 17 0.0 0.0 0 0 ? S 14:19 0:00 [sync_supers]
root 18 0.0 0.0 0 0 ? S 14:19 0:00 [bdi-default]
root 19 0.0 0.0 0 0 ? S< 14:19 0:00 [kintegrityd]
root 20 0.0 0.0 0 0 ? S< 14:19 0:00 [kblockd]
root 21 0.5 0.0 0 0 ? S 14:19 0:00 [kworker/1:1]
root 22 0.0 0.0 0 0 ? S 14:19 0:00 [khungtaskd]
root 23 0.0 0.0 0 0 ? S 14:19 0:00 [kswapd0]
root 24 0.0 0.0 0 0 ? SN 14:19 0:00 [ksmd]
root 25 0.0 0.0 0 0 ? SN 14:19 0:00 [khugepaged]
root 26 0.0 0.0 0 0 ? S 14:19 0:00 [fsnotify_mark]
root 27 0.0 0.0 0 0 ? S< 14:19 0:00 [crypto]
root 30 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/0:2]
root 118 0.0 0.0 0 0 ? S 14:19 0:00 [khubd]
root 134 0.0 0.0 0 0 ? S< 14:19 0:00 [ata_sff]
root 145 0.0 0.0 0 0 ? S 14:19 0:00 [scsi_eh_0]
root 146 0.0 0.0 0 0 ? S 14:19 0:00 [scsi_eh_1]
root 147 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/u:1]
root 148 0.0 0.0 0 0 ? S 14:19 0:00 [scsi_eh_2]
root 149 0.0 0.0 0 0 ? S 14:19 0:00 [scsi_eh_3]
root 150 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/u:2]
root 151 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/u:3]
root 152 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/u:4]
root 158 0.0 0.0 0 0 ? S 14:19 0:00 [kworker/1:2]
root 187 0.0 0.0 0 0 ? S 14:19 0:00 [kjournald]
root 326 0.3 0.1 2948 1472 ? Ss 14:19 0:00 udevd --daemon
root 441 0.0 0.1 2944 1092 ? S 14:19 0:00 udevd --daemon
root 442 0.0 0.1 2944 1092 ? S 14:19 0:00 udevd --daemon
root 496 0.0 0.0 0 0 ? S< 14:19 0:00 [kpsmoused]
root 509 0.1 0.0 0 0 ? S 14:19 0:00 [kworker/0:3]
root 528 0.0 0.0 0 0 ? S< 14:20 0:00 [hd-audio0]
root 532 0.0 0.0 0 0 ? S< 14:20 0:00 [hd-audio1]
root 1483 0.0 0.0 0 0 ? S 14:20 0:00 [kjournald]
root 1484 0.0 0.0 0 0 ? S 14:20 0:00 [kjournald]
root 1766 0.0 0.0 2376 776 ? Ss 14:20 0:00 /sbin/rpcbind -
statd 1799 0.0 0.1 2648 1280 ? Ss 14:20 0:00 /sbin/rpc.statd
root 1804 0.0 0.0 0 0 ? S< 14:20 0:00 [rpciod]
root 1808 0.0 0.0 0 0 ? S< 14:20 0:00 [nfsiod]
root 1815 0.0 0.0 2576 792 ? Ss 14:20 0:00 /usr/sbin/rpc.i
root 1820 0.0 0.2 4232 2212 ? Ss 14:20 0:00 /usr/sbin/rpc.g
root 2341 0.0 0.1 28176 1676 ? Sl 14:20 0:00 /usr/sbin/rsysl
root 2342 0.0 0.0 0 0 ? S< 14:20 0:00 [iprt]
root 2397 0.0 0.0 0 0 ? S 14:20 0:00 [flush-8:0]
root 2439 0.0 0.0 1876 628 ? Ss 14:20 0:00 /usr/sbin/acpid
root 2465 0.1 0.2 7768 2900 ? Ss 14:20 0:00 /usr/sbin/cupsd
root 2517 0.0 0.1 5220 1744 ? Ss 14:20 0:00 /usr/sbin/atiev
103 2558 0.0 0.1 3204 1288 ? Ss 14:20 0:00 /usr/bin/dbus-d
root 2581 0.0 0.1 10076 1136 ? Ss 14:20 0:00 /usr/sbin/kerne
root 2649 0.1 0.2 31772 2996 ? Sl 14:20 0:00 /usr/sbin/light
root 2680 0.0 0.0 141616 1004 ? Ssl 14:20 0:00 /usr/sbin/nscd
root 2770 4.6 1.6 24660 17484 tty7 Ss+ 14:20 0:00 /usr/bin/X :0 -
ntp 2821 0.0 0.1 5884 1752 ? Ss 14:20 0:00 /usr/sbin/ntpd
daemon 2847 0.0 0.0 2360 312 ? Ss 14:20 0:00 /usr/sbin/atd
root 2889 0.0 0.0 3832 820 ? Ss 14:20 0:00 /usr/sbin/cron
root 3209 0.0 0.1 5180 1896 ? Ss 14:20 0:00 dhclient -v -pf
root 3303 0.0 0.0 0 0 ? S 14:20 0:00 [nfsv4.0-svc]
101 3479 0.0 0.0 8096 692 ? Ss 14:20 0:00 /usr/sbin/exim4
root 3498 0.0 0.1 6552 1036 ? Ss 14:20 0:00 /usr/sbin/sshd
root 3517 0.0 0.0 1932 588 ? S 14:20 0:00 /bin/sh /usr/sb
root 3519 0.0 0.0 1864 532 ? Ss 14:20 0:00 startpar -f --
root 3520 0.0 0.0 3776 736 tty1 Ss+ 14:20 0:00 /sbin/getty 384
root 3521 0.0 0.0 3776 732 tty2 Ss+ 14:20 0:00 /sbin/getty 384
root 3522 0.0 0.0 3776 728 tty3 Ss+ 14:20 0:00 /sbin/getty 384
root 3523 0.0 0.0 3776 732 tty4 Ss+ 14:20 0:00 /sbin/getty 384
root 3524 0.0 0.0 3776 732 tty5 Ss+ 14:20 0:00 /sbin/getty 384
root 3525 0.0 0.0 3776 736 tty6 Ss+ 14:20 0:00 /sbin/getty 384
root 3546 0.2 0.3 17676 3556 ? Sl 14:20 0:00 lightdm --sessi
lightdm 3550 0.0 0.0 17920 760 ? Sl 14:20 0:00 /usr/bin/gnome-
root 3553 0.7 0.3 29032 3328 ? Sl 14:20 0:00 /usr/sbin/conso
root 3620 0.2 0.2 23376 2624 ? Sl 14:20 0:00 /usr/lib/policy
lightdm 3644 18.3 1.0 33184 10732 ? Ssl 14:20 0:00 /usr/sbin/light
root 3703 0.0 0.0 1932 632 ? S 14:20 0:00 /bin/sh /etc/in
103 3716 0.0 0.0 3204 332 ? S 14:20 0:00 /usr/bin/dbus-d
root 3717 0.0 0.0 1368 276 ? D 14:20 0:00 /usr/lib/upower
root 3749 0.0 0.0 2812 884 ? R 14:20 0:00 /bin/ps aux
[Interfaces]
Kernel Interface table
eth0 Link encap:Ethernet HWaddr 00:1a:4d:4e:f1:6e
inet addr:172.17.17.61 Bcast:172.17.17.255 Mask:255.255.255.0
inet6 addr: fe80::21a:4dff:fe4e:f16e/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:111 errors:0 dropped:0 overruns:0 frame:0
TX packets:129 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:24443 (23.8 KiB) TX bytes:19769 (19.3 KiB)
Interrupt:43 Base address:0xc000
lo Link encap:Local Loopback
inet addr:127.0.0.1 Mask:255.0.0.0
inet6 addr: ::1/128 Scope:Host
UP LOOPBACK RUNNING MTU:16436 Metric:1
RX packets:8 errors:0 dropped:0 overruns:0 frame:0
TX packets:8 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:0
RX bytes:1104 (1.0 KiB) TX bytes:1104 (1.0 KiB)
[Ifstate]
lo=lo
eth0=eth0
[Routes]
Kernel IP routing table
Destination Gateway Genmask Flags MSS Window irtt Iface
0.0.0.0 172.17.17.1 0.0.0.0 UG 0 0 0 eth0
172.17.17.0 0.0.0.0 255.255.255.0 U 0 0 0 eth0
[Connections]
Active Internet connections (servers and established)
Proto Recv-Q Send-Q Local Address Foreign Address State
PID/Program name
tcp 0 0 0.0.0.0:111 0.0.0.0:* LISTEN
1766/rpcbind
tcp 0 0 0.0.0.0:47729 0.0.0.0:* LISTEN
-
tcp 0 0 0.0.0.0:22 0.0.0.0:* LISTEN
3498/sshd
tcp 0 0 127.0.0.1:25 0.0.0.0:* LISTEN
3479/exim4
tcp 0 0 0.0.0.0:42911 0.0.0.0:* LISTEN
1799/rpc.statd
tcp 0 0 172.17.17.61:970 172.17.17.3:2049 ESTABLISHED
-
tcp 0 0 172.17.17.61:937 172.17.17.2:2049 ESTABLISHED
-
tcp6 0 0 :::37568 :::* LISTEN
-
udp 0 0 0.0.0.0:68 0.0.0.0:*
3209/dhclient
udp 0 0 0.0.0.0:111 0.0.0.0:*
1766/rpcbind
udp 0 0 172.17.17.61:123 0.0.0.0:*
2821/ntpd
udp 0 0 127.0.0.1:123 0.0.0.0:*
2821/ntpd
udp 0 0 0.0.0.0:123 0.0.0.0:*
2821/ntpd
udp 0 0 0.0.0.0:40064 0.0.0.0:*
1799/rpc.statd
udp 0 0 0.0.0.0:46743 0.0.0.0:*
3209/dhclient
udp 0 0 0.0.0.0:669 0.0.0.0:*
1766/rpcbind
udp 0 0 127.0.0.1:703 0.0.0.0:*
1799/rpc.statd
udp6 0 0 :::9099 :::*
3209/dhclient
Active UNIX domain sockets (servers and established)
Proto RefCnt Flags Type State I-Node PID/Program name
Path
unix 2 [ ACC ] STREAM LISTENING 6400 2465/cupsd
/var/run/cups/cups.sock
unix 2 [ ACC ] STREAM LISTENING 7931 3550/gnome-keyring-
/var/lib/lightdm/.cache/keyring-lRU6yb/control
unix 2 [ ACC ] STREAM LISTENING 5698 2517/atieventsd
/var/run/atieventsd.socket
unix 2 [ ACC ] STREAM LISTENING 6496 2680/nscd
/var/run/nscd/socket
unix 2 [ ACC ] STREAM LISTENING 5911 2770/X
@/tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 5005 1766/rpcbind
/var/run/rpcbind.sock
unix 8 [ ] DGRAM 6312 2341/rsyslogd
/dev/log
unix 2 [ ACC ] STREAM LISTENING 5912 2770/X
/tmp/.X11-unix/X0
unix 2 [ ACC ] STREAM LISTENING 6344 2439/acpid
/var/run/acpid.socket
unix 2 [ ACC ] SEQPACKET LISTENING 3799 326/udevd
/run/udev/control
unix 2 [ ACC ] STREAM LISTENING 6398 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 8418 3716/dbus-daemon
unix 3 [ ] STREAM CONNECTED 8417 2558/dbus-daemon
unix 3 [ ] STREAM CONNECTED 8398 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 8007 3644/lightdm-gtk-gr
unix 3 [ ] STREAM CONNECTED 8357 2770/X
@/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 7998 3644/lightdm-gtk-gr
unix 3 [ ] STREAM CONNECTED 7943 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 8301 3620/polkitd
unix 3 [ ] STREAM CONNECTED 7939 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 8295 3553/console-kit-da
unix 3 [ ] STREAM CONNECTED 8274 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 7937 3553/console-kit-da
unix 2 [ ] DGRAM 8268 2558/dbus-daemon
unix 3 [ ] STREAM CONNECTED 8267 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 7932 3546/lightdm
unix 2 [ ] DGRAM 7924 3546/lightdm
unix 3 [ ] STREAM CONNECTED 7911 2770/X
@/tmp/.X11-unix/X0
unix 3 [ ] STREAM CONNECTED 8242 2649/lightdm
unix 3 [ ] STREAM CONNECTED 7543 2439/acpid
/var/run/acpid.socket
unix 3 [ ] STREAM CONNECTED 7542 2770/X
unix 2 [ ] DGRAM 5846 3209/dhclient
unix 2 [ ] DGRAM 7326 2821/ntpd
unix 3 [ ] STREAM CONNECTED 6500 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 5754 2649/lightdm
unix 3 [ ] STREAM CONNECTED 5722 2558/dbus-daemon
/var/run/dbus/system_bus_socket
unix 3 [ ] STREAM CONNECTED 5721 2581/kerneloops
unix 3 [ ] STREAM CONNECTED 5713 2558/dbus-daemon
unix 3 [ ] STREAM CONNECTED 5712 2558/dbus-daemon
unix 3 [ ] STREAM CONNECTED 5701 2439/acpid
/var/run/acpid.socket
unix 3 [ ] STREAM CONNECTED 5700 2517/atieventsd
unix 2 [ ] DGRAM 5697 2517/atieventsd
unix 2 [ ] DGRAM 6332 2439/acpid
unix 3 [ ] STREAM CONNECTED 5500 1815/rpc.idmapd
unix 3 [ ] STREAM CONNECTED 5499 1815/rpc.idmapd
unix 3 [ ] DGRAM 1458 326/udevd
unix 3 [ ] DGRAM 1457 326/udevd
[Resolver]
-rw-r--r-- 1 root root 50 Oct 2 14:20 /etc/resolv.conf
domain nplab
search nplab.
nameserver 172.17.17.1
[Recent DHCP leases]
-rw-r--r-- 1 root root 1056 Oct 2 14:20 /var/lib/dhcp/dhclient.eth0.leases
lease {
interface "eth0";
fixed-address 172.17.17.61;
filename "/unknown.img";
server-name "sun.nplab";
option subnet-mask 255.255.255.0;
option routers 172.17.17.1;
option dhcp-lease-time 4800;
option dhcp-message-type 5;
option domain-name-servers 172.17.17.1;
option dhcp-server-identifier 172.17.17.1;
option domain-search "nplab.";
option broadcast-address 172.17.17.255;
option domain-name "nplab";
renew 3 2013/10/02 10:19:32;
rebind 3 2013/10/02 10:19:32;
expire 3 2013/10/02 10:19:32;
}
lease {
interface "eth0";
fixed-address 172.17.17.61;
filename "/unknown.img";
server-name "sun.nplab";
option subnet-mask 255.255.255.0;
option routers 172.17.17.1;
option dhcp-lease-time 4800;
option dhcp-message-type 5;
option domain-name-servers 172.17.17.1;
option dhcp-server-identifier 172.17.17.1;
option domain-search "nplab.";
option broadcast-address 172.17.17.255;
option domain-name "nplab";
renew 3 2013/10/02 10:51:26;
rebind 3 2013/10/02 11:30:14;
expire 3 2013/10/02 11:40:14;
}