2016-11-09 (Wed)

_ [comp] 続・uim: Make the GNOME Panel applet compatible with libpanel-applet2

usr/lib/*/uim/libuim-toolbar-applet-gnome3.so に SOVERSION がついてるなあと思っていたら、修正 pull-req が来ていたので適用。> Link the panel applet plugin with -module -avoid-version

2016-11-08 (Tue)

_ [debian] update-alternatives and xdg-settings

わけあって Google Chrome を入れたけど、メインのブラウザは firefox を使っていたい。なので update-alternatives –config x-www-browser と update-alternatives –config gnome-www-browser で firefox にプライオリティを変更した。 でも、アプリからリンクを開こうとすると Chrome が起動してしまう。どういやら xdg-open を使ってリンクを開いているようだ。そこで

xdg-settings set default-web-browser firefox.desktop

として xdg-open でも firefox を開くようにした。

2016-11-07 (Mon)

_ [comp] docker vs systemd 232

Docker が

invalid header field value "oci runtime error: container_linux.go:247: 
starting container process caused \"process_linux.go:359: container init caused \\\\"rootfs_linux.go:53: mounting \\\\\\\"cgroup\\\\\\\" to rootfs \\\\\\\"/var/lib/docker/devicemapper/mnt/8c26d2f3ae0b4d69b4375705d3c5b03386e64c9cec69dd012e972f2055acf820/rootfs\\\\\\\" at \\\\\\\"/sys/fs/cgroup\\\\\\\" caused \\\\\\\"no subsystem for mount\\\\\\\"\\\"\"\n" 

みたいな具合に動かなくなった。探してみると Can not run any docker container (fresh install after reboot) とあった。そこからたどれる Cannot start a container with systemd 232 で、systemd の問題?なのでブートパラメータにオプションを追加してやればいいみたい。/etc/default/grub で

-GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset"
+GRUB_CMDLINE_LINUX_DEFAULT="quiet nomodeset systemd.legacy_systemd_cgroup_controller=yes"

として update-grub2 して再起動してやることで Docker が動くようになった。