なお、この記述は 2005/2/6 時点でのものなので、 インストールされるパッケージは異なる場合がある。
[root@hackkit /root]# apt-get update 取得:1 http://updates.vinelinux.org 2.6/ppc/base/pkglist.updates [124kB] ヒット http://www.t.ring.gr.jp 2.6/ppc/base/pkglist.main ヒット http://www.t.ring.gr.jp 2.6/ppc release.main 取得:2 http://www.t.ring.gr.jp 2.6/ppc/base/pkglist.updates [124kB] ヒット http://www.t.ring.gr.jp 2.6/ppc release.updates 取得:3 http://www.t.ring.gr.jp 2.6/ppc/base/srclist.main [118kB] ヒット http://updates.vinelinux.org 2.6/ppc release.updates 取得:4 http://updates.vinelinux.org 2.6/ppc/base/srclist.updates [50.4kB] ヒット http://www.t.ring.gr.jp 2.6/ppc release.main 取得:5 http://www.t.ring.gr.jp 2.6/ppc/base/srclist.updates [50.4kB] ヒット http://updates.vinelinux.org 2.6/ppc release.updates 無視 http://updates.vinelinux.org 2.6/$(ARCH)/base/mirrors 無視 http://updates.vinelinux.org 2.6/$(ARCH)/base/mirrors ヒット http://www.t.ring.gr.jp 2.6/ppc release.updates 無視 http://www.t.ring.gr.jp 2.6/$(ARCH)/base/mirrors 無視 http://www.t.ring.gr.jp 2.6/$(ARCH)/base/mirrors 取得完了: 467kB を 3s (118kB/秒) ファイル依存を処理しています... 完了 パッケージリストを読みこんでいます... 完了 依存情報ツリーを作成しています... 完了 W: http://www.t.ring.gr.jp/pub/linux/Vine/apt/ は認証を省略します。 W: http://www.t.ring.gr.jp/pub/linux/Vine/apt/ は認証を省略します。 W: http://updates.vinelinux.org/apt/ は認証を省略します。 W: http://updates.vinelinux.org/apt/ は認証を省略します。 [root@hackkit /root]# apt-get upgrade パッケージリストを読みこんでいます... 完了 依存情報ツリーを作成しています... 完了 以下のパッケージは保留されます: kernel-headers 以下のパッケージがアップグレードされます: apache perl proftpd rsync 4 個のアップグレードパッケージ, 0 個の新規パッケージ, 0 個の削除/リプレースパッケージ, 1 個の保留パッケージがあります。 取得パッケージ: 10.1MB のアーカイブを取得します。インストール後は 381kB が使用されます。 続行しますか? [Y/n]y 取得:1 http://www.t.ring.gr.jp 2.6/ppc/updates apache 1.3.27-0vl9 [585kB] 取得:2 http://www.t.ring.gr.jp 2.6/ppc/updates perl 1:5.6.1-0vl13 [8670kB] 取得:3 http://www.t.ring.gr.jp 2.6/ppc/updates proftpd 1:1.2.10-0vl0.1 [666kB] 取得:4 http://www.t.ring.gr.jp 2.6/ppc/updates rsync 2.5.7-0vl0.3 [148kB] 取得完了: 10.1MB を 44s (227kB/秒) RPM コマンドを実行しています (-U)... proftpd ################################################## rsync ################################################## apache ################################################## perl ################################################## [root@hackkit /root]#
[root@hackkit /root]# cd /etc/apt/
[root@hackkit apt]# mv sources.list{,.orig}
[root@hackkit apt]# echo 'rpm http://updates.vinelinux.org/apt 2.6.99/$(ARCH) main' > sources.list
[root@hackkit apt]# apt-get update
取得:1 http://updates.vinelinux.org 2.6.99/ppc/base/pkglist.main [5610B]
取得:2 http://updates.vinelinux.org 2.6.99/ppc release.main [123B]
無視 http://updates.vinelinux.org 2.6.99/$(ARCH)/base/mirrors
取得完了: 5733B を 0s (6458B/秒)
ファイル依存を処理しています... 完了
パッケージリストを読みこんでいます... 完了
依存情報ツリーを作成しています... 完了
W: http://updates.vinelinux.org/apt/ は認証を省略します。
[root@hackkit apt]# apt-get upgrade
パッケージリストを読みこんでいます... 完了
依存情報ツリーを作成しています... 完了
以下のパッケージがアップグレードされます:
apt popt rpm
3 個のアップグレードパッケージ, 0 個の新規パッケージ, 0 個の削除/リプレースパッケージ, 0 個の保留パッケージがあります。
取得パッケージ: 4001kB のアーカイブを取得します。インストール後は 4720kB が使用されます。
続行しますか? [Y/n]y
取得:1 http://updates.vinelinux.org 2.6.99/ppc/main popt 1.6.4-18vl10.26 [63.2kB]
取得:2 http://updates.vinelinux.org 2.6.99/ppc/main rpm 4.0.4-18vl10.26 [2820kB]
取得:3 http://updates.vinelinux.org 2.6.99/ppc/main apt 0.5.15.cnc.4-0vl0.1 [1118kB]
取得完了: 4001kB を 27s (145kB/秒)
RPM データベースを再構築しています(処理に数分かかることがあります)...
RPM コマンドを実行しています (-U)...
rpm ##################################################
NOTICE: RPM has updated to 4.0.4.
Please execute 'rpm --rebuilddb' to convert rpm database to new format.
警告: /etc/apt/sources.list は /etc/apt/sources.list.rpmnew として作成されます
apt ##################################################
popt ##################################################
[root@hackkit apt]# apt-get clean
[root@hackkit apt]# rpm --rebuilddb [root@hackkit apt]#
[root@hackkit apt]# echo 'rpm http://updates.vinelinux.org/apt 3.1/$(ARCH) main updates' > /etc/apt/sources.list [root@hackkit apt]# apt-get update 取得:1 http://updates.vinelinux.org 3.1/ppc release [2521B] 2521B を 0s 秒で取得しました (15.1kB/s) 取得:1 http://updates.vinelinux.org 3.1/ppc/main pkglist [215kB] 取得:2 http://updates.vinelinux.org 3.1/ppc/main release [123B] 取得:3 http://updates.vinelinux.org 3.1/ppc/updates pkglist [43.9kB] 取得:4 http://updates.vinelinux.org 3.1/ppc/updates release [126B] 259kB を 2s 秒で取得しました (86.5kB/s) パッケージリストを読みこんでいます... 完了 依存情報ツリーを作成しています... 完了 [root@hackkit apt]#
[root@hackkit apt]# apt-get clean [root@hackkit apt]# apt-get -d dist-upgrade パッケージリストを読みこんでいます... 完了 依存情報ツリーを作成しています... 完了 アップグレードパッケージを検出しています... 完了 以下のパッケージがアップグレードされます: MAKEDEV SysVinit alternatives apache apt bash bc bind bind-utils binutils bzip2 chkconfig console-tools cpio cracklib cracklib-dicts dev diffutils e2fsprogs ed file fileutils ftp gawk gcc gcc-cpp gdbm glib glibc glibc-common glibc-devel gnupg grep groff gzip hdparm inetd initscripts install-info iproute iputils less libtermcap logrotate losetup mailcap mailx make man mingetty mkinitrd mktemp modutils mount ncompress ncurses net-tools newt nkf ntp ntsysv openssl pam passwd patch perl pmac-utils popt postfix procmail proftpd psmisc pwdb quota readline rootfiles rpm rsync sed setup sh-utils shadow-utils slang sysklogd tar tcp_wrappers tcsh textutils tmpwatch unzip util-linux vixie-cron which words zlib 以下のパッケージが新たにインストールされます: cyrus-sasl db4 glib2 gpm libelf libgcc libstdc++3 libuser usermode vine-keyring vine-release 以下のパッケージは保留されます: kernel-headers アップグレード: 95 個, 新規インストール: 11 個, 削除: 0 個, 保留: 1 個 93.9MB のアーカイブを取得する必要があります。 展開後に 95.9MB が解放されます。 続行しますか? [Y/n]y 取得:1 http://updates.vinelinux.org 3.1/ppc/main binutils 2.14.90.0.7-1vl2 [3482kB] 取得:2 http://updates.vinelinux.org 3.1/ppc/updates glibc-devel 2.3.3-3vl1.1 [3002kB] : 得:103 http://updates.vinelinux.org 3.1/ppc/main quota 3.06-7vl1 [435kB] 取得:104 http://updates.vinelinux.org 3.1/ppc/main rsync 2.6.3-0vl1 [197kB] 取得:105 http://updates.vinelinux.org 3.1/ppc/main tmpwatch 2.9.0-2vl1 [13.8kB] 取得:106 http://updates.vinelinux.org 3.1/ppc/main unzip 5.50-5vl2 [169kB] 93.9MB を 9m15s 秒で取得しました (169kB/s) パッケージの取得が完了しました。(取得のみのモードです) [root@hackkit apt]#
[root@hackkit apt]# apt-get -d install gd パッケージリストを読みこんでいます... 完了 依存情報ツリーを作成しています... 完了 以下の追加パッケージがインストールされます: XOrg-libs binutils freetype2 glibc glibc-common glibc-devel libexpat libjpeg libpng 以下のパッケージがアップグレードされます: binutils glibc glibc-common glibc-devel 以下のパッケージが新たにインストールされます: XOrg-libs freetype2 gd libexpat libjpeg libpng アップグレード: 4 個, 新規インストール: 6 個, 削除: 0 個, 保留: 92 個 3023kB/41.6MB のアーカイブを取得する必要があります。 展開後に 112MB が解放されます。 続行しますか? [Y/n]y 取得:1 http://updates.vinelinux.org 3.1/ppc/main libexpat 1.95.7-1vl1 [69.7kB] 取得:2 http://updates.vinelinux.org 3.1/ppc/main freetype2 2.1.7-0vl4 [291kB] 取得:3 http://updates.vinelinux.org 3.1/ppc/updates XOrg-libs 6.7.0-0vl6.1 [2181kB] 取得:4 http://updates.vinelinux.org 3.1/ppc/main libjpeg 6b-21vl2 [145kB] 取得:5 http://updates.vinelinux.org 3.1/ppc/updates libpng 2:1.2.8-0vl1 [235kB] 取得:6 http://updates.vinelinux.org 3.1/ppc/updates gd 2.0.27-0vl2 [101kB] 3023kB を 18s 秒で取得しました (166kB/s) パッケージの取得が完了しました。(取得のみのモードです) [root@hackkit apt]#
[root@hackkit apt]# rpm -e nss_db-compat [root@hackkit apt]#
[root@hackkit apt]# cd /var/cache/apt/archives/ [root@hackkit archives]# ls glibc* glibc-common_2.3.3-3vl1.1_ppc.rpm glibc-devel_2.3.3-3vl1.1_ppc.rpm glibc_2.3.3-3vl1.1_ppc.rpm [root@hackkit archives]# rm glibc* rm: `glibc-common_2.3.3-3vl1.1_ppc.rpm' を削除しますか(yes/no)? y rm: `glibc-devel_2.3.3-3vl1.1_ppc.rpm' を削除しますか(yes/no)? y rm: `glibc_2.3.3-3vl1.1_ppc.rpm' を削除しますか(yes/no)? y [root@hackkit archives]# [root@hackkit archives]# rm nscd* rm: ``nscd*'' を削除できません: そのようなファイルやディレクトリはありません [root@hackkit archives]#
-rw-r--r-- 1 yasunari yamasita 14763545 Jan 30 05:06 glibc-2.3.3-3vl1.1hk1.ppc.rpm -rw-r--r-- 1 yasunari yamasita 17315635 Jan 30 05:26 glibc-common-2.3.3-3vl1.1hk1.ppc.rpm -rw-r--r-- 1 yasunari yamasita 29002448 Jan 30 05:34 glibc-debug-2.3.3-3vl1.1hk1.ppc.rpm -rw-r--r-- 1 yasunari yamasita 3001551 Jan 30 05:07 glibc-devel-2.3.3-3vl1.1hk1.ppc.rpm -rw-r--r-- 1 yasunari yamasita 29036445 Jan 30 05:15 glibc-profile-2.3.3-3vl1.1hk1.ppc.rpm -rw-r--r-- 1 yasunari yamasita 123820 Jan 30 05:34 glibc-utils-2.3.3-3vl1.1hk1.ppc.rpm -rw-r--r-- 1 yasunari yamasita 241438 Jan 30 05:26 nscd-2.3.3-3vl1.1hk1.ppc.rpm
[root@hackkit archives]# rpm -Uvh *.rpm 準備中... ########################################### [100%] 1:glibc-common ########################################### [ 0%] 2:glibc 警告: /etc/localtime は /etc/localtime.rpmnew として作成されます ########################################### [ 1%] : : : : 23:mailcap 警告: /etc/mime.types は /etc/mime.types.rpmsave として保存されます ########################################### [ 19%] : : : : 47:inetd 警告: /etc/inetd.conf は /etc/inetd.conf.rpmnew として作成されます ########################################### [ 40%] : : : : 56:binutils ########################################### [ 48%] install-info: そのようなファイルやディレクトリはありません for /usr/share/info/as.info.gz : : : : 76:ntp 警告: /etc/ntp.conf は /etc/ntp.conf.rpmnew として作成されます ########################################### [ 65%] : : : : 88:pam 警告: /etc/pam.d/system-auth は /etc/pam.d/system-auth.rpmnew として作成されます ########################################### [ 75%] : : : : 93:postfix ########################################### [ 80%] Adding tcp map entry to /etc/postfix/dynamicmaps.cf postalias: warning: My hostname hackkit is not a fully qualified name - set myhostname or mydomain in /etc/postfix/main.cf : : : : 96:bind 警告: /etc/rndc.conf は /etc/rndc.conf.rpmnew として作成されます ########################################### [ 82%] : : : : 103:vine-keyring ########################################### [ 88%] importing Vine Linux keyring to rpm keyring... done. 104:rpm ########################################### [ 89%] 105:apt 警告: /etc/apt/sources.list は /etc/apt/sources.list.rpmnew として作成されます ########################################### [ 90%] : : : : 114:initscripts 警告: /etc/inittab は /etc/inittab.rpmnew として作成されます ########################################### [ 98%] 115:quota ########################################### [ 99%] 116:vixie-cron ########################################### [100%] [root@hackkit archives]#
Vine Linux 3.1 (Pichon Lalande) Kernel 2.4.17_mvl21 on a ppc login: yasunari Password: -bash-2.05b$ログインできたなら OK
-bash-2.05b$ su - root Password: [root@hackkit root]#
[root@hackkit root]# cd /etc/apt/ [root@hackkit apt]# ls apt.conf apt.conf.rpmold rpmpriorities sources.list.orig translate.list.d/ apt.conf.d/ preferences sources.list sources.list.rpmnew vendors.list [root@hackkit apt]# cat sources.list rpm http://updates.vinelinux.org/apt 3.1/$(ARCH) main updates [root@hackkit apt]# cat sources.list.rpmnew # # apt for RPM source.list sample # ## ## Vine Linux 3.1 ## 標準では extras カテゴリは除外されています。extras カテゴリ内のパッケージ ## が必要な場合はコンポーネントリストに "extras" を追加してください。 # (masters) rpm [vine] http://updates.vinelinux.org/apt 3.1/$(ARCH) main devel plus updates rpm-src [vine] http://updates.vinelinux.org/apt 3.1/$(ARCH) main devel plus updates # # (ring mirror) # rpm [vine] http://www.ring.gr.jp/pub/linux/Vine/apt 3.1/$(ARCH) main devel plus updates # rpm-src [vine] http://www.ring.gr.jp/pub/linux/Vine/apt 3.1/$(ARCH) main devel plus updates # # (jaist mirror) # rpm [vine] ftp://ftp.jaist.ac.jp/os/linux/Vine/apt 3.1/$(ARCH) main devel plus updates # rpm-src [vine] ftp://ftp.jaist.ac.jp/os/linux/Vine/apt 3.1/$(ARCH) main devel plus updates # # (kddlabs mirror) # rpm [vine] ftp://ftp.kddlabs.co.jp/pub/Linux/distributions/Vine/apt 3.1/$(ARCH) main devel plus updates # rpm-src [vine] ftp://ftp.kddlabs.co.jp/pub/Linux/distributions/Vine/apt 3.1/$(ARCH) main devel plus updates [root@hackkit apt]# mv sources.list.rpmnew sources.list mv: ``sources.list'' を上書きしてもよろしいですか (yes/no)? y
[root@hackkit apt]# mv apt.conf apt.conf.orig
[root@hackkit apt]# cp apt.conf.orig apt.conf
[root@hackkit apt]# vi apt.conf
[root@hackkit apt]# diff -c apt.conf.orig apt.conf
*** apt.conf.orig 2004-11-03 00:18:25.000000000 +0900
--- apt.conf 2005-02-06 02:02:29.000000000 +0900
***************
*** 20,26 ****
Hold {"^kernel$"; "kernel-";
"^kernel24$"; "kernel24-";
! "^kernel22$"; "kernel22-"; };
}
Acquire
--- 20,28 ----
Hold {"^kernel$"; "kernel-";
"^kernel24$"; "kernel24-";
! "^kernel22$"; "kernel22-";
! "^glibc$"; "glibc-";
! "^nscd$"; "nscd-"; };
}
Acquire
[root@hackkit apt]#
[root@hackkit apt]# [root@hackkit apt]# apt-get update [root@hackkit apt]# apt-get update 取得:1 http://updates.vinelinux.org 3.1/ppc release [2521B] エラー http://updates.vinelinux.org 3.1/ppc release file could not be authenticated 2521B を 1s 秒で取得しました (2257B/s) 以下の取得に失敗しました: http://updates.vinelinux.org/apt/3.1/ppc/base/release file could not be authenticated パッケージリストを読みこんでいます... 完了 依存情報ツリーを作成しています... 完了 W: いくつかのリポジトリのリリースファイルが取得できませんでした。取得できなかったリポジトリは無視されます。 W: この問題を解決するためには 'apt-get update' を実行する必要があるかもしれません。 E: いくつかのインデックスファイルのダウンロードに失敗、無視、あるいは古いものが使用されました。 [root@hackkit apt]#apt-get update の一回目はなぜかエラーになる。もう一度実行する
[root@hackkit apt]# apt-get update 取得:1 http://updates.vinelinux.org 3.1/ppc release [2521B] 2521B を 0s 秒で取得しました (3063B/s) 取得:1 http://updates.vinelinux.org 3.1/ppc/main pkglist [215kB] 取得:2 http://updates.vinelinux.org 3.1/ppc/main release [123B] 取得:3 http://updates.vinelinux.org 3.1/ppc/devel pkglist [30.2kB] 取得:4 http://updates.vinelinux.org 3.1/ppc/devel release [124B] 取得:5 http://updates.vinelinux.org 3.1/ppc/plus pkglist [319kB] 取得:6 http://updates.vinelinux.org 3.1/ppc/plus release [123B] 取得:7 http://updates.vinelinux.org 3.1/ppc/updates pkglist [43.9kB] 取得:8 http://updates.vinelinux.org 3.1/ppc/updates release [126B] 取得:9 http://updates.vinelinux.org 3.1/ppc/main srclist [106kB] 取得:10 http://updates.vinelinux.org 3.1/ppc/devel srclist [14B] 取得:11 http://updates.vinelinux.org 3.1/ppc/plus srclist [173kB] 取得:12 http://updates.vinelinux.org 3.1/ppc/updates srclist [19.9kB] 908kB を 18s 秒で取得しました (48.2kB/s) パッケージリストを読みこんでいます... 完了 依存情報ツリーを作成しています... 完了 [root@hackkit apt]# apt-get upgrade パッケージリストを読みこんでいます... 完了 依存情報ツリーを作成しています... 完了 以下のパッケージがアップグレードされます: dhcp info jvim libstdc++2_10 libstdc++2_10-compat qpopper telnet-server 以下のパッケージは保留されます: LPRng kernel-headers アップグレード: 7 個, 新規インストール: 0 個, 削除: 0 個, 保留: 2 個 4456kB のアーカイブを取得する必要があります。 展開後に 801kB のディスク容量が追加消費されます。 続行しますか? [Y/n]y 取得:1 http://updates.vinelinux.org 3.1/ppc/plus dhcp 1:3.0pl2-6vl1 [601kB] 取得:2 http://updates.vinelinux.org 3.1/ppc/plus info 4.7-0vl1 [153kB] 取得:3 http://updates.vinelinux.org 3.1/ppc/plus jvim 3.0j2.1b-0vl3 [861kB] 取得:4 http://updates.vinelinux.org 3.1/ppc/plus libstdc++2_10 1:2.10.0-2vl24 [2243kB] 取得:5 http://updates.vinelinux.org 3.1/ppc/plus libstdc++2_10-compat 2.10.0-0vl4 [2493B] 取得:6 http://updates.vinelinux.org 3.1/ppc/plus qpopper 4.0.5-0vl1 [564kB] 取得:7 http://updates.vinelinux.org 3.1/ppc/plus telnet-server 0.17.x-30vl1 [31.2kB] 4456kB を 1m36s 秒で取得しました (46.2kB/s) 変更を適用しています... Preparing... ########################################### [100%] 1:dhcp ########################################### [ 14%] 2:info warning: /usr/share/info/dir created as /usr/share/info/dir.rpmnew ########################################### [ 28%] 3:jvim ########################################### [ 42%] 4:libstdc++2_10 ########################################### [ 57%] 5:libstdc++2_10-compat ########################################### [ 71%] 6:qpopper ########################################### [ 85%] 7:telnet-server ########################################### [100%] 完了 [root@hackkit apt]#
[root@hackkit apt]# cd [root@hackkit root]# find / -name '*.rpmnew' -print /etc/pam.d/system-auth.rpmnew /etc/localtime.rpmnew /etc/inetd.conf.rpmnew /etc/ntp.conf.rpmnew /etc/rndc.conf.rpmnew /etc/inittab.rpmnew /usr/share/info/dir.rpmnew [root@hackkit root]#
[root@hackkit root]# diff -c /etc/pam.d/system-auth{,.rpmnew}
*** /etc/pam.d/system-auth 2004-02-21 15:12:03.000000000 +0900
--- /etc/pam.d/system-auth.rpmnew 2004-10-13 11:59:06.000000000 +0900
***************
*** 1,14 ****
#%PAM-1.0
! auth required /lib/security/pam_env.so
! auth sufficient /lib/security/pam_unix.so likeauth nullok
! auth required /lib/security/pam_deny.so
! account required /lib/security/pam_unix.so
! password required /lib/security/pam_cracklib.so retry=3
! password sufficient /lib/security/pam_unix.so nullok use_authtok md5
! password required /lib/security/pam_deny.so
!
! session required /lib/security/pam_limits.so
! session required /lib/security/pam_unix.so
--- 1,15 ----
#%PAM-1.0
+ # This file is auto-generated.
+ # User changes will be destroyed the next time authconfig is run.
+ auth required /lib/security/$ISA/pam_env.so
+ auth sufficient /lib/security/$ISA/pam_unix.so likeauth nullok
+ auth required /lib/security/$ISA/pam_deny.so
! account required /lib/security/$ISA/pam_unix.so
! password required /lib/security/$ISA/pam_cracklib.so retry=3
! password sufficient /lib/security/$ISA/pam_unix.so nullok use_authtok md5 shadow
! password required /lib/security/$ISA/pam_deny.so
! session required /lib/security/$ISA/pam_limits.so
! session required /lib/security/$ISA/pam_unix.so
[root@hackkit root]# ls /etc/security/
access.conf chroot.conf console.apps/ console.perms group.conf limits.conf pam_env.conf time.conf
よくわからないが、元のままとする。
[root@hackkit root]# rm /etc/pam.d/system-auth.rpmnew rm: `/etc/pam.d/system-auth.rpmnew' を削除しますか(yes/no)? y [root@hackkit root]#
[root@hackkit root]# ls -l /etc/localtime* -rw-r--r-- 1 root root 73 Mar 20 2004 /etc/localtime -rw-r--r-- 1 root root 73 Dec 19 11:55 /etc/localtime.rpmnew [root@hackkit root]# cmp !$ cmp /etc/localtime* [root@hackkit root]#同じものなので消す
[root@hackkit root]# rm /etc/localtime.rpmnew rm: `/etc/localtime.rpmnew' を削除しますか(yes/no)? y [root@hackkit root]#
[root@hackkit root]# diff /etc/inetd.conf{,.rpmnew}
35c35
< telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
---
> #telnet stream tcp nowait root /usr/sbin/tcpd in.telnetd
57d56
< pop-3 stream tcp nowait root /usr/sbin/tcpd in.qpopper
[root@hackkit root]#
問題なし。消す。
[root@hackkit root]# rm -f /etc/inetd.conf.rpmnew [root@hackkit root]#
root@hackkit root]# diff /etc/ntp.conf{,.rpmnew}
14,17c14,15
< #server 127.127.1.0 # local clock
< #fudge 127.127.1.0 stratum 10
< server clock.nc.fukuoka-u.ac.jp
< server ntp2.jst.mfeed.ad.jp
---
> server 127.127.1.0 # local clock
> fudge 127.127.1.0 stratum 10
30,36d27
< # Authentication delay. If you use, or plan to use someday, the
< # authentication facility you should make the programs in the auth_stuff
< # directory and figure out what this number should be on your machine.
< #
< authenticate no
<
< #
[root@hackkit root]#
問題なし。消す。
[root@hackkit root]# rm /etc/ntp.conf.rpmnew rm: `/etc/ntp.conf.rpmnew' を削除しますか(yes/no)? y [root@hackkit root]#ただし、福岡大学の行は消しておく
[root@hackkit root]# mv /etc/ntp.conf{,.orig}
[root@hackkit root]# cp /etc/ntp.conf{.orig,}
[root@hackkit root]# vi /etc/ntp.conf
[root@hackkit root]# diff -c /etc/ntp.conf{.orig,}
*** /etc/ntp.conf.orig 2004-02-22 23:51:48.000000000 +0900
--- /etc/ntp.conf 2005-02-06 02:26:49.000000000 +0900
***************
*** 13,19 ****
#
#server 127.127.1.0 # local clock
#fudge 127.127.1.0 stratum 10
- server clock.nc.fukuoka-u.ac.jp
server ntp2.jst.mfeed.ad.jp
#
--- 13,18 ----
[root@hackkit root]#
[root@hackkit root]# diff -c /etc/rndc.conf{,.rpmnew}
*** /etc/rndc.conf 2004-02-23 00:32:31.000000000 +0900
--- /etc/rndc.conf.rpmnew 2004-10-28 08:02:03.000000000 +0900
***************
*** 1,21 ****
/*
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
! * THE SOFTWARE IS PROVIDED "AS IS" AND INTERNET SOFTWARE CONSORTIUM
! * DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL
! * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL
! * INTERNET SOFTWARE CONSORTIUM BE LIABLE FOR ANY SPECIAL, DIRECT,
! * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING
! * FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT,
! * NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION
! * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
*/
! /* $Id: rndc.conf,v 1.7 2001/01/09 21:40:45 bwelling Exp $ */
/*
* Sample rndc configuration file.
--- 1,21 ----
/*
+ * Copyright (C) 2004 Internet Systems Consortium, Inc. ("ISC")
* Copyright (C) 2000, 2001 Internet Software Consortium.
*
* Permission to use, copy, modify, and distribute this software for any
* purpose with or without fee is hereby granted, provided that the above
* copyright notice and this permission notice appear in all copies.
*
! * THE SOFTWARE IS PROVIDED "AS IS" AND ISC DISCLAIMS ALL WARRANTIES WITH
! * REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
! * AND FITNESS. IN NO EVENT SHALL ISC BE LIABLE FOR ANY SPECIAL, DIRECT,
! * INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
! * LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE
! * OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
! * PERFORMANCE OF THIS SOFTWARE.
*/
! /* $Id: rndc.conf,v 1.7.2.1 2004/03/09 06:09:27 marka Exp $ */
/*
* Sample rndc configuration file.
***************
*** 32,36 ****
key "rndckey" {
algorithm hmac-md5;
! secret "ghrHaQrDLsqjmUwCMqBuOpq0bquvmHzS0V0JBVOTOYujbFXIx0NveqKkZdjL";
};
--- 32,36 ----
key "rndckey" {
algorithm hmac-md5;
! secret "@KEY@";
};
[root@hackkit root]#
よくわからない(汗)ので上書きする。
[root@hackkit root]# mv /etc/rndc.conf.rpmnew /etc/rndc.conf mv: ``/etc/rndc.conf'' を上書きしてもよろしいですか (yes/no)? y [root@hackkit root]#
[root@hackkit root]# diff /etc/inittab{,.rpmnew}
31,32c31,32
< # Things to run in every runlevel.
< ud::once:/sbin/update
---
> # not needed for recent kernel.
> # ud::once:/sbin/update
48,53c48,53
< 1:2345:off:/sbin/mingetty tty1
< 2:2345:off:/sbin/mingetty tty2
< 3:2345:off:/sbin/mingetty tty3
< 4:2345:off:/sbin/mingetty tty4
< 5:2345:off:/sbin/mingetty tty5
< 6:2345:off:/sbin/mingetty tty6
---
> 1:2345:respawn:/sbin/mingetty tty1
> 2:2345:respawn:/sbin/mingetty tty2
> 3:2345:respawn:/sbin/mingetty tty3
> 4:2345:respawn:/sbin/mingetty tty4
> 5:2345:respawn:/sbin/mingetty tty5
> 6:2345:respawn:/sbin/mingetty tty6
[root@hackkit root]#
問題なし。消す。
[root@hackkit root]# rm /etc/inittab.rpmnew rm: `/etc/inittab.rpmnew' を削除しますか(yes/no)? y [root@hackkit root]#
続いて *.rpmold を探す
[root@hackkit root]# find / -name '*.rpmold' -print /etc/apt/apt.conf.rpmold [root@hackkit root]#
[root@hackkit root]# rm /etc/apt/apt.conf.rpmold rm: `/etc/apt/apt.conf.rpmold' を削除しますか(yes/no)? y [root@hackkit root]#クリーンインストール完了
|
← glibc-2.3.3-3vl1.1(3)アップデート |
ハックの記録 LinkStation/玄箱 をハックしよう |
→ Vine 3.1(14)開発環境の整備 |