X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/6daff2a01734d729b9a03e1615f295c5fd94a921..e354421a57be56163a341f29b8a99155d1fc840d:/blog/archive/2014/11/11.rss diff --git a/blog/archive/2014/11/11.rss b/blog/archive/2014/11/11.rss index a267bd13f3..56d4a71837 100644 --- a/blog/archive/2014/11/11.rss +++ b/blog/archive/2014/11/11.rss @@ -6,6 +6,66 @@ 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 -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> + + + Hvordan vurderer regjeringen H.264-patentutfordringen? http://people.skolelinux.org/pere/blog/Hvordan_vurderer_regjeringen_H_264_patentutfordringen_.html