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

Bug#886009: marked as done (live-config: race condition between live-config and systemd-tmpfiles-setup)



Your message dated Sat, 24 Feb 2018 11:22:52 +0000
with message-id <E1epXum-000Dcd-0f@fasolo.debian.org>
and subject line Bug#886009: fixed in live-config 5.20180224
has caused the Debian Bug report #886009,
regarding live-config: race condition between live-config and systemd-tmpfiles-setup
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.)


-- 
886009: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=886009
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: live-config
Version: 5.20170112+deb9u1
Severity: important

I frequently see Debian Live based systems not starting up correctly
with the following error messages in the journal:
live-config[863]: /bin/live-config: 154: /bin/live-config: cannot open
/tmp/live-config.pipe: No such file
live-config[863]: /bin/live-config: 155: /bin/live-config: cannot create
/tmp/live-config.pipe: Interrupted system call

Looking at the code and error message it is clearly a race condition
between live-config and systemd-tmpfiles-setup.
This bug can be fixed by adding "systemd-tmpfiles-setup.service" to the
"After=" configuration in live-config.service.

The attached patch (against the current version in git) fixes this issue.

-- System Information:
Debian Release: 9.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.13.0-0.bpo.1-amd64 (SMP w/1 CPU core)
Locale: LANG=de_CH.UTF-8, LC_CTYPE=de_CH.UTF-8 (charmap=UTF-8),
LANGUAGE=de_CH.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages live-config depends on:
ii  live-config-systemd [live-config-backend]  5.20170112+deb9u1

Versions of packages live-config recommends:
ii  iproute2                4.9.0-1+deb9u1
ii  keyboard-configuration  1.164
ii  live-config-doc         5.20170112+deb9u1
ii  live-tools              1:20151214+nmu1
ii  locales                 2.24-11+deb9u1
ii  sudo                    1.8.19p1-2.1
ii  user-setup              1.67

Versions of packages live-config suggests:
ii  pciutils  1:3.5.2-1
ii  wget      1.18-5+deb9u1

-- no debconf information

>From 331b52bd0c2e112327c8effc50d7f7f804afdb71 Mon Sep 17 00:00:00 2001
From: Ronny Standtke <ronny.standtke@gmx.net>
Date: Mon, 1 Jan 2018 14:38:51 +0100
Subject: [PATCH] fixed a race condition between live-config and
 systemd-tmpfiles-setup

---
 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 2b82f45..1092f94 100644
--- a/backend/systemd/live-config.systemd
+++ b/backend/systemd/live-config.systemd
@@ -10,7 +10,7 @@
 Description=live-config contains the components that configure a live system during the boot process (late userspace).
 Documentation=man:live-config
 Before=basic.target
-After=local-fs.target
+After=local-fs.target systemd-tmpfiles-setup.service
 DefaultDependencies=no
 ConditionPathExists=/bin/live-config
 ConditionKernelCommandLine=boot=live
-- 
2.11.0


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

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 886009@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: Sat, 24 Feb 2018 11:54:36 +0100
Source: live-config
Binary: live-config live-config-doc live-config-systemd live-config-sysvinit
Architecture: source
Version: 5.20180224
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: 886009
Changes:
 live-config (5.20180224) unstable; urgency=medium
 .
   [ Steve McIntyre ]
   * Repo moved to salsa
 .
   [ Ronny Standtke ]
   * Fix a race condition between live-config and systemd-tmpfiles-setup
     (Closes: #886009)
 .
   [ Raphaël Hertzog ]
   * Minor packaging updates
     * Switch to debhelper compat level 11.
     * Bump Standards-Version to 4.1.3.
   * Adjust rules and build-depends for debhelper 11
   * Add lintian overrides for expected weirdness of init script and systemd unit
   * Fix spelling errors in the live-config manual page
Checksums-Sha1:
 8b1940632ff5d815bf6ab7c0ffa2c36d5880efd9 1642 live-config_5.20180224.dsc
 d1e44ae7214b833caccf9557ac366dfb61cab766 75696 live-config_5.20180224.tar.xz
 a1c5da85af270f6f7f56d1524cb2ab18cf3a377e 5537 live-config_5.20180224_source.buildinfo
Checksums-Sha256:
 e785e4d989919fe21bd7bdf077b91d49c393f0f0e71ccc1324fa1fc0f379b3b9 1642 live-config_5.20180224.dsc
 748879601a81ff52355939a279236c81e6ee5cc6b71095557dce3363a1cbd857 75696 live-config_5.20180224.tar.xz
 2c035e5b5f5911d50107260e99eeb9b8c9c92f930130011520cad53c25bd11e6 5537 live-config_5.20180224_source.buildinfo
Files:
 75a773e531b33c0059299266b31c86d0 1642 misc optional live-config_5.20180224.dsc
 460b51d8bcb2197de7245d5b9c17659f 75696 misc optional live-config_5.20180224.tar.xz
 81a1bd079a3165a3099494195fb303dc 5537 misc optional live-config_5.20180224_source.buildinfo

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

iQEzBAEBCgAdFiEE1823g1EQnhJ1LsbSA4gdq+vCmrkFAlqRRKcACgkQA4gdq+vC
mrmw2Af+KOW8gMh7QjYMc2lITJ9F55fPKuwnn57mSlS71Z9IOMQiYLRJxkvEN6R7
Va7gWP2sv/3zijaE3QdDeDA3UOi9cmZzr7nZTTSxgs66usLf58RFpYfZC0ndK2JV
4mSrDPLHGBBkSMq+XNSbBPT+7iGP16I1zEme0J8TWMLCuCSF6k6cTPN07/fYgmVL
RpuKBZlrcdgFOnm1RJAycol+tPJO0bR+O0mEBKWyGOZYCurKSne9K/pRGkAkXgYf
6p/HPAn9Lib8PpAQErWpdofgompAhYbQ8DeifPrDhOfudg1tZUjli2sB520ZLJuI
7WHPQ5MfwdjbYrhl5nRbz5BCsBNtuw==
=iAtY
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: