67
. . Debian 7.0 “Wheezy” 66 回関西 Debian 勉強会@KOF2012佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami Debian JP Project/関西 Debian 勉強会 2012 11 10 - : 大阪南港 ATC 9F room #3

Debian 7.0 “Wheezy”2012.k-of.jp/sites/all/files/slides/debianmeetingresume...Debian 7.0 “Wheezy” ˘第66回関西Debian勉強会@KOF2012˘ 佐々木洋平/Youhei SASAKI mailto:

  • Upload
    others

  • View
    5

  • Download
    0

Embed Size (px)

Citation preview

  • .

    .

    Debian 7.0 “Wheezy”∼第 66回関西Debian勉強会@KOF2012∼

    佐々木洋平/Youhei SASAKImailto: [email protected]

    twitter/IRC nic: uwabami

    Debian JP Project/関西 Debian勉強会

    2012年 11月 10日 -於: 大阪南港 ATC 9F room #3

  • どーも

  • 佐々木です

  • bg=white

    About me...

    佐々木洋平/ Youhei SASAKITwitter / @uwabamiDebian JP Project/関西Debian勉強会Ruby, TeX, GIS, Scientific Computing,etc...普段: 大学で数値計算とか流体力学とか.

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 4/66

  • bg=white

    Disclaimer

    用法,用量を守って正しくお使い下さい誤字脱字含め,適宜ご指摘下されば幸いです.疑問,質問,ツッコミ,茶々,大歓迎その場でインタラクティブにどうぞ

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 5/66

  • 今回のお話

  • Wheezy

  • bg=white

    Debian 7.0 ”Wheezy” isnow under freeze!!

    To: [email protected]: 5... 4... 3... 2... 1...From: "Adam D. Barratt" Date: Sat, 30 Jun 2012 21:20:55 +0100

    Hi,

    As previously announced[1], testing is now frozen.

    - snip -

    Adam,for the Debian Release Team

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 9/66

  • と,いうわけで

  • bg=white

    Agenda

    「フリーズって何?」Debianのリリースサイクルについて「で、Wheezyってどうよ?」Debian 7.0 ”Wheezy”の変更点、現状「ところで次のリリースは?」次期リリース Debian 8.0(?) へ向けて

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 11/66

  • bg=white

    Agenda

    「フリーズって何?」Debianのリリースサイクルについて「で、Wheezyってどうよ?」Debian 7.0 ”Wheezy”の変更点、現状「ところで次のリリースは?」次期リリース Debian 8.0(?) へ向けて

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 11/66

  • フリーズって何?

  • DebianInfographics

  • bg=white

    Debianの「ディストリビューション」

    3つの「ディストリビューション」stable, testing, unstableディストリビューション以外の「リポジトリ」updates(旧 volatile), security-updatesbackports, experimental

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 15/66

  • Debianのリリースサイクル

  • よくある誤解

  • bg=white

    今までのリリースサイクル

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 23/66

  • bg=white

    今までのリリースサイクル

    Debianのリリースは予測不可能/遅れるのが当たり前Etchからほぼ 2年毎のリリース

    3.1 ”Sarge” : 約 3年4.0 ”Etch” : 22ヶ月5.0 ”Lenny” : 22ヶ月6.0 ”Squeeze” : 24ヶ月

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 24/66

  • bg=white

    Time Based Release Freeze

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 25/66

  • bg=white

    Time Based Release Freeze

    testingのフリーズは 2年単位になった!!Squeezeの Freeze / 2010/08/06→ 2011/02/06リリース!Wheezyの Freeze 2012/06/30→ 2012/12?利点:使用者: リリースの時期を予測できる開発者: 長期プランを立てやすくなる

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 26/66

  • bg=white

    まとめ: Debianのリリースサイクル

    Debian =常に進化し続けるディストリビューションstable, testing, unstable頑健な「stable」と最前線を疾走する「unstable」

    Time Based Release Freeze「リリースが遅い/読めない」→約二年毎の安定版のリリース定期的なリリースフリーズによる ”huge jump”の回避

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 27/66

  • Have anyquestions?

  • Debian ”7.0”Wheezy

  • いまここ!

  • 2012/11/10現在RCバグ: 455

  • Wheezyのリリースゴール

  • bg=white

    Wheezyのリリースゴール (1)

    Multiarchへの移行kFreeBSD (←テクノロジープレビューだった)IPv6完全サポートラージファイルサポート.laファイルの削除

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 36/66

  • bg=white

    Wheezyのリリースゴール

    Multiarchへの移行kFreeBSD (←テクノロジープレビューだった)IPv6完全サポートラージファイルサポート.laファイルの削除

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 37/66

  • bg=white

    Multiarch

    同一のシステム上で、異なるハードウェアアーキテクチャのライブラリ等をインストールする仕組み/usr/lib/→ /usr/lib/x86 64-linux-gnu何が嬉しいのか?類似のアーキテクチャを一緒に動作させることができる→ i386 on amd64, armel on armhfクロスビルド環境の構築が容易になる

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 38/66

  • bg=white

    Multiarch: どうやって?

    # dpkg --add-architecture i386# dpkg --print-foreign-architecturesi386# echo "deb [arch=i386,amd64] \http://ftp.jp.debian.org/debian/ wheezy main" \> /etc/apt/sources.list

    # apt-get update# apt-get install libc6:i386# dpkg --remove-architecture i386

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 39/66

  • bg=white

    Wheezyのリリースゴール (2)

    New for WheezySecurity hardening build flags/runへの移行Video4Linux1を使っているパッケージの修正および削除/dev/dspを使っているパッケージの修正および削除

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 40/66

  • bg=white

    Wheezyのリリースゴール

    New for WheezySecurity hardening build flags/runへの移行Video4Linux1を使っているパッケージの修正および削除/dev/dspを使っているパッケージの修正および削除

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 41/66

  • bg=white

    Security hardening build flags

    パッケージ構築時にセキュリティを強化するコンパイルフラグを (デフォルトで)有効にする。

    Format string checks( -Wformat -Werror=format-security)format使う関数(例えば printf)の使用が問題を引き起こす可能性がある場合に警告する。FORTIFY SOURCE文字列やメモリの操作を行う関数を使用する際にバッファオーバーフローを検出する。

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 42/66

  • bg=white

    Security hardening build flags

    パッケージ構築時にセキュリティを強化するコンパイルフラグを (デフォルトで)有効にする。

    -fstack-protector –param=ssp-buffer-size=4スタック破壊攻撃等によるバッファオーバーフローをチェックするための追加コードを生成する。4バイトを超える配列を持つ関数を対象にする。-z,now,-z,relroリロケーション領域 (GOTなど)をリードオンリーにする。

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 43/66

  • bg=white

    Wheezyのリリースゴール

    New for WheezySecurity hardening build flags/runへの移行Video4Linux1を使っているパッケージの修正および削除/dev/dspを使っているパッケージの修正および削除

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 44/66

  • bg=white

    /run

    bootの早い段階で一時ディレクトリを用意/var/run→ /run/var/lock→ /run/lock/dev/shm→ /run/shm/tmp→ /run/mp

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 45/66

  • 主なパッケージのバージョン

  • bg=white

    主なパッケージのバージョン / 1

    Kernel: Linux 3.2, Freebsd 8.3, 9.0libc: eglibc 2.13GNU Compiler Collection:

    4.7.1 (i386/amd64のみ)、4.6.3 (i386/amd64以外)

    OpenJDK: 6b24-1.11.3, 7 u3-2.1.1

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 47/66

  • bg=white

    主なパッケージのバージョン / 2

    Xorg X11R7.7GNOME 3.4, KDE 4.8, Xfce 4.8Iceweasel 10.0.6esr-1, icedove 10.0.5-1LibreOffice 3.5.4GIMP 2.8.0, Inkscape 0.48.3.1

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 48/66

  • bg=white

    主なパッケージのバージョン / 3

    Apache httpd 2.2.22, Samba 3.6.6, 4.0.0 beta2PostgreSQL 8.4.12, MySQL 5.5.24Xen Hypervisor 4.1.3 rc1Python 2.7, 2.6, and 3.2, Perl 5.14.2Ruby 1.9.3p194, 1.8.7.3581.8 will be dropped in Wheezy+1

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 49/66

  • bg=white

    その他の変更点

    Linux RT kernelサポートXen Cloud Platform (XCP)、OpenstackサポートNew portsarmhf, s390xDebian Installerの改善WPAサポート (ファームウェアは別配布)New Artwork: ”Joy”

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 50/66

  • bg=white

    その他の変更点

    Linux RT kernelサポートXen Cloud Platform (XCP)、OpenstackサポートNew portsarmhf, s390xDebian Installerの改善WPAサポート (ファームウェアは別配布)New Artwork: ”Joy”

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 51/66

  • Joy?

  • bg=white

    まとめ: Debian 7.0 ”Wheezy”の状況

    Wheezy: frozen→現在はリリースに向けたバグ修正中ユーザ向けの大きな変更点

    Multiarch, /run, ...アートワーク,インストーラの改善...

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 54/66

  • Have anyquestions?

  • ところで次は?

  • Jessie

  • Wheezyのリリースに向けて

  • bg=white

    Wheezyのリリースに向けて

    Wheezyを是非試してみて下さい!!Squeezeからのアップグレード/使ってみてレポートなど.Debian BTS: http://www.debian.org/Bugs/

    ドキュメントの翻訳者も募集してます!!:ニュース/リリースノート...

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 61/66

  • どうしていいかわからない!

  • bg=white

    そんな貴方に

    Debian勉強会Debianのユーザと開発者が face to faceで話し合う場Debian開発者および開発者予備軍を育成する場Debianの最新情報、バッドノウハウを提供する場

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 63/66

  • bg=white

    そんな (特に関西の)貴方に

    関西Debian勉強会:http://wiki.debian.org/KansaiDebianMeeting

    毎月第四日曜日. 13:30-17:00大阪中心に開催. 偶に京都,偶に神戸Upcoming:......もしかしたら, 11/24(土)に BSP...?

    佐々木洋平/Youhei SASAKI mailto: [email protected] twitter/IRC nic: uwabami — Debian 7.0 “Wheezy” 64/66

  • Have anyquestions?

  • 御清聴多謝

    フリーズって何?Debian "7.0" Wheezyところで次は?