「人の心に残るというのが大事」と言う話。
何か連絡がある場合はメールでどうぞ(過去の日記へのツッコミは基本的にみていません)
プレゼントは随時受け付けております :-)
ここ最近のツッコミ/トラックバックリスト。
今回は…特に何をやったという記憶が無いので、あんまり感慨深くなく、calmな感じです。
1台だけsqueezeがあるので、wheezyにアップデート中。先にadduser user sudo してsudoグループにユーザーを放り込んでおいてあげると親切だと思うなー
→アップグレード作業は45分で終わった。リブートは人がいないと何かあった際に対応できないので後回し。
upgradeのチェックまでは入れた。hototで32sだから、実用にはなるんじゃないか?(tmpfs止めたら多分20分とかかかりそうだけど)
henrich@hp:~/src$ time sudo yasp test hotot_0.9.8.13+git20130311-4_amd64.changes kernel: Linux caching .deb files for hotot-common... caching .deb files for hotot-gtk... caching .deb files for hotot-qt... caching .deb files for hotot... INSTALL: install package(s)... dpkg: dependency problems prevent configuration of hotot-common: hotot-common depends on libjs-jquery; however: Package libjs-jquery is not installed. dpkg: error processing hotot-common (--install): dependency problems - leaving unconfigured Errors were encountered while processing: hotot-common dpkg: dependency problems prevent configuration of hotot-gtk: hotot-gtk depends on python (>= 2.6.6-7~); however: Package python is not installed. hotot-gtk depends on python (<< 2.8); however: Package python is not installed. hotot-gtk depends on hotot-common (= 1:0.9.8.13+git20130311-4); however: Package hotot-common is not configured yet. hotot-gtk depends on python-gtk2; however: Package python-gtk2 is not installed. hotot-gtk depends on python-gobject; however: Package python-gobject is not installed. hotot-gtk depends on python-webkit; however: Package python-webkit is not installed. hotot-gtk depends on python-keybinder; however: Package python-keybinder is not installed. hotot-gtk depends on python-notify; however: Package python-notify is not installed. hotot-gtk depends on python-dbus; however: Package python-dbus is not installed. hotot-gtk depends on libjs-jquery; however: Package libjs-jquery is not installed. dpkg: error processing hotot-gtk (--install): dependency problems - leaving unconfigured Errors were encountered while processing: hotot-gtk dpkg: dependency problems prevent configuration of hotot-qt: hotot-qt depends on libqt4-network (>= 4:4.7); however: Package libqt4-network is not installed. hotot-qt depends on libqtcore4 (>= 4:4.7.0~beta1); however: Package libqtcore4 is not installed. hotot-qt depends on libqtgui4 (>= 4:4.7); however: Package libqtgui4 is not installed. hotot-qt depends on libqtwebkit4 (>= 2.1.0~2011week13); however: Package libqtwebkit4 is not installed. hotot-qt depends on hotot-common (= 1:0.9.8.13+git20130311-4); however: Package hotot-common is not configured yet. dpkg: error processing hotot-qt (--install): dependency problems - leaving unconfigured Errors were encountered while processing: hotot-qt dpkg: dependency problems prevent configuration of hotot: hotot depends on hotot-gtk | hotot-qt; however: Package hotot-gtk is not configured yet. Package hotot-qt is not configured yet. dpkg: error processing hotot (--install): dependency problems - leaving unconfigured Errors were encountered while processing: hotot debconf: delaying package configuration, since apt-utils is not installed Done REMOVE: remove package(s)... Done PURGE: purge package(s)... debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline debconf: unable to initialize frontend: Dialog debconf: (No usable dialog-like program is installed, so the dialog based frontend cannot be used. at /usr/share/perl5/Debconf/FrontEnd/Dialog.pm line 76.) debconf: falling back to frontend: Readline Done Package version 1:0.9.8.13+git20130311-4 (in sid) Package vesrion 1:0.9.8.13+git20130311-4 (now you test) 1:0.9.8.13+git20130311-4 =< 1:0.9.8.13+git20130311-4, Skipping UPGRADE test... real 0m32.372s user 0m15.945s sys 0m7.376s
現状、正常系だけなのでテストデータ(ダミーのパッケージバージョンとか、preinst/postinst/prerm/postrmでこける奴とか)を作ってテストしないとまだダメか。
ISSで利用するマシンをWindowsからDebianへ移行する話。
まずは何故世界有数のソフトウェア企業Microsoftが10年以上の長期間、丁寧にサポートしているWindowsから、ボランティアで開発しているリリースバージョンのサポート期間は3年間のDebianに移るのか、という点。ちゃんと理由が書いてあるわけですね。
“We migrated key functions from Windows to Linux because we needed an operating system that was stable and reliable – one that would give us in-house control. So if we needed to patch, adjust or adapt, we could.” 「必要なら自分たちで手当てできるものが欲しいんだ」ってね。
そして "To manage all of the astronaut’s needs Chuvala was looking for newer, more robust enterprise support, which was achieved by moving from a Scientific Linux distribution to Debian 6."(より新しくて手厚いエンタープライズレベルなサポートを実現するために Scientific Linux から Debian へ移行した)というのはおもしろい。
先日、何かミラー遅くない?と言われたのを覚えていたので、多少なりとも速くする手段ないかなーと思いついたのがmod_cache。proxyをtmpfsに置く、というのも考えついたけど、こちらの方が手間が少なくて済むかな、とか。
とりあえずざっくり設定、1、2日様子見。
unstable に snmpd の 5.4.3 -> 5.7.2 を入れました。これで課題の一つを果たしたはず。
RFCがDFSG-freeじゃないので色々外さなきゃいけないのが多くて困るのですが、それはまた別の話ですね…BTSしておかないとダメかなぁ。
あるプロセスが特定のファイルへの書き込みを横取りするのをサイズゼロのファイルで置き換えて書き込む。例えばパッケージマネージャーが/usr/share/doc/hoge/README.HOGE という100MBのファイルを書き込もうとしていたら、 0byteのファイルにして書き込む。
というのを簡易にやるのはどうするのがいいのか。出来ればスクリプトで。
linux-3.10-rc1/include/uapi/linux/v4l2-subdev.h とか。
libsnmp30 に unversioned なファイルが含まれてるからpolicy violationだ!ってバグがファイルされてビクッとなったんだけど、よく見たら以前のバージョンもそうなっていた件。俺が入れたんじゃねーじゃん。。。
libsnmp-bin作ろうか、という話も出たんだけど、libsnmp-baseに含めてdescriptionとdependency改訂した方がいいような気がしている。
いい加減、使ってないパッケージなので良い形になったところで手を離したいんだけど…。うーん。
changelogから察するにmaintainerスクリプトはこんなところ。あとはinitスクリプトのちょっとしたところ。
--- debian/snmp.preinst 2013-05-20 06:58:26.451752769 +0900 +++ ubuntu/debian/snmp.preinst 2013-05-17 10:20:05.000000000 +0900 @@ -4,6 +4,8 @@ action="$1" +killall -u snmp 2>/dev/null || true + if [ "$action" = upgrade ] then if [ -L /usr/share/doc/snmp ]; then
#! /bin/sh set -e killall -u snmp 2>/dev/null || true #DEBHELPER# exit 0
ほんと、一声かけてほしいなぁ…
-6で入れた。
$ gsettings get org.gnome.gedit.preferences.encodings auto-detected ['UTF-8', 'CURRENT', 'ISO-2022-JP', 'SHIFT_JIS', 'EUC-JP']
$ CONF.sh $ make distclean $ make packagelists COMPLETE=1 $ make image-trees
最初、image-trees がこけて何が悪いのかと思ったら /usr/share/debian-cd/tools/start_new_disc で ../debian-faq.html.tar.gz探しに行ってるんだけどなぜかミラーしたデータにこれが存在していない?…あー!sourceをミラーしてないからか。一旦スクリプト側を変更してワークアラウンドしたんだけど、他でもこけて、それに思い当たった。
real 14m40.543s user 7m38.176s sys 4m6.864s
$ make images
ひたすら待つ。
Writing to 'stdio:/srv/mirror/debian-cd-test/debian-7.0-amd64-CD-9.iso' completed successfully. real 176m32.591s user 21m2.788s sys 2m6.056s
私のデスクトップマシンでamd64アーキテクチャ用のwheezyのCDイメージを全部ビルドすると約3時間かかることが判明。
piuparts が引っ張ってくるようだ。ほー。。。
Package: adequate Version: 0.5.3 Installed-Size: 96 Maintainer: Jakub WilkArchitecture: all Depends: perl (>= 5.12), debconf Description-en: Debian package quality testing tool adequate checks packages installed on the system and reports bugs and policy violations. . The following checks are currently implemented: * broken symlinks; * missing copyright file; * obsolete conffiles; * Python modules not byte-compiled; * /bin and /sbin binaries requiring /usr/lib libraries; * missing libraries and undefined symbols. Homepage: http://jwilk.net/software/adequate
_ tsekine [横取りのタイミングが良くわかrりません。 > 例えばパッケージマネージャーが/usr/share/doc/hoge..]