X-Git-Url: https://pere.pagekite.me/gitweb/homepage.git/blobdiff_plain/6daff2a01734d729b9a03e1615f295c5fd94a921..e354421a57be56163a341f29b8a99155d1fc840d:/blog/index.rss diff --git a/blog/index.rss b/blog/index.rss index e6b1048fbf..6fce228007 100644 --- a/blog/index.rss +++ b/blog/index.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 @@ -700,37 +760,5 @@ installation ready before the distribution freeze in a month.</p> - - Suddenly I am the new upstream of the lsdvd command line tool - http://people.skolelinux.org/pere/blog/Suddenly_I_am_the_new_upstream_of_the_lsdvd_command_line_tool.html - http://people.skolelinux.org/pere/blog/Suddenly_I_am_the_new_upstream_of_the_lsdvd_command_line_tool.html - Thu, 25 Sep 2014 11:20:00 +0200 - <p>I use the <a href="https://sourceforge.net/p/lsdvd/">lsdvd tool</a> -to handle my fairly large DVD collection. It is a nice command line -tool to get details about a DVD, like title, tracks, track length, -etc, in XML, Perl or human readable format. But lsdvd have not seen -any new development since 2006 and had a few irritating bugs affecting -its use with some DVDs. Upstream seemed to be dead, and in January I -sent a small probe asking for a version control repository for the -project, without any reply. But I use it regularly and would like to -get <a href="https://packages.qa.debian.org/lsdvd">an updated version -into Debian</a>. So two weeks ago I tried harder to get in touch with -the project admin, and after getting a reply from him explaining that -he was no longer interested in the project, I asked if I could take -over. And yesterday, I became project admin.</p> - -<p>I've been in touch with a Gentoo developer and the Debian -maintainer interested in joining forces to maintain the upstream -project, and I hope we can get a new release out fairly quickly, -collecting the patches spread around on the internet into on place. -I've added the relevant Debian patches to the freshly created git -repository, and expect the Gentoo patches to make it too. If you got -a DVD collection and care about command line tools, check out -<a href="https://sourceforge.net/p/lsdvd/git/ci/master/tree/">the git source</a> and join -<a href="https://sourceforge.net/p/lsdvd/mailman/">the project mailing -list</a>. :)</p> - - -