]> pere.pagekite.me Git - homepage.git/blobdiff - blog/archive/2014/11/11.rss
Generated.
[homepage.git] / blog / archive / 2014 / 11 / 11.rss
index a267bd13f3e928e3ca39e1b0fe9580803f727b35..56d4a718374451b378d45d94b8f693cf1dadd871 100644 (file)
@@ -6,6 +6,66 @@
                 <link>http://people.skolelinux.org/pere/blog/</link>
 
        
+       <item>
+               <title>How to stay with sysvinit in Debian Jessie</title>
+               <link>http://people.skolelinux.org/pere/blog/How_to_stay_with_sysvinit_in_Debian_Jessie.html</link>        
+               <guid isPermaLink="true">http://people.skolelinux.org/pere/blog/How_to_stay_with_sysvinit_in_Debian_Jessie.html</guid>
+                <pubDate>Sat, 22 Nov 2014 01:00:00 +0100</pubDate>
+               <description>&lt;p&gt;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
+&lt;a href=&quot;http://www.vitavonni.de/blog/201410/2014102101-avoiding-systemd.html&quot;&gt;Erich
+Schubert&lt;/a&gt; and
+&lt;a href=&quot;http://smcv.pseudorandom.co.uk/2014/still_universal/&quot;&gt;Simon
+McVittie&lt;/a&gt;.
+
+&lt;p&gt;If you already are using Wheezy and want to upgrade to Jessie and
+keep sysvinit as your boot system, create a file
+&lt;tt&gt;/etc/apt/preferences.d/use-sysvinit&lt;/tt&gt; with this content before
+you upgrade:&lt;/p&gt;
+
+&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
+Package: systemd-sysv
+Pin: release o=Debian
+Pin-Priority: -1
+&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;
+
+&lt;p&gt;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.&lt;/p&gt;
+
+&lt;p&gt;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:
+
+&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
+preseed/late_command=&quot;in-target apt-get install -y sysvinit-core&quot;
+&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;
+
+&lt;p&gt;Next, the line to use in a preseed file:&lt;/p&gt;
+
+&lt;p&gt;&lt;blockquote&gt;&lt;pre&gt;
+d-i preseed/late_command string in-target apt-get install -y sysvinit-core
+&lt;/pre&gt;&lt;/blockquote&gt;&lt;p&gt;
+
+&lt;p&gt;One can of course also do this after the first boot by installing
+the sysvinit-core package.&lt;/p&gt;
+
+&lt;p&gt;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.&lt;/p&gt;
+</description>
+       </item>
+       
        <item>
                <title>Hvordan vurderer regjeringen H.264-patentutfordringen?</title>
                <link>http://people.skolelinux.org/pere/blog/Hvordan_vurderer_regjeringen_H_264_patentutfordringen_.html</link>