Devuan bug report logs - #483
eudev: eudev sometimes fails to generate initial hotplug events

version graph

Package: eudev; Maintainer for eudev is Devuan Dev Team <devuan-dev@lists.dyne.org>; Source for eudev is src:eudev.

Reported by: David Kuehling <dvdkhlng@posteo.de>

Date: Mon, 15 Jun 2020 15:18:02 UTC

Severity: normal

Found in version 3.2.7-6

Fixed in version 3.2.9-8

Done: dak@devuan.org

Full log


🔗 View this message in rfc822 format

X-Loop: owner@bugs.devuan.org
Subject: bug#483: [devuan-dev] bug#483: eudev: eudev sometimes fails to generate  initial hotplug events
Reply-To: Trek <trek00@inbox.ru>, 483@bugs.devuan.org
Resent-From: Trek <trek00@inbox.ru>
Resent-To: devuan-bugs@lists.dyne.org
Resent-CC: Devuan Dev Team <devuan-dev@lists.dyne.org>
X-Loop: owner@bugs.devuan.org
Resent-Date: Tue, 11 Aug 2020 15:33:02 +0000
Resent-Message-ID: <handler.483.B483.159715981829024@bugs.devuan.org>
Resent-Sender: owner@bugs.devuan.org
X-Devuan-PR-Message: followup 483
X-Devuan-PR-Package: eudev
X-Devuan-PR-Keywords: 
References: <87v9jsbc3t.fsf@snail.snail.pool>
Received: via spool by 483-submit@bugs.devuan.org id=B483.159715981829024
          (code B ref 483); Tue, 11 Aug 2020 15:33:02 +0000
Received: (at 483) by bugs.devuan.org; 11 Aug 2020 15:30:18 +0000
Delivered-To: devuanbugs@dyne.org
Received: from tupac3.dyne.org [195.169.149.119]
	by doc.devuan.org with IMAP (fetchmail-6.4.0.beta4)
	for <debbugs@localhost> (single-drop); Tue, 11 Aug 2020 15:30:18 +0000 (UTC)
Received: from smtp63.i.mail.ru (smtp63.i.mail.ru [217.69.128.43])
	(using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id D169FF608D2
	for <483@bugs.devuan.org>; Tue, 11 Aug 2020 17:24:26 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (1024-bit key; unprotected) header.d=inbox.ru header.i=@inbox.ru header.b="F5xqTPih";
	dkim-atps=neutral
DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=inbox.ru; s=mail3;
	h=Content-Type:MIME-Version:Message-ID:Subject:To:From:Date:From:Subject:Content-Type:Content-Transfer-Encoding:To:Cc; bh=5M8EmQ+qspZfPKhnSyp338j+CnscKKof6FN/ElrAeLk=;
	b=F5xqTPihFp9732TW56LB2UmuT7r8Bmz6f2XF1vKsNXSDWuG+oIEDLMCRdqkCNM+8Rv21ImSjqfAzyKUnL8aY9AXeRNC0RtQa3+YVjWaBCWzR97DgcmSxm2/LBn1K45nmidP5wPDd6wXqUlnGyL7mpiBYpj2sTZXrnJQHhwzkq/Y=;
Received: by smtp63.i.mail.ru with esmtpa (envelope-from <trek00@inbox.ru>)
	id 1k5W8X-0004ex-4S
	for 483@bugs.devuan.org; Tue, 11 Aug 2020 18:24:25 +0300
Date: Tue, 11 Aug 2020 17:24:22 +0200
From: Trek <trek00@inbox.ru>
To: 483@bugs.devuan.org
Message-ID: <20200811172422.0e253add@enterprise>
X-Mailer: Claws Mail 3.17.3 (GTK+ 2.24.32; x86_64-pc-linux-gnu)
MIME-Version: 1.0
Content-Type: multipart/mixed; boundary="MP_/Kdol6.zbho79WC3M2h.vPFC"
Authentication-Results: smtp63.i.mail.ru; auth=pass smtp.auth=trek00@inbox.ru smtp.mailfrom=trek00@inbox.ru
X-7564579A: B8F34718100C35BD
X-77F55803: 4F1203BC0FB41BD96D681ABE1524340C657F70FEFE419B1C3372737BD0336470182A05F5380850404A3D881127F54EFFF519D64F8ABB8D419E0997DBC7B543B343EEA9A2159A04F8
X-7FA49CB5: FF5795518A3D127A4AD6D5ED66289B5278DA827A17800CE77603ADE015AF816DEA1F7E6F0F101C67BD4B6F7A4D31EC0BCC500DACC3FED6E28638F802B75D45FF8AA50765F790063764BF1E09E94CC6278638F802B75D45FF5571747095F342E8C7A0BC55FA0FE5FCCC1A0C5EC4A9A4DDF8D0A94C9EA5C2D0B9D0F3A21AD167A7389733CBF5DBD5E913377AFFFEAFD269A417C69337E82CC2CC7F00164DA146DAFE8445B8C89999725571747095F342E8C26CFBAC0749D213D2E47CDBA5A9658378DA827A17800CE767883B903EA3BAEA9FA2833FD35BB23DF004C906525384309383FD4D963104D47B076A6E789B0E975F5C1EE8F4F765FCD589CD98505BAB463AA81AA40904B5D9CF19DD082D7633A0446828A5085A663B3AA81AA40904B5D98AA50765F7900637C94C7BCFFD32FA5BD81D268191BDAD3D18080C068C56568E156CCFE7AF13BCA413377AFFFEAFD2690E30A4C9C8E338DAB4DCD4FA34C64C2C93EC92FD9297F6715571747095F342E857739F23D657EF2BD5E8D9A59859A8B6A7BC22BB3CDCF9FF089D37D7C0E48F6C5571747095F342E857739F23D657EF2B6825BDBE14D8E702ABEDDA51113D120200306258E7E6ABB4E4A6367B16DE6309
X-C8649E89: 7430E34FE55BCF6456B25C46D37F46A13F3AC97F74F21AD32E287CC915AA78AB58BFAB92B8E52E5C
X-D57D3AED: 3ZO7eAau8CL7WIMRKs4sN3D3tLDjz0dLbV79QFUyzQ2Ujvy7cMT6pYYqY16iZVKkSc3dCLJ7zSJH7+u4VD18S7Vl4ZUrpaVfd2+vE6kuoey4m4VkSEu530nj6fImhcD4MUrOEAnl0W826KZ9Q+tr5ycPtXkTV4k65bRjmOUUP8cvGozZ33TWg5HZplvhhXbhDGzqmQDTd6OAevLeAnq3Ra9uf7zvY2zzsIhlcp/Y7m53TZgf2aB4JOg4gkr2biojmuWqfOuyJ9xu3Wz1yeyslg==
X-Mailru-Sender: 3A58916676D730AD951B46615AB674476BEF2759EC131FB15131D34C73C26A3F3120E6DF4C99E4C950C8671BB29F155466FEC6BF5C9C28D92FDFAC6E1957D35C4FEB34E26CA8F10167EA787935ED9F1B
X-Mras: Ok
X-Spam-Status: No, score=0.0 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,
	RCVD_IN_DNSWL_NONE,SPF_HELO_PASS,SPF_PASS autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org
[Message part 1 (text/plain, inline)]
I had some time to check the sources of eudev and it does not contains
the f59118e commit, that prevented the removal of the control socket on
exit[1], so I send this patch to restore the old rock solid start-up
behavior of udev

the patch is based on the Devuan unstable ed8c5770e0 commit, but please
note that it is untested, as i don't have a Devuan system, nor eudev,
but at least it shows how to do it

basically eudev is launched with --daemon argument and all the pidfile
tracking stuff is removed, because when eudev is killed by sendsigs, it
removes the control socket and dmsetup/cryptsetup will not hang trying
to connect to eudev on shutdown

ciao!

1. https://github.com/systemd/systemd/issues/2477#issuecomment-239077407
[eudev-daemon.patch (text/x-patch, attachment)]

Send a report that this bug log contains spam.


Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson,
2005-2017 Don Armstrong, and many other contributors.

Devuan Bugs Owner <owner@bugs.devuan.org>.
Last modified: Mon Nov 25 04:38:10 2024;