4/23にUbuntu 9.04がリリースされています。
今回もJeOSとして、初期状態がどんなものか確認を行いました。
サービス起動は最小に抑えられてるのは良いですが、微妙に消費が増えている様に思えます。
インストール直後は、aptのキャッシュ(50MB程度)が存在する為、apt-get clean後のdf結果を載せています。
AppArmorが標準で導入されているのは、若干気になります。
AppArmorのポリシーは読み方を知らない為、なんともいえないですが、解らないモノが入ってしまっているのは微妙感が残ってしまいます。
root@new-host:~# ps -ef
UID PID PPID C STIME TTY TIME CMD
root 1 0 0 05:57 ? 00:00:01 /sbin/init
root 2 0 0 05:57 ? 00:00:00 [kthreadd]
root 3 2 0 05:57 ? 00:00:00 [migration/0]
root 4 2 0 05:57 ? 00:00:00 [ksoftirqd/0]
root 5 2 0 05:57 ? 00:00:00 [watchdog/0]
root 6 2 0 05:57 ? 00:00:00 [events/0]
root 7 2 0 05:57 ? 00:00:00 [khelper]
root 8 2 0 05:57 ? 00:00:00 [kstop/0]
root 9 2 0 05:57 ? 00:00:00 [kintegrityd/0]
root 10 2 0 05:57 ? 00:00:00 [kblockd/0]
root 11 2 0 05:57 ? 00:00:00 [kacpid]
root 12 2 0 05:57 ? 00:00:00 [kacpi_notify]
root 13 2 0 05:57 ? 00:00:00 [cqueue]
root 14 2 0 05:57 ? 00:00:00 [ata/0]
root 15 2 0 05:57 ? 00:00:00 [ata_aux]
root 16 2 0 05:57 ? 00:00:00 [ksuspend_usbd]
root 17 2 0 05:57 ? 00:00:00 [khubd]
root 18 2 0 05:57 ? 00:00:00 [kseriod]
root 19 2 0 05:57 ? 00:00:00 [kmmcd]
root 20 2 0 05:57 ? 00:00:00 [btaddconn]
root 21 2 0 05:57 ? 00:00:00 [btdelconn]
root 22 2 0 05:57 ? 00:00:00 [pdflush]
root 23 2 0 05:57 ? 00:00:00 [pdflush]
root 24 2 0 05:57 ? 00:00:00 [kswapd0]
root 25 2 0 05:57 ? 00:00:00 [aio/0]
root 26 2 0 05:57 ? 00:00:00 [ecryptfs-kthrea]
root 30 2 0 05:57 ? 00:00:00 [scsi_eh_0]
root 31 2 0 05:57 ? 00:00:00 [scsi_eh_1]
root 32 2 0 05:57 ? 00:00:00 [kstriped]
root 33 2 0 05:57 ? 00:00:00 [kmpathd/0]
root 34 2 0 05:57 ? 00:00:00 [kmpath_handlerd]
root 35 2 0 05:57 ? 00:00:00 [ksnapd]
root 36 2 0 05:57 ? 00:00:00 [kondemand/0]
root 37 2 0 05:57 ? 00:00:00 [krfcommd]
root 210 2 0 05:57 ? 00:00:00 [mpt_poll_0]
root 547 2 0 05:57 ? 00:00:00 [scsi_eh_2]
root 606 2 0 05:57 ? 00:00:00 [kjournald]
root 726 1 0 05:57 ? 00:00:00 /sbin/udevd --daemon
root 1106 2 0 05:57 ? 00:00:00 [kpsmoused]
root 1765 1 0 05:57 tty4 00:00:00 /sbin/getty 38400 tty4
root 1766 1 0 05:57 tty5 00:00:00 /sbin/getty 38400 tty5
root 1772 1 0 05:57 tty2 00:00:00 /sbin/getty 38400 tty2
root 1773 1 0 05:57 tty3 00:00:00 /sbin/getty 38400 tty3
root 1774 1 0 05:57 tty6 00:00:00 /sbin/getty 38400 tty6
root 1835 1 0 05:57 ? 00:00:00 /usr/sbin/acpid -c /etc/acpi/events -s /var/run/acpid.socket
syslog 1870 1 0 05:57 ? 00:00:00 /sbin/syslogd -u syslog
root 1888 1 0 05:57 ? 00:00:00 /bin/dd bs 1 if /proc/kmsg of /var/run/klogd/kmsg
klog 1890 1 0 05:57 ? 00:00:00 /sbin/klogd -P /var/run/klogd/kmsg
daemon 1935 1 0 05:57 ? 00:00:00 /usr/sbin/atd
root 1960 1 0 05:57 ? 00:00:00 /usr/sbin/cron
root 1991 1 0 05:57 ? 00:00:00 dhclient3 -e IF_METRIC=100 -pf /var/run/dhclient.eth0.pid -lf /var/lib/dhcp3/dhclient.eth0.l
root 2307 1 0 06:07 ? 00:00:00 /usr/sbin/sshd
root@new-host:~# free
total used free shared buffers cached
Mem: 509304 129452 379852 0 9776 96324
-/+ buffers/cache: 23352 485952
Swap: 240932 0 240932
root@new-host:~# df -h
Filesystem Size Used Avail Use% Mounted on
/dev/sda1 3.8G 498M 3.1G 14% /
tmpfs 249M 0 249M 0% /lib/init/rw
varrun 249M 44K 249M 1% /var/run
varlock 249M 0 249M 0% /var/lock
udev 249M 140K 249M 1% /dev
tmpfs 249M 0 249M 0% /dev/shm
lrm 249M 2.4M 247M 1% /lib/modules/2.6.28-11-server/volatile
AppArmorのステータス状況
root@new-host:~# apparmor_status
apparmor module is loaded.
5 profiles are loaded.
5 profiles are in enforce mode.
/usr/lib/connman/scripts/dhclient-script
/sbin/dhclient3
/usr/sbin/tcpdump
/sbin/dhclient-script
/usr/lib/NetworkManager/nm-dhcp-client.action
0 profiles are in complain mode.
1 processes have profiles defined.
1 processes are in enforce mode :
/sbin/dhclient3 (1991)
0 processes are in complain mode.
0 processes are unconfined but have a profile defined.