[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#827665: marked as done (systemd goes into timeout while waiting for local-fs.target)



Your message dated Fri, 23 Jun 2017 12:36:11 +0000
with message-id <E1dONop-000Ekq-Ro@fasolo.debian.org>
and subject line Bug#827665: fixed in live-config 5.20170623
has caused the Debian Bug report #827665,
regarding systemd goes into timeout while waiting for local-fs.target
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact owner@bugs.debian.org
immediately.)


-- 
827665: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=827665
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-config-systemd
Version: 5.20160608
Tags: patch

Hello,

The After=local-fs.target rule introduced in commit 63ab809 made systemd
go in timeout while waiting for the local-fs target to be reached.

This is due to the fact that the Before= rule in the live-config unit
prevents the startup of udev.

I'm not raising severity on this one because I suspect this only happens
on installed environments, where live-config-systemd is largely useless.
But still, it shouldn't break the boot process in this way.

I'm attaching a small patch that resolves the problem for me, also
available as a git commit at [1].

I unfortunately haven't had the time to test it in a live environment.


Regards,
Eugenio

[1]
https://github.com/semplice/live-config/commit/672fb6274a74a40880c9fc737accd8d5a3d557f5
-- 
Eugenio Paolantonio - Semplice Linux lead developer

Website: me.medesimo.eu
Twitter: @eugenio_g7

«The UNIX philosophy basically involves giving you enough rope to
hang yourself.  And then a couple of feet more, just to be sure.»
From 672fb6274a74a40880c9fc737accd8d5a3d557f5 Mon Sep 17 00:00:00 2001
From: "Eugenio Paolantonio (g7)" <me@medesimo.eu>
Date: Wed, 15 Jun 2016 08:51:56 +0200
Subject: [PATCH] [backend] systemd: do not try to launch live-config before
 udev

The After= rule introduced in 63ab809 made things go in timeout
as udev won't be started before the local-fs target.

Signed-off-by: Eugenio Paolantonio (g7) <me@medesimo.eu>
---
 backend/systemd/live-config.systemd | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/backend/systemd/live-config.systemd b/backend/systemd/live-config.systemd
index ed7069b..2b82f45 100644
--- a/backend/systemd/live-config.systemd
+++ b/backend/systemd/live-config.systemd
@@ -9,7 +9,7 @@
 [Unit]
 Description=live-config contains the components that configure a live system during the boot process (late userspace).
 Documentation=man:live-config
-Before=basic.target udev.service
+Before=basic.target
 After=local-fs.target
 DefaultDependencies=no
 ConditionPathExists=/bin/live-config

Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: live-config
Source-Version: 5.20170623

We believe that the bug you reported is fixed in the latest version of
live-config, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 827665@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Raphaël Hertzog <hertzog@debian.org> (supplier of updated live-config package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 23 Jun 2017 14:15:17 +0200
Source: live-config
Binary: live-config live-config-doc live-config-systemd live-config-sysvinit
Architecture: source
Version: 5.20170623
Distribution: unstable
Urgency: medium
Maintainer: Live Systems Maintainers <debian-live@lists.debian.org>
Changed-By: Raphaël Hertzog <hertzog@debian.org>
Description:
 live-config - Live System Configuration Components
 live-config-doc - Live System Configuration Components (documentation)
 live-config-systemd - Live System Configuration Components (systemd backend)
 live-config-sysvinit - Live System Configuration Components (sysvinit backend)
Closes: 827665 855085 858013
Changes:
 live-config (5.20170623) unstable; urgency=medium
 .
   * Drop "Before=udev.service" in live-config-systemd.service as it
     breaks the boot process when you have multiple partitions mounted
     as part of local-fs.target. Closes: #827665, #855085
   * Move Setup_network definition to a shared file and include it
     where it is needed. Closes: #858013
Checksums-Sha1:
 53bb6164047034e2f382a2fe29dd50c53d2ad052 1674 live-config_5.20170623.dsc
 aa71b9627b4380a95031ca33194f6f36f65bca1d 75220 live-config_5.20170623.tar.xz
 75275884affc4a5071db55d66250eadea3978a9c 5357 live-config_5.20170623_source.buildinfo
Checksums-Sha256:
 04b4647115547a8e31115f3b10e346881f6c0cd4019a38bac16468f5f58cecbb 1674 live-config_5.20170623.dsc
 ea45c026f17fb582a82ce8143d4f76ace442f23efa8b129dc8818d8263b3414d 75220 live-config_5.20170623.tar.xz
 99dfd33d13b22f89635b1dd945e29ed3afbae8e14b036271eb0afa535807cf23 5357 live-config_5.20170623_source.buildinfo
Files:
 a9043710a347d826d70bc380c8421dbe 1674 misc optional live-config_5.20170623.dsc
 4b6bdc904534bbc76c1eaef44cd73845 75220 misc optional live-config_5.20170623.tar.xz
 6ac37b3f8d91db50a146dcf6c7086249 5357 misc optional live-config_5.20170623_source.buildinfo

-----BEGIN PGP SIGNATURE-----
Comment: Signed by Raphael Hertzog

iQEzBAEBCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAllNBsAACgkQA4gdq+vC
mrnyKQf/bik+Q08I5FVVk2FiDF9BnSwI1ej++FW5Q8veTkKfuLZwLfGR01O5UB9c
YzX+Fi7W9Vx46+mkQTdTJSV3QWjDiMwjD0C9sq4FfNx0nZBU8L+MqQtjYawG+Irs
P0VwFaYlxMPGw+6zMcwSF8mXEGYHBvUvvBjBPXjkgqElCm8Yk8rl5yOwyeSYG6la
8kCgWwkz/dODYnrrieuQqQugP68iFf5iC+npOR/CWWXO2xfa1QmAwpLedmqurznT
QyDWWaI7acpStJ+QHAlVcMmebLDlC91kHjGFCuDyTlLG8+EROdx3Z7fWSYFIawLS
wplTNA3eosRDJThpT6DNMDkmSnPhqw==
=aZqg
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: