samba が動いている

SheevaPlug 玄柴(KURO-SHEEVA)

以前、 samba がインストールされているけど動いていないと書いたのに、、、
玄柴で ps を取ったら、、、、
root@debian:~# ps ax
  PID TTY      STAT   TIME COMMAND
	:
	:
 1511 ?        Ss     0:00 /sbin/syslogd -u syslog
 1530 ?        S      0:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
 1531 ?        Ss     0:00 /sbin/klogd -P /var/run/klogd/kmsg
 1549 ?        Ss     0:00 /usr/sbin/sshd
 1564 ?        Ss     0:00 /usr/sbin/nmbd -D
 1566 ?        Ss     0:00 /usr/sbin/smbd -D
 1613 ?        S      0:00 /usr/sbin/smbd -D
 1635 ?        Ss     0:00 /usr/sbin/cron
	:
	:
 1731 ttyS0    S      0:00 -bash
 1742 ttyS0    R+     0:00 ps ax
root@debian:~#
nmbd, smbd が動いている。
謎。
動かした覚えはない。

ヒョッとしてパッケージをアップデートしたからか????

SheevaPlug で検証してみる。

root@debian:~# apt-get update
Hit http://ports.ubuntu.com jaunty Release.gpg
Hit http://ports.ubuntu.com jaunty Release
Hit http://ports.ubuntu.com jaunty/main Packages
Hit http://ports.ubuntu.com jaunty/restricted Packages
Hit http://ports.ubuntu.com jaunty/universe Packages
Hit http://ports.ubuntu.com jaunty/multiverse Packages
Reading package lists... Done
root@debian:~# apt-get upgrade
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following packages have been kept back:
  libx11-6 libxcb1 ntpdate python python-minimal samba samba-common tasksel
  ubuntu-minimal
0 upgraded, 0 newly installed, 0 to remove and 9 not upgraded.
root@debian:~# apt-get install samba
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  libcap2 samba-common
Suggested packages:
  openbsd-inetd inet-superserver smbldap-tools ldb-tools ufw
The following NEW packages will be installed:
  libcap2
The following packages will be upgraded:
  samba samba-common
2 upgraded, 1 newly installed, 0 to remove and 7 not upgraded.
Need to get 8415kB of archives.
After this operation, 2441kB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://ports.ubuntu.com jaunty/main libcap2 2.11-2 [11.0kB]
Get:2 http://ports.ubuntu.com jaunty/main samba 2:3.3.2-1ubuntu3 [4460kB]
Get:3 http://ports.ubuntu.com jaunty/main samba-common 2:3.3.2-1ubuntu3 [3944kB]
Fetched 8415kB in 11s (734kB/s)
Preconfiguring packages ...
Selecting previously deselected package libcap2.
(Reading database ... 15484 files and directories currently installed.)
Unpacking libcap2 (from .../libcap2_2.11-2_armel.deb) ...
Preparing to replace samba 2:3.2.5-3ubuntu1 (using .../samba_2%3a3.3.2-1ubuntu3_armel.deb) ...
 * Stopping Samba daemons                                                [ OK ]
Unpacking replacement samba ...
Preparing to replace samba-common 2:3.2.5-3ubuntu1 (using .../samba-common_2%3a3.3.2-1ubuntu3_armel.deb) ...
Unpacking replacement samba-common ...
Processing triggers for man-db ...
Setting up libcap2 (2.11-2) ...

Setting up samba-common (2:3.3.2-1ubuntu3) ...
Installing new version of config file /etc/dhcp3/dhclient-enter-hooks.d/samba ...

Package configuration


  敖陳陳陳陳陳陳陳陳陳陳陳陳陳調 Samba Server 団陳陳陳陳陳陳陳陳陳陳陳陳陳陳
  審 A new version of configuration file /etc/samba/smb.conf is available,
  崖 but the version installed currently has been locally modified.
  崖
  崖 What would you like to do about smb.conf?
  崖
  崖       install the package maintainer's version
  崖       keep the local version currently installed
  崖       show the differences between the versions
  崖       show a side-by-side difference between the versions
  崖       show a 3-way difference between available versions
  崖       do a 3-way merge between available versions (experimental)
  崖       start a new shell to examine the situation
  崖
  崖
  崖                                 
  崖
  垣陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳陳潰



Setting up samba (2:3.3.2-1ubuntu3) ...
Installing new version of config file /etc/init.d/samba ...
 * Starting Samba daemons                                                [ OK ]

Processing triggers for libc6 ...
ldconfig deferred processing now taking place
root@debian:~#
Starting Samba daemons だそうだ。
インストール(アップデート)で、 rc がセットアップされたようだ。

謎が解けた。



KURO-SHEEVA
楽天市場

←(前のページ)
合法的なプラグコンピュータ
当月のハックの記録
SheevaPlug/玄柴(KURO-SHEEVA)をハックしよう トップ
(次のページ)→
dnsmasq のインストール

Copyright (C) 2003-2010 Yasunari Yamashita. All Rights Reserved.
yasunari @ yamasita.jp 山下康成@京都府向日市