From 1be510f9529cb082f802408b472a77d074b394c0 Mon Sep 17 00:00:00 2001 From: Nicolas Vigier Date: Sun, 14 Apr 2013 13:46:12 +0000 Subject: Add zarb MLs html archives --- zarb-ml/mageia-dev/2011-November/009385.html | 137 +++++++++++++++++++++++++++ 1 file changed, 137 insertions(+) create mode 100644 zarb-ml/mageia-dev/2011-November/009385.html (limited to 'zarb-ml/mageia-dev/2011-November/009385.html') diff --git a/zarb-ml/mageia-dev/2011-November/009385.html b/zarb-ml/mageia-dev/2011-November/009385.html new file mode 100644 index 000000000..55b2c16b6 --- /dev/null +++ b/zarb-ml/mageia-dev/2011-November/009385.html @@ -0,0 +1,137 @@ + + + + [Mageia-dev] [soft-commits] [2131] Ensure we update the default systemd target when setting runlevel. + + + + + + + + + +

[Mageia-dev] [soft-commits] [2131] Ensure we update the default systemd target when setting runlevel.

+ Thierry Vignaud + thierry.vignaud at gmail.com +
+ Mon Nov 7 13:50:26 CET 2011 +

+
+ +
On 7 November 2011 12:22,  <root at mageia.org> wrote:
+> Ensure we update the default systemd target when setting runlevel.
+
+(...)
+
+> @@ -227,6 +227,12 @@
+>      -r $f or log::l("missing inittab!!!"), return;
+>      if ($o_runlevel) {
+>  	substInFile { s/^id:\d:initdefault:\s*$/id:$o_runlevel:initdefault:\n/ }
+> $f if !$::testing;
+> +	my $t = "$::prefix/lib/systemd/system/runlevel$o_runlevel.target";
+> +	if (!$::testing && -f $t) {
+> +	    my $d = "$::prefix/etc/systemd/system/default.target";
+> +	    unlink($d);
+> +	    symlink($t, "$::prefix/etc/systemd/system/default.target");
+> +	}
+
+This is bogus, you're including the chroot path in the target path...
+Which will obviously fail then (pointing to eg /mnt/etc/foobar
+instead of /etc/foobar)
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +
+More information about the Mageia-dev +mailing list
+ -- cgit v1.2.1