[tomoyo-users 738] Re: Tomoyo should be included in Debian Squeeze

Back to archive index

Toshiharu Harada harad****@nttda*****
2010年 5月 24日 (月) 17:50:30 JST


ということで、SqueezeでTOMOYOを動かしてみました。

準備
・unstableなDebian環境少々(最小構成のLennyをインストールしてから、
 source.lstにunstableを追加して作成したのですが、
 ダウンロードに時間がかかるわ、エラーは出るわで大変でした)
・tomoyo-toolsはまだパッケージ登録されていないので、自分で
 ダウンロードしておく
 wget
http://sourceforge.jp/frs/redir.php?f=/tomoyo/41908/tomoyo-tools-2.2.0-20100225.tar.gz

手順
・apt-get install linux-image-2.6.32
・ツールのmake install(2系なので、初期化処理に時間がかかります)
・/boot/grub/menu.lstを編集して、security=tomoyoを行末に追加
・再起動
・tomoyo-editpolicyで有効になっていることを確認

unstableなDebian環境さえ用意できていれば、ほとんど時間が
かかりません。

(2010/05/21 7:18), Toshiharu Harada wrote:
> 2010年5月20日16:45 Toshiharu Harada<harad****@nttda*****>:
>> (2010/05/19 14:42), Toshiharu Harada wrote:
>>> まだ、自分で試せていないのですが、やまねさん、Moritzさんらの
>>> 協力により、TOMOYOがDebian Squeezeで使えるようになりそうです。
>>>
>>> http://wiki.debian.org/Tomoyo
>>>
>>> 「tomoyo-tools は NEW queue で待ち」であと一週間程度とのこと。
>>>
>>> やまねさん、MoritzさんはじめDebian関係者の方々に感謝します。
>>
>> 試してみようと思って、Lennyを一度インストールしてから、
>> apt.sourceを編集して、
>>
>> deb http://ftp.debian.org/ unstable main contrib
>>
>> を追加しました。長い長いapt-get updateが終わり、システムが禁断の
>> unstableになったところで、apt-cache searchで
>> 探してみましたが、TOMOYOがenableされたlinux-image-2.6.32-5カーネルは
>> まだ作成されていないようです(AMDなどいくつかのパッケージについては、
>> ありました)。パッケージ名は、
>>
>> linux-image-2.6.32-5-<ARCH>_2.6.32-13_<ARCH>.deb
>>
>> のように2.6.32-13という名前を持つものになります。作成されたら、
>> ftp://ftp.debian.org/debian/pool/main/l/linux-2.6/
>> に置かれるようです。ダウンロードされる方は、
>> CONFIG_SECURITY_TOMOYOを確認し、もしyになっていなければ、
>> Debianプロジェクトにバグ報告を送ってください。(^^;
>>
>> tomoyo-tuoolsなどパッケージ追加等の最新状況は、Planet Debian JPが
>> 見やすいと思いました。
>> http://planet.debian.or.jp/
> 
> 686用のパッケージが作成されました。
> 
> root @ tomoyo:/tmp# wget
> ftp://ftp.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.32-5-686_2.6.32-13_i386.deb
> --2010-05-21 06:33:06--
> ftp://ftp.debian.org/debian/pool/main/l/linux-2.6/linux-image-2.6.32-5-686_2.6.32-13_i386.deb
>            =>  `linux-image-2.6.32-5-686_2.6.32-13_i386.deb'
> Resolving ftp.debian.org... 2001:610:1908:a000::149:226, 130.89.149.226
> Connecting to ftp.debian.org|2001:610:1908:a000::149:226|:21...
> failed: Connection timed out.
> Connecting to ftp.debian.org|130.89.149.226|:21... connected.
> Logging in as anonymous ... Logged in!
> ==>  SYST ... done.    ==>  PWD ... done.
> ==>  TYPE I ... done.  ==>  CWD (1) /debian/pool/main/l/linux-2.6 ... done.
> ==>  SIZE linux-image-2.6.32-5-686_2.6.32-13_i386.deb ... 27073232
> ==>  PASV ... done.    ==>  RETR
> linux-image-2.6.32-5-686_2.6.32-13_i386.deb ... done.
> Length: 27073232 (26M) (unauthoritative)
> 
> 100%[======================================================================================================>]
> 27,073,232   224K/s   in 2m 25s
> 
> 2010-05-21 06:35:56 (183 KB/s) -
> `linux-image-2.6.32-5-686_2.6.32-13_i386.deb' saved [27073232]
> 
> root @ tomoyo:/tmp# dpkg-deb -x linux-image-2.6.32-5-686_2.6.32-13_i386.deb .
> root @ tomoyo:/tmp# grep TOMOYO boot/config-2.6.32-5-686
> CONFIG_SECURITY_TOMOYO=y

-- 
原田季栄 (Toshiharu Harada)
harad****@nttda*****




tomoyo-users メーリングリストの案内
Back to archive index