X-Git-Url: http://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/5b5faa72085ce2406b75ee472eaa9bf48242bd8d..2377a19a2fcd67c09830cbb4a2a81cfd5a6f00d6:/blog/archive/2014/11/11.rss diff --git a/blog/archive/2014/11/11.rss b/blog/archive/2014/11/11.rss index 756357bae2..fb1f0d4a9d 100644 --- a/blog/archive/2014/11/11.rss +++ b/blog/archive/2014/11/11.rss @@ -6,6 +6,71 @@ http://people.skolelinux.org/pere/blog/ + + How to stay with sysvinit in Debian Jessie + http://people.skolelinux.org/pere/blog/How_to_stay_with_sysvinit_in_Debian_Jessie.html + http://people.skolelinux.org/pere/blog/How_to_stay_with_sysvinit_in_Debian_Jessie.html + Sat, 22 Nov 2014 01:00:00 +0100 + <p>By now, it is well known that Debian Jessie will not be using +sysvinit as its boot system by default. But how can one keep using +sysvinit in Jessie? It is fairly easy, and here are a few recipes, +courtesy of +<a href="http://www.vitavonni.de/blog/201410/2014102101-avoiding-systemd.html">Erich +Schubert</a> and +<a href="http://smcv.pseudorandom.co.uk/2014/still_universal/">Simon +McVittie</a>. + +<p>If you already are using Wheezy and want to upgrade to Jessie and +keep sysvinit as your boot system, create a file +<tt>/etc/apt/preferences.d/use-sysvinit</tt> with this content before +you upgrade:</p> + +<p><blockquote><pre> +Package: systemd-sysv +Pin: release o=Debian +Pin-Priority: -1 +</pre></blockquote><p> + +<p>This file content will tell apt and aptitude to not consider +installing systemd-sysv as part of any installation and upgrade +solution when resolving dependencies, and thus tell it to avoid +systemd as a default boot system. The end result should be that the +upgraded system keep using sysvinit.</p> + +<p>If you are installing Jessie for the first time, there is no way to +get sysvinit installed by default (debootstrap used by +debian-installer have no option for this), but one can tell the +installer to switch to sysvinit before the first boot. Either by +using a kernel argument to the installer, or by adding a line to the +preseed file used. First, the kernel command line argument: + +<p><blockquote><pre> +preseed/late_command="in-target apt-get install --purge -y sysvinit-core" +</pre></blockquote><p> + +<p>Next, the line to use in a preseed file:</p> + +<p><blockquote><pre> +d-i preseed/late_command string in-target apt-get install -y sysvinit-core +</pre></blockquote><p> + +<p>One can of course also do this after the first boot by installing +the sysvinit-core package.</p> + +<p>I recommend only using sysvinit if you really need it, as the +sysvinit boot sequence in Debian have several hardware specific bugs +on Linux caused by the fact that it is unpredictable when hardware +devices show up during boot. But on the other hand, the new default +boot system still have a few rough edges I hope will be fixed before +Jessie is released.</p> + +<p>Update 2014-11-26: Inspired by +<ahref="https://www.mirbsd.org/permalinks/wlog-10-tg_e20141125-tg.htm#e20141125-tg_wlog-10-tg">a +blog post by Torsten Glaser</a>, added --purge to the preseed +line.</p> + + + Hvordan vurderer regjeringen H.264-patentutfordringen? http://people.skolelinux.org/pere/blog/Hvordan_vurderer_regjeringen_H_264_patentutfordringen_.html @@ -13,11 +78,12 @@ Sun, 16 Nov 2014 10:30:00 +0100 <p>For en stund tilbake spurte jeg Fornyingsdepartementet om hvilke juridiske vurderinger rundt patentproblemstillingen som var gjort da -H.264 ble tatt inn i statens referansekatalog over standarder. Stig -Hornnes i FAD tipset meg om følgende som står i oppsumeringen til -høringen om referansekatalogen versjon 2.0, som jeg siden ved hjelp av -en innsynsforespørsel fikk tak i -<ahref="http://wiki.nuug.no/uttalelser/200901-standardkatalog-v2?action=AttachFile&do=get&target=kongelig-resolusjon.pdf">PDF-utgaven</a> +H.264 ble tatt inn i <a href="http://standard.difi.no/">statens +referansekatalog over standarder</a>. Stig Hornnes i FAD tipset meg +om følgende som står i oppsumeringen til høringen om +referansekatalogen versjon 2.0, som jeg siden ved hjelp av en +innsynsforespørsel fikk tak i +<a href="http://wiki.nuug.no/uttalelser/200901-standardkatalog-v2?action=AttachFile&do=get&target=kongelig-resolusjon.pdf">PDF-utgaven av</a> datert 2009-06-03 (saksnummer 200803291, saksbehandler Henrik Linnestad).</p>