Debian

php 5.4 debian package memo

https://github.com/crocos/php5-5.4.x-deb わかっているダメな点 php5-sqlite で sqlite.ini と sqlite3.ini が作られてしまう。sqlite.so は作られないのに fpm の config がおかしい (修正済み debug build symbol がやっぱりけされちゃう dh_split しな…

debuild で失敗したときとりあえず patch だけはずす

$ QUILT_PATCHES=debian/patches quilt --quiltrc /dev/null pop -a -R -f

e1000eェ

再起動したら、eth0があがらなくなった。 SIOCSIFADDR: No such device eth0: ERROR while getting interface flags: No such device SIOCSIFNETMASK: No such device SIOCSIFBRDADDR: No such device eth0: ERROR while getting interface flags: No such d…

Debian の Xen 上の CentOS で 「INIT: Id "1" respawning too fast: disabled for 5 minutes」

先日のもろもろで、CentOS起動したと思ったんだけど、コンソールとろうとすると、起動時に INIT: Entering runlevel: 3 Entering non-interactive startup Bringing up loopback interface: [ OK ] Bringing up interface eth0: [ OK ] Mounting other files…

PTY allocation request failed on channel 0

xen で構築したホストにSSHしようとすると、 PTY allocation request failed on channel 0とかいって止まってしまったりする。そいつコンソールから入って、 # apt-get install udevで解決したりした。 参考 stdio系のコンソール(tty?)ができなくてdomUがそ…

etch は archive.debian.org に

今更etchつかわなくても・・・って話ではあるんだけど、etchな環境があって、apt-get update したら、 # apt-get update Ign http://ftp.jp.debian.org etch Release.gpg Ign http://ftp.jp.debian.org etch Release Ign http://ftp.jp.debian.org etch/main…

aptitude のインタラクティブな質問に自動でYって答える(confnewの選択)

% sudo apt-get -y install hogeとかでなんとかなるやつなら良いけど、たとえば、 Configuration file `/etc/hoge.conf' ==> File on system created by you or by a script. ==> File also in package provided by package maintainer. What would you like…