Upgrade to PRO for Only $50/Year—Limited-Time Offer! 🔥

Debian Update - OSC 2023 Online/Spring

Debian Update - OSC 2023 Online/Spring

Norimitsu Sugimoto

March 11, 2023
Tweet

More Decks by Norimitsu Sugimoto

Other Decks in Technology

Transcript

  1. Agenda Debian ͱ͸ʁ Debian JP Project ͱ Debian ษڧձ ࣍ظ҆ఆ൛

    Debian 12 bookworm ೔ຊޠʹ͓͚Δ Debian ͷ৘ใ ࠓޙͷΠϕϯτ
  2. Debian ͱ͍͏ΦϖϨʔςΟϯάγεςϜ Debian ͸ϘϥϯςΟΞͷΈͰ։ൃ͍ͯ͠·͢ σΟετϦ اۀ ϘϥϯςΟΞ Fedora Red Hat

    ࢧԉ͋Γ ͋Γ CentOS Stream Red Hat ࢧԉ͋Γ ͋Γ RHEL1 Red Hat ͳ͠ Debian ͳ͠ ͋Γ Ubuntu Canonical ͋Γ openSUSE SUSE ࢧԉ͋Γ ͋Γ SLES2 SUSE ͳ͠ 1Red Hat Enterprise Linux 2SUSE Linux Enterprise Server
  3. Debian ͱ͍͏ΦϖϨʔςΟϯάγεςϜ ༷ʑͳ༻్ʹ࢖͑Δ൚༻తͳ࡞Γ ϊʔτ PCɺσεΫτοϓ PC ͳͲͷීஈར༻͢Δίϯ ϐϡʔλͷ OS Linux

    αʔόͷ OS web αʔόͷγΣΞ (2023-03-11 ࣌఺)3ɿ Linux αʔόͷ಺ɺUbuntu 31.9 %ɺDebian 16.8 %ɺ CentOS 8.4 % ૊ࠐσόΠεͷϕʔε OS ʢଟ͘ͷ CPU Ͱಈ࡞͢Δʣ ʮDebianʯϕʔεͳ೿ੜ OS ͷݯྲྀ ྫɿUbuntuɺKali LinuxɺRaspberry Pi OS ೿ੜઌͷσΟετϦϏϡʔγϣϯͱ૬ޓʹ৘ใަ׵Λ ͯ͠։ൃ͍ͯ͠Δ 3https: //w3techs.com/technologies/details/os-linux/all/all
  4. Debian ͱ͍͏ΦϖϨʔςΟϯάγεςϜ 2023 ೥ 3 ݄ͷ࣌఺Ͱɺ࠷৽ͷ҆ఆ൛͸ Debian 11.6 ίʔυωʔϜ: bullseye

    ύοέʔδ਺͸ ໿ 59,551 Ҏ্Λఏڙ ެࣜʹαϙʔτ͢Δ CPU ΞʔΩςΫνϟ͸ 9 ͭ ίʔυωʔϜ͸τΠɾετʔϦʔͷΩϟϥΫλʔ໊Λ ࠾༻ ࣍ͷϝδϟʔϦϦʔε ͸ Debian 12 ίʔυωʔϜ: bookworm 2023 ೥ՆࠒʹϦϦʔε͢ΔͱࢥΘΕΔ
  5. Debian ͱ͍͏ΦϖϨʔςΟϯάγεςϜ ϦϦʔεαΠΫϧ ϝδϟʔϦϦʔεɿ͓͓Αͦ 2 ೥͝ͱ Debian ͸ time-based freeze

    Λ࠾༻ ඪ४αϙʔτɿ3 ೥ LTS4ɿඪ४αϙʔτऴྃޙ͔Β 2 ೥ ର৅ΞʔΩςΫνϟ͸ amd64ɺi386ɺarm ܥʹݶఆ ओཁͳύοέʔδͷΈαϙʔτ (શύοέʔδͰ͸ͳ͍) Extended LTSɿLTS ऴྃޙ͔Β 5 ೥ ެࣜͷ Debian ϓϩδΣΫτͷӡӦͰ͸ͳ͘ɺLTS Λϝ ϯςφϯε͍ͯ͠Δ Freexian ͷ঎༻αʔϏε ܖ໿ऀ͕αϙʔτ͢ΔύοέʔδΛࢦఆ͢Δ ߋ৽΍ηΩϡϦςΟमਖ਼ͨ͠ύοέʔδ͸͢΂ͯͷ Debian Ϣʔβʔ͕ແྉͰར༻Մೳ ͓ئ͍ɿͰ͖Δ͚ͩ࣍ͷόʔδϣϯʹ্͍͛ͯͩ͘͞ 4Long Term Support
  6. Debian ͱ͍͏ίϛϡχςΟ Debian ΁ͷࢀՃऀ͸ੈքதʹ͍·͢ Debian ։ൃऀ (Debian DeveloperɺDD) Debian Project

    ͷެࣜ։ൃऀ 57 ϲࠃʹ 939 ໊ (2023-03-11 ࣌఺)5 ೔ຊʹࡏॅ͍ͯ͠Δਓ͸ 34 ਓ ࠃผਓ਺Ͱ͸υΠπɺΞϝϦΧɺϑϥϯεɺΠΪϦεʹ ͍࣍Ͱୈ 5 Ґ Debian ϝϯςφʔ (Debian MaintainerɺDM) ύοέʔδϝϯςφʔ υΩϡϝϯτͳͲͷ຋༁ ͦͷ΄͔ʹ΋ଟ͘ͷߩݙऀ͕ͨͪ Debian ʹࢀՃ 5https: //people.debian.org/~eriberto/udd/dd-by-country.html
  7. Debian ͱ͍͏ίϛϡχςΟ Debian ࣾձܖ໿ 6 Debian ։ൃऀ ͕ͨͪ໨ࢦ͢ϑϦʔιϑτ΢ΣΞίϛϡ χςΟͷࡏΓํ Debian

    ϑϦʔιϑτ΢ΣΞΨΠυϥΠϯʢDFSGʣ Debian ࣾձܖ໿ͷҰ෦ Debian ͕ߟ͑ΔϑϦʔιϑτ΢ΣΞͷఆٛ Φʔϓϯιʔεͷఆٛͷͻͳܗʹ΋ͳ͍ͬͯΔ Debian Policy7 Debian ύοέʔδͷ۠෼ɺ಺༰ɺϧʔϧɺϑΝΠϧ഑ ஔͷํ਑ͳͲͷٕज़తͳఆٛ 6https://www.debian.org/social_contract 7https://www.debian.org/doc/debian-policy/
  8. Debian ͱ͍͏ίϛϡχςΟ DebConf ೥ʹҰ౓ɺDebian ։ൃऀ͕ू·ͬͯ։࠵͢ΔΧϯϑΝ Ϩϯε ௨ৗ͸ΦϑϥΠϯͰू·Δ͕ɺCOVID-19 ͷӨڹͰ 2020 ೥ͱ

    2021 ೥͸ΦϯϥΠϯͰ։࠵ 2019/07/21 - 07/28: Debconf19: CURITIBA, BRAZIL 2020/08/23 - 08/29: Debconf20: Online 2021/08/24 - 08/28: Debconf21: Online 2022/07/17 - 07/24: Debconf22: Prizren, Kosovo https://debconf22.debconf.org/ ൃදͷϏσΦ͕͋Γ·͢ͷͰͥͻ͝ཡ͍ͩ͘͞ 2023/09/10 - 09/17 (༧ఆ): Debconf23: Kochi, India https://debconf23.debconf.org/
  9. Debian ͱ͸ʁ ·ͱΊΔͱʮDebianʯͱ͸ ϑϦʔ/ΦʔϓϯͳʮΦϖϨʔςΟϯάγεςϜ (OS) ʯΛ࡞੒͠Α͏ͱ͢Δਓ͕ͨͪू·ΔϘϥϯςΟΞ ϕʔεͷʮϓϩδΣΫτʯ ࣗ෼ͨͪͷߟ͑ΔϑϦʔͱ͍͏ݴ༿ʹؔ͢Δఆٛɺ։ ൃ໨తɺύοέʔδϯάϙϦγʔΛݫ֨ʹܾΊ͍ͯΔ ੈքதʹ

    900 ਓҎ্ͷެࣜ։ൃऀ͕͓ΓɺଞͷσΟε τϦϏϡʔγϣϯͷϕʔεͱͯ͠࠾༻͞Ε͍ͯΔ ໿ 2 ೥ຖʹϦϦʔε͕ߦΘΕɺଟ͘ͷύοέʔδͱ ΞʔΩςΫνϟΛαϙʔτ͍ͯ͠Δ ্هͷΑ͏ͳಛ௃͔Β༷ʑͳͱ͜ΖͰར༻͞Ε͍ͯΔ Linux σΟετϦϏϡʔγϣϯ
  10. Debian JP Project ͱ͸ʁ https://www.debian.or.jp/ ೔ຊʹ͓͍ͯ Debian Λීٴͤ͞Δ͜ͱΛ໨తͱͨ͠೚ ҙஂମ ׆ಈ಺༰

    Debian ͷ೔ຊޠʹΑΔ৘ใൃ৴ Ϣʔβͱͷ৘ใަ׵ Debian ։ൃऀ΍ύοέʔδϝϯςφͷҭ੒ͳͲ
  11. Debianษڧձ 2005 ೥ 1 ݄։࢝ Debian ։ൃऀ ্઒͞Μ͕ൃىਓ ౦ژͱؔ੢Ͱ݄ʹҰճίϯελϯτʹ։࠵͍ͯ͠Δ Debian

    ։ൃऀɺDebian ϢʔβʹΑΔษڧձ ౦ژΤϦΞ Debian ษڧձ https://tokyodebian-team.pages.debian.net/ ؔ੢ Debian ษڧձ https://wiki.debian.org/KansaiDebianMeeting COVID-19 ͷͨΊɺ2020 ೥ 3 ݄͔Β͸౦ژΤϦΞͱؔ ੢ͰΦϯϥΠϯʹΑΔ߹ಉษڧձΛ։࠵த
  12. Debianษڧձ:ղܾ͍ͨ͠಺༰ ໰୊ ML ͱ IRC Ͱ৘ใަ׵͍ͯͨ͠ face-to-face Ͱձ͏৔ॴ͕ͳ͍ ·ͱ·ͬͨυΩϡϝϯτ͕ग़ͯ͜ͳ͍ Debian

    ษڧձͷఏҊ ఆظతʹू·Δ ࢿྉΛ࡞੒ͯ͠ެ։ʢGPL-2+ʣ https://salsa.debian.org/tokyodebian-team/ monthly-report
  13. Debianษڧձ:࠷ۙͷษڧձ ษڧձͷ಺༰ Debian ք۾΍ύοέʔδϯάؔ࿈ͷ࿩୊ͳͲઐ໳ͷਓ ʹ࿩Λฉ͘ Debian ͰؾʹͳͬͨࣄฑΛௐ΂ͯϨϙʔτ͢Δ લճͷ಺༰ʢ2 ݄ʣ: ৔ॴ:

    ΦϯϥΠϯ ηϛφʔʮDDTP ٴͼ DDTSS ͷ঺հʯ ϋϯζΦϯʮDDTSS Λ࢖ͬͯύοέʔδઆ໌จΛ຋༁ ͯ͠ΈΑ͏ʯ ֤஍ͷΠϕϯτͰ Debian ීٴ׆ಈ OSC2021 ౦ژ
  14. Debian 12 bookworm Debian 12 (ίʔυωʔϜɿbookworm) ݱࡏ։ൃΛਐΊ͍ͯΔ࣍ͷ҆ఆ൛ϦϦʔε https://wiki.debian.org/DebianBookworm Debian ͸

    time-based freeze Λ࠾༻͓ͯ͠Γɺ͓Αͦ 2 ೥ຖͷϦϦʔεΛ໨ࢦ͢ αϙʔτ͢ΔΞʔΩςΫνϟ͸·ͩ֬ఆ͍ͯ͠ͳ͍ ࢀߟɿDebian 11 Ͱαϙʔτ͍ͯ͠ΔΞʔΩςΫνϟ amd64, i386 (i686 Ҏ߱) arm64, armhf, armel mips64el, mipsel ppc64el s390x
  15. Debian 12 bookworm Debian Installer Bookworm Alpha 2 release https://www.debian.org/devel/

    debian-installer/News/2023/20230219 ͍ͪૣ͘ bookworm Λࢼͯ͠Έ͍ͨํ͸ҎԼ͔Βμ΢ ϯϩʔυͯ͠ΠϯετʔϧͰ͖·͢ https://www.debian.org/devel/ debian-installer/index.ja.html ࣗ෼ͷ؀ڥͰΠϯετʔϧ͕͏·͘ߦΘΕͳ͍৔߹͸ ΠϯετʔϧϨϙʔτΛ͓ئ͍͠·͢ https://www.debian.org/releases/bookworm/ amd64/apas04.ja.html
  16. Debian 12 bookworm ςʔϚ ࣍ظ҆ఆ൛ʹ࠾༻͢ΔςʔϚ͸௨ৗίϯςετΛߦ͏ ͔͠͠ɺࠓճ͸Ԡื͕ 3 ͭͱগͳ͔ͬͨͨΊίϯςε τ͸ߦΘͳ͔ͬͨ Juliette

    Taka ͞ΜఏڙͷʮEmeraldʯͰҟ࿦͕ग़ͳ͚Ε ͹ɺ͜Ε͕࠾༻༧ఆ https: //wiki.debian.org/DebianArt/Themes/Emerald
  17. Debian 12 bookworm ιϑτ΢ΣΞ͸ҎԼͷόʔδϣϯͰςετத Linux Χʔωϧ 6.1 πʔϧνΣΠϯ GCC 10.4.0,

    binutils 2.40, glibc 2.36, LLVM 14.0.6, 13.0.1 Perl 5.36.0, Python 3.11.2, Ruby 3.1.2, PHP 8.2.2, Go 1.19.6, OpenJDK 17.0.6 GNOME 43, KDE Plasma 5.27.0, Cinnamon 5.6.7, MATE 1.26, Xfce 4.18, lxde 0.99.2, lxqt 1.2.0 MariaDB 10.11.2, PostgreSQL 15.2, sqlite 3.40.1 OpenSSH 9.2p1, OpenSSL 3.0.8, GnuPG 2.2.40/1.4.23 etc..
  18. Debian 12 bookworm Debian 12 ͸͍ͭϦϦʔε͞ΕΔͷ͔ʁ Debian ͷϦϦʔε৚݅͸ʮϦϦʔεΫϦςΟΧϧόά ʢRC bugʣ͕

    0 ݸʹͳͬͨͱ͖ʯ 2023-03-08 ࣌఺ͷ RC bug ͷ਺͸ʮ311ʯ https://bugs.debian.org/release-critical/
  19. Debian 12 bookworm ϦϦʔε·ͰͷྲྀΕ (ϑϦʔζεέδϡʔϧ)8 2023-01-12: Transition and Toolchain Freeze

    ίϯύΠϥ౳ͷϏϧυπʔϧ΍ϓϩάϥϜ࣮ߦ؀ڥͳ ͲͷॏཁͳύοέʔδͷόʔδϣϯΞοϓ͸͜͜·Ͱ 2023-02-12: Soft freeze ɹˡࠓ͸͜ͷஈ֊ʹೖͬͨঢ়ଶ ͜ͷظ೔·Ͱʹ testing ʹҠߦ͍ͯ͠Δύοέʔδ͕࣍ ͷ҆ఆ൛ϦϦʔεʹؚ·ΕΔ ͜ͷظ೔Ҏ߱ͷύοέʔδͷมߋ͸খن໛ͰతΛߜͬ ͨ಺༰ʹݶͬͯߦ͏ 2023-03-12: Hard freeze ॏཁͳύοέʔδ΍ autopkgtests ͕ͳ͍ύοέʔδ͸ unblock ϦΫΤετ 9 ͕ඞཁ ະఆ: Full freeze ͢΂ͯͷύοέʔδʹ͓͍ͯ unblock ϦΫΤετ͕ඞཁ 8https://release.debian.org/bookworm/freeze_policy.html 9debdiff Λఴ͑ͯ unblock ͱ͍͏όάใࠂΛߦ͍ɺϦϦʔενʔϜ ͷϨϏϡʔΛड͚Δඞཁ͋Γ
  20. Debian 12 ͷมߋ఺ apt ʹ non-free-firmware ηΫγϣϯ͕௥Ճ Debian Installer ͸

    non-free ͳ firmware ΛؚΊͨܗͰఏڙ - debian 11 deb http://deb.debian.org/debian/ bullseye main - debian 12 deb http://deb.debian.org/debian/ bookworm main non-free-firmware Debian Ͱ͸ʮDebian ࣾձܖ໿ʯͰϑϦʔͱఆΊͨύο έʔδͷΈΠϯετʔϥʹؚΊ͖ͯͨ ແઢ LAN ΍ GPU ͷυϥΠό౳ͷಈ࡞ʹ͸ non-free ͳ ϑΝʔϜ΢ΣΞ͕ඞཁͰɺΠϯετʔϧ࣌ʹ ϋʔυ ΢ΣΞ͕ೝࣝ͠ͳ͍ͨΊෆศͱ͍͏੠͕͋Δ Debian ։ൃऀʹΑΔ౤ථͰʮDebian ࣾձܖ໿ʯΛมߋ ࣮ͯ͠ݱ 10 10https://www.debian.org/vote/2022/vote_003
  21. Debian 12 ͷมߋ఺ /usr merge ͕ద༻͞Εͨ https://wiki.debian.org/UsrMerge /binɺ/sbinɺ/lib ܥͷσΟϨΫτϦ͸ /usr

    ഑Լ΁ͷγ ϯϘϦοΫϦϯΫ $ ls -l / | grep -E "bin|usr|lib" lrwxrwxrwx 1 root root 7 3 ݄ 5 19:53 bin -> usr/bin lrwxrwxrwx 1 root root 7 3 ݄ 5 19:53 lib -> usr/lib lrwxrwxrwx 1 root root 9 3 ݄ 5 19:53 lib32 -> usr/lib32 lrwxrwxrwx 1 root root 9 3 ݄ 5 19:53 lib64 -> usr/lib64 lrwxrwxrwx 1 root root 10 3 ݄ 5 19:53 libx32 -> usr/libx32 lrwxrwxrwx 1 root root 8 3 ݄ 5 19:53 sbin -> usr/sbin drwxr-xr-x 14 root root 4096 3 ݄ 5 19:53 usr
  22. Debian 12 ͷมߋ఺ python ؔ࿈ python3.11 Λఏڙ python2 ܥ͸׬શʹ࡟আ Debian

    11 Ͱݶఆతʹ࢒͍ͬͯͨ python2.7 ͸࡟আ python2 ܥͰ͔͠ಈ͔ͳ͍εΫϦϓτΛ࢖͍ͬͯΔਓ͸ python3 ʹରԠ͢ΔΑ͏௚͢͜ͱ pip install package Ͱ system-wide ʹΠϯετʔϧ͢Δ ͱ͖͸ –break-system-packages Φϓγϣϯ͕ඞཁ at your own risk ͱͷઆ໌͕ग़ͯ͘Δ PEP 668 ͷӨڹ 11 venv ؀ڥΛ࡞Δɺpipx Λ࢖͏ͳͲ࡞๏͕มΘΔ 11https://peps.python.org/pep-0668/
  23. ࠓޙͷΠϕϯτ 4/1ʢ౔ʣ OSC 2023 Tokyo/Spring https://event.ospn.jp/osc2023-spring/ ϒʔεग़ల͠·͢ 4/15ʢ౔ʣ ౦ژΤϦΞɾؔ੢߹ಉ Debian

    ษڧձʢΦ ϯϥΠϯ։࠵ʣ https://tokyodebian-team.pages.debian.net/ 2023-04.html ൃදऀΛืूத