43 西 Debian
西 Debian
2011 01 23
43 西 Debian 2011 01
1 Introduction
Debian JP
関西 Debian 勉強会は Debian GNU/Linux さまざまなトピ (新しいパケー, Debian 特有の機能の仕,
Debian , ) .
的と三ついま.
ML 示板, 直接せる報交
期的る場
料の
れで, 一時み下.
1
西Debian
1 Introduction 1
2 近の Debian 3
3 前課 5
4 Debian GNU/kFreeBSD 便 Tips 8
5 グ報のた 12
6 後の 18
2
43 西 Debian 強会 2011 01
2 Debian
Debian JP
2.1 squeeze
稿 squeeze ース具体 2 5 (RC
39 といです)ですでは squeeze 安定
です
1 RC バグ. 緑の 次期ース RC グの. 本原稿点で 39 です.
2011/01/22 ( 23 , 稿) Lenny point release(
るで) 5.0.8
*
1
*
1
http://www.debian.org/News/2011/20110122
3
2.2 42 西 Debian
回の西 Debian 12 23 阪福センかれ.
山さ Proxmox VE ンと関西 Debian 1 した
Proxmox つい便あまこと一役ので
か。機デや実の活用も交え紹介、わかりやすンだと思ますイントールさえししま
、中通に Debian 使
りかりの方は、去年の年初にあいた目標の状況おさらや、今年のネタをどう進めていくか、などを
検討し中してしたき続催しますろし
願い。提などでも
2.3 71 Debian
2010 12 18 催さ, libsane CACert の話す。
2.4 72 Debian
2011 1 15 開催され Debian 会のアンケーシステム説と、話題の kinnect Debian で使うセ
た。
た、 CACert 施さ最近 CACert
2 Kinect で踊
4
43 西 Debian 強会 2011 01
3
Debian JP
回は題をした.
つバけて. ご意要望まい.
加者んに以下です.
3.1
解決 て) texworks 使ない
: Debian squeeze,texworks ver0.2.3
: グな設定いかかわ
後の: 他の distro でも様な認し
Tex : イミ )を章をい。
の他: 申込なりいま
*
2
3.2
日まみつ。。
3.3
年、てバ告し正しえま今回望をみた思い本語
改善のでに状調べて
3.4
: Anthy 増やしい
3.5 dictoss( )
kfreebsd-amd64 iceweasel 使いるきにイパリンする
があのと読みのくるアーズ
*
2
いえ. 毎度ご参加ありがうございます ()
5
3.6
yaskkserv: daemon が動して /etc/init.d/yaskkserv restart ると error
% sudo /etc/init.d/yaskkserv stop
% sudo /etc/init.d/yaskkserv restart
Restarting yaskkserv: yaskkservkill: 297: Usage: kill [-s sigspec | -signum | -sigspec] [pid | job]... or
kill -l [exitstatus]
howm: howm-vars.el byte-compile old-style backqoutes
*
3
elscreen: emasc22 elscreen 使, にフ.
unstable はな backports .
ptex-base,ptex-bin (wishlist): UTF-8 せん.
3.7 dpqpqb
lenny ャッハン合が. 電源の長処し.
Debian 5.0.8
Kernel 2.6.26-2-686
GNOME 2.22.3
3.8
http://www.debian.org/releases/squeeze/armel/apds03.html.ja D.3.4.1. イル作成 ,
のようにして, デフルト静的デバイスル群を作成します.
# cd /dev
# MAKEDEV generic
の記ます, 通りると,
# MAKEDEV generic
.udevdb or .udev presence implies active udev. Aborting MAKEDEV invocation.
#
なり
3.9
バグについてですが, 以前にも話した事があるようにスクリプトやパケージが自分の 意図」と異なる動きをした
とき, それ バグ」なの 設定ミス」なのか分からないときがあります. Xen で言えば時刻の設定や iptables
forward DomainU 外部きななど.
3.10
reportbug ローイズてい. gettext グさてな. (図的? 使え,
暗にかしする)
*
3
稿執筆時に正箇所に気がいたので直ししまいました...
6
3.11 bpasao
(回答)
3.12 lurdan
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=607721
ITP サン.
3.13
gpsbabel-gui desktop ない.
7
43 西 Debian 強会 2011 01
4 Debian GNU/kFreeBSD 便
Tips
本典
4.1 Debian GNU/kFreeBSD
Debian GNU/kFreeBSD とは, Debian Project ペレグシ. Squeeze
技術ースこと.
*
4
4.1.1 Debian GNU/kFreeBSD
Debian GNU/kFreeBSD .
ーネ FreeBSD 8.1 ベーもの化さ. (7.3 ).
Linux バイ互換動か. (linux.ko ).
FreeBSD 8.2 , Debian GNU/kFreeBSD (2011/1/12
カーしい 8.2-rc1 ).
4.2 ZFS 使 Tips
4.2.1
PC 境で, sftp 実行てサーバから 1GB のフルをダウンロードする, audacious で再生中 MP3
が音飛びしま. クのクセ LED 消灯, 間連続点, 」を繰り返すようなデクアクセ
をし, HDD LED ます.
, PC の環.
ート PC VAIO TZ. 2.5inch HDD (SATA150 ) 250GB.
/ UFS, /home ZFS いる.
ZFS 定で, しな (compression=off) 設定.
生す MP3 sftp 1GB ZFS きす.
4.2.2 の推
スクのア LED してとき MP3 イル再生音飛るた, 1GB イルを書込み
MP3 込みなな.
*
4
http://www.debian.org/ports/kfreebsd-gnu/
8
ため, 大きいフ書きむ場合でクへ連続き込時間を短するうに ZFS パラータ調
すれは解えま.
ZFS ラメ定に FreeBSD 使, 公開ます.
*
5
4.2.3 ZFS ラメ調整す
ZFS 表示るに”sysctl” 使. 調メー’vfs.zfs.arc max’ ため,
在の認し.
$ sysctl -a | grep arc_max
vfs.zfs.arc_max: 428705280
400MB てい.
FreeBSD おけ ZFS ラメタ設”/boot/loader.conf すが, Debian GNU/kFeeeBSD
”/boot/loader.conf に記述しても効きません. また, カーネルの起動後に”sysctl’ コマンドを直接実行してもすで
ZFS subsystem 起動ためきな.
のた, grub パラとし方法まし.
$ sudo vim /etc/grub.d/10_kfreebsd
# ()
# から設定しているラメータ
set kFreeBSD.vfs.root.mountfrom=${kfreebsd_fs}:${kfreebsd_device}
set kFreeBSD.vfs.root.mountfrom.options=rw
# 回新しい設定値を加します.
set kFreeBSD.vfs.zfs.arc_max="100M"
# ()
$ sudo update-grub
$ sudo reboot
4.2.4
$ sysctl -a | grep arc_max
vfs.zfs.arc_max: 104857600
定し, 100MB なり. ストと音しなした.
パラメータ値はハードア環, スク負荷で個てくるた, んの使い方に合わせてニン
てみさい.
4.3 USB Tips
4.3.1 普通
Debian GNU/kFreeBSD ”ja JP.UTF-8” locale を使用しています. FAT32 でフーマてい
USB 本語イル合は mount 変換ます. ,
字コ換のウンます.
ると”libiconv.so” がなとい, ーに.
$ sudo mount_msdosfs -L ja_JP.UTF-8 -D CP932 /dev/da0 /mnt/usb
mount_msdosfs: Unable to load iconv library: libiconv.so: cannot open shared object file: No such file or directory
: No such file or directory
mount_msdosfs: msdosfs_iconv: No such file or directory
4.3.2 libiconv ルド
Debian には libiconv.so うラませ. , GNU サイ tarball
ウンして build .
*
5
http://wiki.freebsd.org/ZFSTuningGuide
9
$ cd
$ mkdir tmp
$ wget http://ftp.gnu.org/pub/gnu/libiconv/libiconv-1.13.1.tar.gz
$ tar zxvf libiconv-1.13.1.tar.gz
$ cd libiconv-1.13.1
$ ./configure
$ make
$ sudo make install
$ ls /usr/local/lib
charset.alias libcharset.so libiconv.la libiconv.so.2.5.0
libcharset.a libcharset.so.1 libiconv.so python2.6
libcharset.la libcharset.so.1.0.0 libiconv.so.2 site_ruby
mount . コマラー, /mnt/usb ls して, ?
され. 文字ドの失敗です.
$ sudo mount_msdosfs -L ja_JP.UTF-8 -D CP932 /dev/da0 /mnt/usb
4.3.3 コーの失
FreeBSD のカーネルで mount msdosfs UTF-8 文字コードを変換する処理は動作しないようです.
*
6
ため, る方 3 つあ.
USB モリ使わ 他人合は悪いる。
locale 定を”ja JP.eucJP’ (eucJP 換はるた)
時的 locale ”ja JP.eucJP” USB メモから HDD にコーし convmv UTF-8
を変その locale ”ja JP.UTF-8”
の環でに UTF-8 使, convmv 使た方介し.
ずは, ja JP.eucJP .
$ vim .xinitrc
# export LANGUAGE=’ja_JP.UTF-8’
# export LC_ALL=’ja_JP.UTF-8’
# export LANG=’ja_JP.UTF-8’
export LANGUAGE=’ja_JP.eucJP’
export LC_ALL=’ja_JP.eucJP’
export LANG=’ja_JP.eucJP’
$ startx
HDD ーし, たフしま.
$ sudo mount_msdosfs -L ja_JP.eucJP -D CP932 /dev/da0 /mnt/usb
$ mkdir ~/usbtmp
$ cd ~/usbtmp
$ cp -r /mnt/usb/* ./
$ convmv -r -f eucjp -t utf8 * --notest
locale に戻.
$ vim .xinitrc
export LANGUAGE=’ja_JP.UTF-8’
xxport LC_ALL=’ja_JP.UTF-8’
export LANG=’ja_JP.UTF-8’
# export LANGUAGE=’ja_JP.eucJP’
# export LC_ALL=’ja_JP.eucJP’
# export LANG=’ja_JP.eucJP’
$ startx
手間, locale ”ja JP.UTF-8”使を行で対とが.
4.4
常生使ると便下のつい, 調査.
*
6
日本語の UTF-8 へフ イル名を変換し mount できるようにするパチは FreeBSD を使う有志によて作成されているようですが,
GENERIC ネル取り込まれてないよう.
10
iceweasel . ( epiphany-browser 使).
Flash はり安定でき. (gnash はひまず purge ).
VAIO TZ (Fn 量はなくできが…).
LAN (iwn0 とし LAN はでるがなる)
IS03 使グす. (バをかし)
4.5
Debian GNU/kFreeBSD からに完るオのた, レー
テムの開発に関わりたい人にはてつのプロジクトです. Debian GNU/kFreeBSD を使, グし
がらろ勉たい.
11
43 西 Debian 強会 2011 01
5
がた
5.1
Debian 使なにを見としんなたはう行でし
Sid 使よく
でし
そんな時、/var/log/apt/term.log /var/log/aptitude のログを見て、アプデートしたパケージにアタリをつ
Debian バグテム (BTS:Bug Tracking System)
*
7
その見にす。
るとたのたバでにされ、結もすなかかとす。
んなためは不告以を当グ報て書たいす。
5.2
BTS 使いてもらなおさ
てバの基述べ
Debian BTS debbugs 呼ばれる Debian に特化したバグ報告システムを使ています debbugs はメール
ース BTS submit@bugs.debian.org メーことを登す。
ールの送り方は、メールの Subject にバグの内容についての要約を書きますメール本には BTS して受け
もらうための擬似ダを書きます。書方は本文 1 行目にパケージ名 2 行目にパケージのバーンを書き
。必じてグをそのの内いて
Subject: グについ
----
Package: <ージ>
Version: <ージバー>
Severity: <要度 critical|grave|serious|important|normal|minor|wishlist>
Tags: <>
下バグの内容を書
5.2.1 reportbug/reportbug-ng/debian-el 使
Debian グ報本はが、告の回手のは倒で
reportbug reportbu-ng 使定型れたは自埋め、バ正にな情も付てくので
グ報これまし
*
7
http://bugs.debian.org/
12
reportbug を初めて使う合はターミナルか reportbug GUI らは [] [ステムツール] [report-
bug] 実行 reportbug 初期始ま
詳しい初期設定の方法について あんどきめんてどでびあん 2009 年冬号」の GUI がついて格好良く
reportbug 使 [9] いてで参くだ
reportbug-ng を使う場合は、普段使うメーラー (MUA) と連携して利用するので、 reportbug-ng のメニーバー
[Edit] Mail Client MUA
emacs debian-el 入れて、 M-x debian-bug でいます
5.2.2 reportbug 使たバの仕
reportbug 使バグ告すは、 reportbug そのま起するグ報したジ名ねら
のでるか reportbug 起動
$ reportbug (ージ)
入力、そ存の覧がれる目をて、のがばバ
告にす。
reportbug の一の流れも あんどきめんどでびあ 2009 号」 GUI がつて格好良 report-
bug 使 [9] に書のでてく
5.3 Severity() Tags()
の基擬似ダに Severity() Tags() につ触れたがでは Debian
Debian BTS 者情
*
8
ら引、簡しま
5.3.1 Severity()
グの重要度は critical(命的) ら、 wishlist() での 7 階に分かています。通常使うの normal が多
思い
critical (命的) シス上の係のいソトウ (たはステ全体) 、重なデタの落を
す、そのールテム合。
grave () 題のケー使できほと使い。欠落
のパ使カウアクして場合
serious () Debian ポリーにて見ごせい違があ (大まかにうと must required」の
している)またはパージメンナあるいはリリースマネー意見としてそのパージがリリースに
して判断合。
important () 有用く損てい (ただ、誰てもに使くな
いる)
normal ()
minor () 影響かつたいないれる
wishlist () 来的主にの理修正困難
5.3.2 Tags()
グ報めらをつとが
りあえず抜き書きをしてみましが、個人的にはパチをつけたときに patch 使たことがあるような気がし
、そ意識使す。
*
8
http://www.debian.org/Bugs/Developer
13
patch () チが
解決場合題を場合 グは使ではせん
security (リテ) のバグはケージのセキ題を説明しま (: クセスされてはいけないデ
へのアクセスを許可する不正な許可属性がある、 やれるべきではない方法でシステムを制御できるバオー
ーフある DoS 撃のる、)んど critical ()
grave () severity () も設です
upstream () のバの部響し
l10n この、パです
sid/squeeze/lenny トリ
5.4
グ報告についてひと通り書ましが、タイトルにもあるよう Debian はパケーに由する具合ほかに、
Debian 関連があすべ BTS 管理
だけはわりにいでが、 reportbug の代りに otherと入する、こよう
するリ一れま
1 base General bugs in the base system
2 bugs.debian.org The bug tracking system, @bugs.debian.org
3 buildd.debian.org Problems and requests related to the Debian Buildds
4 buildd.emdebian.org Problems related to building packages for Emdebian
5 cdimage.debian.org CD Image issues
6 cdrom Problems with installation from CD-ROMs
7 debian-i18n Requests regarding Internationalization (i18n) of the
distribution
8 debian-maintainers Problems and requests related to Debian Maintainers
9 debian-policy Proposed changes in the Debian policy documentation
10 ftp.debian.org Problems with the FTP site and Package removal
requests
11 general General problems (e.g., that many manpages are mode
755)
12 installation-reports Problems with installing Debian
13 listarchives Problems with the WWW mailing list archives
14 lists.debian.org The mailing lists, debian-*@lists.debian.org.
15 mirrors Problems with Debian archive mirrors.
16 nm.debian.org New Maintainer process and nm.debian.org website
17 press Press release issues
18 project Problems related to project administration
19 qa.debian.org Problems related to the quality assurance group
20 release-notes Problems with the release notes
21 release.debian.org Requests regarding Debian releases and release team
tools
22 security-tracker The Debian Security Bug Tracker
23 security.debian.org Problems with the security updates server
24 snapshot.debian.org Issues with the snapshot.debian.org service
25 spam Spam (reassign spam to here so we can complain about
it)
26 tech-ctte Issues to be referred to the technical committee
27 upgrade-reports Reports of successful and unsucessful upgrades
28 wiki.debian.org Problems with the Debian wiki
29 wnpp Work-Needing and Prospective Packages list
30 www.debian.org Problems with the WWW site (including other
*.debian.org sites)
ンスやプリーイトいてといいてわか
す。
5.5 wishlist 使
うひ具合バグして wishlist() りま
wishlist() ケー使
加しらいや、で新ージされきに
願い合な使ます
wishlist 使い方で、要度 (severity) wishlist する
14
$ reportbug gpsbabel-gui (reportbug ケージ名つけて起動します)
Please briefly describe your problem (max. 100 characters allowed; you can
elaborate in a moment). This will be the bug email subject, so write a concise
summary of what is wrong with the package, for example, "fails to send email"
or "does not start with -q option specified" (type Ctrl+c to exit).
> Please include icon and desktop file. (望の要約を書きま)
reportbug けてす。ると約をれるの要きま
Rewriting subject to ’gpsbabel-gui: Please include icon and desktop file.’
Removing release critical severities, since running in ’novice’ mode.
How would you rate the severity of this problem or report?
1 important a bug which has a major effect on the usability of a package,
without rendering it completely unusable to everyone.
2 normal a bug that does not undermine the usability of the whole package;
for example, a problem with a particular option or menu item.
3 minor things like spelling mistakes and other minor cosmetic errors
that do not affect the core functionality of the package.
4 wishlist suggestions and requests for new features.
Please select a severity level: [normal] 4 (wishlist 指定します。)
グの尋ねで、 4 番の wishlist を選す。
Spawning sensible-editor... (タが起動ます)
Subject: gpsbabel-gui: Please include icon and desktop file.
Package: gpsbabel-gui
Version: 1.4.2-1
Severity: wishlist
*** Please type your report below this line ***
(こに要望の内容をきま)
(下略)
*** Please type your report below this line ***」以下に要望を書き終えれば、通常のバグ報告と同じように
submit@bugs.debian.org メーだけ
5.6
ケージ作成につわバグ告ときまたが ケーがなのにバグ告とはなぞや?思わるか
しれ
成すには ケーを作望を告と出す
とかート
不具いバの章出すいう
29 wnpp Work-Needing and Prospective Packages list
WNPP(Work-Needing and Prospective Packages) 始ま
(と偉そうに書いていますが WNPP をしたことがないので、 Debian 作業が望まれるケージ: http://www.
debian.org/devel/wnpp/ 書いとを。何願い)
$ reportbug
Please enter the name of the package in which you have found a problem, or
type ’other’ to report a more general problem.
> other
reportbug 動し other
15
Please enter the name of the package in which you have found a problem, or
choose one of these bug categories:
1 base General bugs in the base system
()
29 wnpp Work-Needing and Prospective Packages list
30 www.debian.org Problems with the WWW site (including other
*.debian.org sites)
Enter a package: 29
グのーをるの 29 WNPP びま
Are you sure you want to file a WNPP report? [y|N|q|?]? y
1 ITP This is an ‘Intent To Package’. Please submit a package description
along with copyright and URL in such a report.
2 O The package has been ‘Orphaned’. It needs a new maintainer as soon as
possible.
3 RFA This is a ‘Request for Adoption’. Due to lack of time, resources,
interest or something similar, the current maintainer is asking for
someone else to maintain this package. They will maintain it in the
meantime, but perhaps not in the best possible way. In short: the
package needs a new maintainer.
4 RFH This is a ‘Request For Help’. The current maintainer wants to continue
to maintain this package, but they needs some help to do this, because
their time is limited or the package is quite big and needs several
maintainers.
5 RFP This is a ‘Request For Package’. You have found an interesting piece of
software and would like someone else to maintain it for Debian. Please
submit a package description along with copyright and URL in such a
report.
Choose the request type: 5
WNPP 中でのかれま
ITP: (Intent To Package)
O: (Orphaned)
RFA: ケーき取 (Request for Adoption)
RFH: を手 (Request For Help)
RFP: (Request For Package)
ので 5 RFP を選
Please enter the proposed package name: sahana-eden
Checking status database...
Please briefly describe this package; this should be an appropriate short
description for the eventual package:
> Disaster management system made from web2py
説明ますえるす。
Spawning sensible-editor...
Subject: RFP: sahana-eden -- Disaster Management System made by web2py
Package: wnpp
Severity: wishlist
*** Please type your report below this line ***
* Package name : sahana-eden
Version : 0.5.3
Upstream Author : Name <somebody@example.org>
* URL : https://launchpad.net/sahana-eden
* License : MIT/X
Programming Lang: Python
Description : Disaster Management System made by web2py
Sahana Eden is an Emergency Development Environment which allows the
rapid deployment of customisable tools to support the 4 phases of the
Emergency Management Cycle as well as Development & Environment
projects. It is an example of an HFOSS project (Humanitarian FOSS)
き終存し
16
Report will be sent to "Debian Bug Tracking System" <submit@bugs.debian.org>
Wrong line: Upstream Author : Name <somebody@example.org>
ERROR: you have composed an ITP with fields unchanged from the template; this will NOT be submitted. You should
edit all fields so they contain correct values for your ITP (e to edit) [E|q|?]?
当にるとしま。ととで E で戻 submit@bugs.debian.org
れば RFP はおです
5.6.1 RFP ITP
の辺と自知のすが
れをケージ化することにしたら、このプログラム ケージ化の作業中ことをほかの人に知らせ、さら
たがそのバグ 有者となるために グレポートを RFP」か ITP」に改称ます。それか フト
のパ このじま
のこ control@bugs.debian.org Debian BTS http://www.debian.org/Bugs/
server-control.ja.html を参てコルメれば
owner (グ番) !
retitle (グ番) ITP: sahana-eden -- Disaster Management System made by web2py
thanks
調べき
5.7
具合けでバグ書きたががででし使うこい事めた
で大た。
[1] Debian Debian BTS - グを http://debian.org/Bugs/Reporting
[2] Debian 業が http://www.debian.org/devel/wnpp/
[3] Debian 開発者リ ンス 5 ケージの取扱い方 http://www.jp.debian.org/doc/manuals/
developers-reference/pkgs.html#newpackage
[4] ITP ( 2005 ) http:
//tokyodebian.alioth.debian.org/pdf/debianmeetingresume2005-fuyu.pdf pp. 3 7
[5] claim makes Debian better ( きゅ てっ 2005 ) http://
tokyodebian.alioth.debian.org/pdf/debianmeetingresume2005-fuyu.pdf pp. 26 29
[6] 上川純一 debbugs internal (んどき めんて どでびあん 2005 年冬号) http://tokyodebian.alioth.
debian.org/pdf/debianmeetingresume2005-fuyu.pdf pp. 31 38
[7] 木下達也 バグレポートから参加す Debian ケージ開発 (あんどき めんてどでびあん 2008 年夏号)
http://tokyodebian.alioth.debian.org/pdf/debianmeetingresume2008-natsu.pdf pp. 76 78
[8] MC-MPI/GXP パッ (きゅ てっ 2009 ) http:
//tokyodebian.alioth.debian.org/pdf/debianmeetingresume2009-natsu.pdf pp. 77 83
[9] GUI 好良 reportbug を使てみ (あん 2009
) http://tokyodebian.alioth.debian.org/pdf/debianmeetingresume2009-fuyu.pdf pp. 61 66
17
43 西 Debian 勉強 2011 01
6
Debian JP
6.1 西 Debian
の関西 Debian 会は 2 27 (), 福島民センタか大阪港区民センーのどちかで行われる
です.
表に未定, みな表をして.
6.2 4 IT + 2011Kansai@Kobe
4 15 (), 16 () JR ぐのンタ, IT +
カン 2011Kansai@Kobe どう.
18
西Debian
Debian
2011 01 23 1
西 Debian ( )
19