<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>胡桃ヶ谷 &#187; linux</title>
	<atom:link href="http://unicus.jp/jir/archives/category/linux/feed" rel="self" type="application/rss+xml" />
	<link>http://unicus.jp/jir</link>
	<description>jir's log</description>
	<lastBuildDate>Tue, 22 Feb 2011 04:05:32 +0000</lastBuildDate>
	<language>ja</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>sfc-tools tutorial</title>
		<link>http://unicus.jp/jir/archives/277</link>
		<comments>http://unicus.jp/jir/archives/277#comments</comments>
		<pubDate>Tue, 22 Feb 2011 04:05:32 +0000</pubDate>
		<dc:creator>jir</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://unicus.jp/jir/?p=277</guid>
		<description><![CDATA[社内勉強会で話した sfc-tools のチュートリアル資料です。


]]></description>
			<content:encoded><![CDATA[<p>社内勉強会で話した sfc-tools のチュートリアル資料です。<br />
<span id="more-277"></span><br />
<iframe src="http://docs.google.com/gview?url=http://unicus.jp/~jir/archive/sfc-tools tutorial.pdf&#038;embedded=true" style="width:400px; height:300px;" frameborder="0"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://unicus.jp/jir/archives/277/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Japan Linux Conference にて発表を行いました</title>
		<link>http://unicus.jp/jir/archives/271</link>
		<comments>http://unicus.jp/jir/archives/271#comments</comments>
		<pubDate>Mon, 22 Nov 2010 14:29:26 +0000</pubDate>
		<dc:creator>jir</dc:creator>
				<category><![CDATA[NILFS2]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://unicus.jp/jir/?p=271</guid>
		<description><![CDATA[去る、11月12日の金曜日に Japan Linux Conference 2010 にて、「NILFS2 ソフトウェアツールの開発」という題目で発表をさせて頂きました。Webにて論文と発表資料とが公開されています。
]]></description>
			<content:encoded><![CDATA[<p>去る、11月12日の金曜日に <a href="http://lc.linux.or.jp/lc2010/index.html">Japan Linux Conference 2010</a> にて、「NILFS2 ソフトウェアツールの開発」という題目で発表をさせて頂きました。Webにて<a href="http://lc.linux.or.jp/lc2010/files/JLC2010-CP-01.pdf">論文</a>と<a href="http://lc.linux.or.jp/lc2010/files/JLC2010-CP-01-slide.pdf">発表資料</a>とが公開されています。</p>
]]></content:encoded>
			<wfw:commentRss>http://unicus.jp/jir/archives/271/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>文字コードのお話</title>
		<link>http://unicus.jp/jir/archives/265</link>
		<comments>http://unicus.jp/jir/archives/265#comments</comments>
		<pubDate>Thu, 02 Sep 2010 08:43:00 +0000</pubDate>
		<dc:creator>jir</dc:creator>
				<category><![CDATA[linux]]></category>
		<category><![CDATA[misc]]></category>

		<guid isPermaLink="false">http://unicus.jp/jir/?p=265</guid>
		<description><![CDATA[社内勉強会の資料をアップ。多少端折った説明になってます。


]]></description>
			<content:encoded><![CDATA[<p>社内勉強会の資料をアップ。多少端折った説明になってます。<br />
<span id="more-265"></span><br />
<iframe src="http://docs.google.com/viewer?url=http%3A%2F%2Funicus.jp%2F~jir%2Farchive%2Fcharcode.pdf&#038;embedded=true" width="400" height="300" style="border: none;"></iframe></p>
]]></content:encoded>
			<wfw:commentRss>http://unicus.jp/jir/archives/265/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>read only bind mount</title>
		<link>http://unicus.jp/jir/archives/237</link>
		<comments>http://unicus.jp/jir/archives/237#comments</comments>
		<pubDate>Tue, 23 Mar 2010 08:48:10 +0000</pubDate>
		<dc:creator>jir</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://unicus.jp/jir/?p=237</guid>
		<description><![CDATA[bind mount を -o ro を使って read only で mount しようとして、read only にできない。read only にするには、-o remount, ro と、remount 時に r [...]]]></description>
			<content:encoded><![CDATA[<p>bind mount を -o ro を使って read only で mount しようとして、read only にできない。read only にするには、-o remount, ro と、remount 時に ro に設定すればよい。</p>
<p><span id="more-237"></span>bind mount を使えば、directory を 別の場所にマウントできる。例えば、以下は /tmp を /mnt にマウントしている</p>
<blockquote><p># mount &#8211;bind /tmp /mnt<br />
# mount<br />
&#8230;<br />
/tmp on /mnt type none (rw,bind)</p></blockquote>
<p>read only で mount しよとすると -o ro をつけて以下の様に mount すればよいはずだが、実際は 、mount の見た目は ro にもかかわらず、rw になってしまう。</p>
<blockquote><p># mount &#8211;bind -o ro /tmp/ /mnt/<br />
# mount<br />
&#8230;<br />
/tmp on /mnt type none (ro,bind)<br />
# touch  /mnt/au</p></blockquote>
<p>read only にするために、remount を使う。remount 時に ro にするとなぜか read only にすることができる。</p>
<blockquote><p># mount -o remount,ro /mnt/<br />
# touch  /mnt/au<br />
touch: cannot touch `/mnt/au&#8217;: 読み込み専用ファイルシステムです</p></blockquote>
<p><strong>参考:</strong></p>
<ul>
<li><a title="Read-only bind mounts" href="http://lwn.net/Articles/281157/">Read-only bind mount</a>s</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://unicus.jp/jir/archives/237/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian で cert の update 方法</title>
		<link>http://unicus.jp/jir/archives/233</link>
		<comments>http://unicus.jp/jir/archives/233#comments</comments>
		<pubDate>Sun, 24 Jan 2010 15:42:22 +0000</pubDate>
		<dc:creator>jir</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://unicus.jp/jir/?p=233</guid>
		<description><![CDATA[cert を追加するには 「dpkg-reconfigure ca-certificates」

curl を使って https://twitter.com/ を取得したら certificate が信用ならんとエラーが [...]]]></description>
			<content:encoded><![CDATA[<p>cert を追加するには 「dpkg-reconfigure ca-certificates」</p>
<p><span id="more-233"></span></p>
<p>curl を使って https://twitter.com/ を取得したら certificate が信用ならんとエラーがでた</p>
<blockquote><p><span style="font-family: Courier,Monospaced;">$ curl <a rel="nofollow" href="http://www.google.com/url?sa=D&amp;q=https://twitter.com/&amp;usg=AFQjCNGCff5USuxWestsrVEsLYFNrz38DQ" target="_blank">https://twitter.com/</a><br />
curl: (60) SSL certificate problem, verify that the CA cert is OK. Details:<br />
error:14090086:SSL routines:SSL3_GET_SERVER_CERTIFICATE:certificate verify failed<br />
More details here: <a rel="nofollow" href="http://www.google.com/url?sa=D&amp;q=http://curl.haxx.se/docs/sslcerts.html&amp;usg=AFQjCNE9y80d-AqIphUIWU1mkd3nTwn99g" target="_blank">http://curl.haxx.se/docs/sslcerts.html</a> </span></p></blockquote>
<p>どうも、認証機関が追加されてないようだ。以下のようにして、再構成して追加すればよい。</p>
<blockquote><p>sudo dpkg-reconfigure ca-certificates</p></blockquote>
<p>参考文献</p>
<ul>
<li><span id="thread_subject_site"> <a href="http://tinyurl.com/ykpk9wj">Bug#563128: ca-certificates: curl and wget fail on https://twitter.com/ (but not iceweasel) </a></span></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://unicus.jp/jir/archives/233/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>コンテナ内でapacheの起動</title>
		<link>http://unicus.jp/jir/archives/229</link>
		<comments>http://unicus.jp/jir/archives/229#comments</comments>
		<pubDate>Mon, 02 Nov 2009 04:28:34 +0000</pubDate>
		<dc:creator>jir</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://unicus.jp/jir/?p=229</guid>
		<description><![CDATA[コンテナ内でapacheを起動して、&#8221;libgcc_s.so.1 must be installed for pthread_cancel to             work&#8221; というエラーが [...]]]></description>
			<content:encoded><![CDATA[<p>コンテナ内でapacheを起動して、&#8221;libgcc_s.so.1 must be installed for pthread_cancel to             work&#8221; というエラーが error.log に出ていたら、&#8221;<code>LoadFile /lib/libgcc_s.so.1"を設定ファイルに追記すれば回避出来る。</code></p>
<p><span id="more-229"></span></p>
<p>chroot 環境やコンテナ内で、apacheを起動すると error.log に 以下の様なメッセージが出て動作しない。</p>
<blockquote><p>&#8220;libgcc_s.so.1 must be installed for pthread_cancel to             work&#8221;</p></blockquote>
<p>この場合、apache.conf に以下の行を追加することで回避出来る。</p>
<blockquote><p><code>LoadFile /lib/libgcc_s.so.1</code></p></blockquote>
<p>参考: <a href="http://www.modsecurity.org/documentation/modsecurity-apache/1.9.3/html-multipage/06-special_features.html">http://www.modsecurity.org/documentation/modsecurity-apache/1.9.3/html-multipage/06-special_features.html</a></p>
]]></content:encoded>
			<wfw:commentRss>http://unicus.jp/jir/archives/229/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debianでrubygemsのupdate</title>
		<link>http://unicus.jp/jir/archives/182</link>
		<comments>http://unicus.jp/jir/archives/182#comments</comments>
		<pubDate>Sat, 16 May 2009 07:13:48 +0000</pubDate>
		<dc:creator>jir</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[ruby]]></category>

		<guid isPermaLink="false">http://unicus.jp/jir/?p=182</guid>
		<description><![CDATA[debianでrubygemsをupdateするには、rubygems-update gemをインストールして、/var/lib/gems/1.8/bin/update_rubygemsを実行する。
debiany/le [...]]]></description>
			<content:encoded><![CDATA[<p>debianでrubygemsをupdateするには、<code>rubygems-update gemをインストールして、/var/lib/gems/1.8/bin/update_rubygemsを実行する。</code></p>
<p><span id="more-182"></span>debiany/lenny の rubygems パッケージは 1.2.0 とバージョンが古い。gem は gem update &#8211;system で gem 自体の update を行う機能を持っているが、debian ではパッケージポリシーで禁止されている。実行しても、以下の様なエラーで止まってしまう。</p>
<blockquote><p># gem update &#8211;system<br />
ERROR:  While executing gem &#8230; (RuntimeError)<br />
gem update &#8211;system is disabled on Debian. RubyGems can be updated using the official Debian repositories by aptitude or apt-get.</p></blockquote>
<p>この場合、gemの中にrubygems-update があるので、インストールしupdateを実行すれば良い。</p>
<blockquote><p># gem install rubygems-update<br />
Successfully installed rubygems-update-1.3.3<br />
1 gem installed<br />
# /var/lib/gems/1.8/bin/update_rubygems</p></blockquote>
<p><strong>Reference:</strong></p>
<ul>
<li><a title="DebianパッケージのRubygemsを使う" href="http://docs.komagata.org/4099">DebianパッケージのRubygemsを使う</a></li>
<li><a title="RubyGemsを1.3にアップデートする手順" href="http://blog.s21g.com/articles/920">RubyGemsを1.3にアップデートする手順</a></li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://unicus.jp/jir/archives/182/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>debian/lenny で最新VirtualBox-ose を使う</title>
		<link>http://unicus.jp/jir/archives/163</link>
		<comments>http://unicus.jp/jir/archives/163#comments</comments>
		<pubDate>Fri, 08 May 2009 06:08:20 +0000</pubDate>
		<dc:creator>jir</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>
		<category><![CDATA[virtualbox]]></category>

		<guid isPermaLink="false">http://unicus.jp/jir/?p=163</guid>
		<description><![CDATA[debian/lenny には VirtualBox のOSE版パッケージがあるがバージョンが古い。新しいバージョンが debian backports にあるのでそれをインストール。インストール後、virtualbox [...]]]></description>
			<content:encoded><![CDATA[<p>debian/lenny には VirtualBox のOSE版パッケージがあるがバージョンが古い。新しいバージョンが debian backports にあるのでそれをインストール。インストール後、virtualbox-ose-sourceもインストールして、moduleをmodule-assistant でビルド。ビルドしたモジュールをインストールすれば新しいバージョンが使える。</p>
<p><span id="more-163"></span>debian/lenny には VirtualBox のOSE版パッケージがあるがバージョンが古い。debianのポリシーとして、bugfixやsecurity fix以外のアップグレードはなかなかでない。virtualbox に限らず、新しいバージョンが使いたい場合、 backports などのリポジトリを使うと新しいバージョンが入っている場合がある。</p>
<p>virtualbox ose 版は幸い新しいバージョンが入っていたので、それをインストールする。その為にはまず、backports のリポジトリを追加する必要がある。lenny-backports を追加するには、以下の apt line を /etc/apt/sources.list.d/ 以下に保存する。この時拡張子を list にする。</p>
<blockquote><p>$ cat /etc/apt/sources.list.d/backports.list<br />
deb http://www.jp.backports.org lenny-backports main contrib non-free<br />
deb-src http://www.jp.backports.org lenny-backports main contrib non-free</p></blockquote>
<p>各 debian リポジトリにある 鍵をインストールする。鍵をインストールしないと、そのリポジトリからインストールする度に毎回、以下のようなwarningが表示されてしまう。</p>
<blockquote><p>WARNING: The following packages cannot be authenticated!</p></blockquote>
<p>鍵のインストールは以下の通り。もちろんこの鍵のインストール時には上記のwarningが出る。</p>
<blockquote><p># aptitude update<br />
# apt-get install debian-backports-keyring</p></blockquote>
<p>これで、backportsのリポジトリが追加された。しかし、そのままでは backports に同じパッケージの新しいバージョンが存在しても利用できない。インストールの度に aptitude の -t オプションを使ってターゲットリリースを指定しても良いが、preference に追加することで各パッケージのターゲットリリースを指定できる。指定には /etc/apt/preferencesに以下の様に書く。</p>
<blockquote><p>$ cat /etc/apt/preferences<br />
Package: virtualbox-ose<br />
Pin: release a=lenny-backports<br />
Pin-Priority: 999</p>
<p>Package: virtualbox-ose-source<br />
Pin: release a=lenny-backports<br />
Pin-Priority: 999</p></blockquote>
<p>この設定の後、virtualbox-ose(及びvirtualbox-ose-source) が既にインストールされていれば、aptitude safe-upgrade なのでアップグレードが行われる。インストールされてない場合でも、aptitude install virtualbox-ose などと普段通りインストールすればbackports の新しいバージョンがインストールされる。</p>
<p>backportsのvirtualbox-ose は kernel-module を自動的に更新しない。そのため、virtualbox-ose-source をインストールして、システムのカーネル用にmoduleをコンパイルする必要がある。kernel moduleのコンパイルには、module-assistant パッケージを使う。module-assistant を初めて使う場合、カーネルヘッダなどの依存を prepare コマンドで行う。build時にはソースコードのパッケージであるvirtualbox-ose-source をインストールしておく。</p>
<blockquote><p># m-a prepare<br />
# m-a build virtualbox-ose</p></blockquote>
<p>コンパイルが正しく終わると install コマンドを使って、今ビルドした module をインストールできる。ビルドされたmoduleは /usr/src 以下にdeb化されているので、dpkgを使ってインストールしても良い。</p>
<blockquote><p># m-a install virtualbox-ose</p></blockquote>
<p>インストールしたmoduleはkernelにはまだ組み込まれないので、modprobe を使って組み込む。新しい virtualboxは vboxnetflt という ブリッジネットワーク用のモジュールがあるのでそれもインストールする。</p>
<blockquote><p># modprove vboxdrv<br />
# modprove vboxnetflt</p></blockquote>
<p>起動時に、このモジュールを組み込ませる為には /etc/modules に書いておく。</p>
<p><strong>まとめ</strong></p>
<ul>
<li>backports には新しいパッケージやバージョンがある</li>
<li>backports のパッケージのインストールは aptitude の -t か preferences で指定が必要</li>
<li>backports の virtualbox-oseはmoduleのビルドが必要</li>
<li>moduleのビルドにはvirtualbox-ose-source が必要。このパッケージも backports から持ってくる</li>
<li>moduleのビルドには module-assitantを利用</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://unicus.jp/jir/archives/163/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>ssh2でホストベース認証</title>
		<link>http://unicus.jp/jir/archives/150</link>
		<comments>http://unicus.jp/jir/archives/150#comments</comments>
		<pubDate>Mon, 20 Apr 2009 12:15:22 +0000</pubDate>
		<dc:creator>jir</dc:creator>
				<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://unicus.jp/jir/?p=150</guid>
		<description><![CDATA[sshのホストベース認証を利用する為には、サーバとクライアントの両方でホストベース認証(HostbasedAuthentication)をyesにし、互いのホストキーを /etc/ssh/ssh_known_hosts2 [...]]]></description>
			<content:encoded><![CDATA[<p>sshのホストベース認証を利用する為には、サーバとクライアントの両方でホストベース認証(HostbasedAuthentication)をyesにし、互いのホストキーを /etc/ssh/ssh_known_hosts2 に追加する(debian/lennyの場合)。また、サーバ側は /etc/hosts.equiv に クライアントを追加し、クライアント側ではEnableSSHKeysign を yes にする。</p>
<p><span id="more-150"></span></p>
<p>sshには様々な認証がある。そのなかの一つにホストベース認証がある。ホストベース認証を利用すると、同一ユーザが存在するホスト間で、ユーザの認証を省くことが可能になる。クラスタ等の大量ホスト上に同一のユーザが存在する場合、個々のホストどうしでホストベース認証をしておけば、ユーザ認証をせずにタスクをdispatchできる。</p>
<p>各ユーザは個々のホストでユーザネームが同一である必要があるが、uidは異なっていてもログインできる。</p>
<p>ホストベース認証を利用する為には、サーバとクライアントのどちらにも設定が必要になる。以下はdebian/lenny を使った場合の例である。</p>
<p><strong>クライアント:</strong></p>
<ol>
<li>以下を設定をssh_configに追加する。<br />
HostbasedAuthentication yes<br />
EnableSSHKeysign yes</li>
<li>サーバのホストキーをimportする。ssh-keyscan を使うと便利。<br />
# ssh-keyscan server1,server2,.. &gt; /etc/ssh/ssh_known_hosts2</li>
</ol>
<p><strong>サーバ:</strong></p>
<ol>
<li>以下を設定をssh_configに追加する。<br />
HostbasedAuthentication yes</li>
<li>/etc/hosts.equiv にクライアントのホスト名(またはIP address)を書く。</li>
<li>クライアントのホストキーをimportする。クライアント側でもsshdが動いてる場合は、クライアントの場合と同様に、ssh-keyscan が利用できる。クライアントでssh-server が動いていない場合は、
<ol>
<li>ホストキーを生成する。ホストキーはssh-keygenで以下の様に生成。既にある場合は新たに作る必要はない。<br />
# ssh-keygen -N &#8221; -t rsa -f /etc/ssh/ssh_host_rsa_key</li>
<li>ssh_host_rsa_key.pub をサーバにコピーし、ssh_known_hosts2 に追加する。追加時に、クライアントのホスト名(やIP address)をパブリックキーの先頭に追加する。<br />
# (echo -n client; cat ssh_host_rsa_key.pub) &gt; /etc/ssh/ssh_known_hosts2</li>
</ol>
</li>
</ol>
<p>クライアント側では、サーバのホストキーを/etc/ssh/ssh_known_hosts2 に保存せずに、個々のユーザの ~/.ssh/known_hosts に動的に保存させることも出来る。この場合、事前にサーバのホストキーを保存する必要はない。</p>
<p>逆に、サーバ側はユーザの known_hosts を無視することも出来る。これはsshd_configでIgnoreUserKnownHostsをyesに設定すれば良い。この設定をした場合は、クライアント側で /etc/ssh/ssh_known_hosts2 が存在しない場合には、ホストベース認証は行われず、別の認証に切り替わる。</p>
<p><strong>references:</strong></p>
<ul>
<li>ssh_config(5)</li>
<li>sshd_config(5)</li>
<li>hosts_equiv(5)</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://unicus.jp/jir/archives/150/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>gnome-keyring-daemon 起動方法</title>
		<link>http://unicus.jp/jir/archives/143</link>
		<comments>http://unicus.jp/jir/archives/143#comments</comments>
		<pubDate>Tue, 14 Apr 2009 10:09:45 +0000</pubDate>
		<dc:creator>jir</dc:creator>
				<category><![CDATA[debian]]></category>
		<category><![CDATA[linux]]></category>

		<guid isPermaLink="false">http://unicus.jp/jir/?p=143</guid>
		<description><![CDATA[gnome 環境以外で、gnome-keyring-daemonを起動するには、.xinitrc や .xsession などに、以下の行を追加しておく。
eval &#8220;`gnome-keyring-daemo [...]]]></description>
			<content:encoded><![CDATA[<p>gnome 環境以外で、gnome-keyring-daemonを起動するには、.xinitrc や .xsession などに、以下の行を追加しておく。</p>
<blockquote><p>eval &#8220;`gnome-keyring-daemon`&#8221;<br />
export GNOME_KEYRING_SOCKET<br />
export SSH_AUTH_SOCK<br />
export GNOME_KEYRING_PID</p></blockquote>
<p><span id="more-143"></span>gnomeアプリケーションはgnome-keyringを使って、パスワードを一元管理できる。パスワードを一元管理する為にはgnome-keyring-daemonを起動しておく必要がある。gnome-keyring-daemonを起動していない場合、gnome-keyring を使用しているアプリケーションが正しく動作しない場合がある。例えば、パスワードの入力が毎回必要になったり、ログインが出来なくなったりする。</p>
<p>gnome環境ではgnome-keyring-daemonは自動的に立ち上がるが、gnome環境を利用していない場合、手動でgnome-keyring-daemonを起動する必要がある。gnome-keyring-daemonは起動時に以下の様なメッセージを吐き出す。</p>
<blockquote><p>GNOME_KEYRING_SOCKET=/tmp/keyring-x9bpQO/socket<br />
SSH_AUTH_SOCK=/tmp/keyring-x9bpQO/socket.ssh<br />
GNOME_KEYRING_PID=9472</p></blockquote>
<p>この値をそのまま環境変数をセットすれば、keyring を利用するアプリケーションが正しくkeyringにアクセス出来るようになる。これを自動的に行うには、eval を使って以下の行を .xinit や .xsession に追加すれば良い。</p>
<blockquote><p>eval &#8220;`gnome-keyring-daemon`&#8221;<br />
export GNOME_KEYRING_SOCKET<br />
export SSH_AUTH_SOCK<br />
export GNOME_KEYRING_PID</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://unicus.jp/jir/archives/143/feed</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

