Devuan bug report logs - #222
hdparm rules use DEVNAME only

Package: eudev; Reported by: Ralph Ronnquist <[email protected]>; Keywords: moreinfo; Done: Arne Wichmann <[email protected]>; Maintainer for eudev is Devuan Dev Team <[email protected]>.

Message received at [email protected]:


Received: (at 222-done) by bugs.devuan.org; 10 Nov 2023 19:06:01 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from email.devuan.org [2a01:4f8:140:32a1::58c6:6473]
	by doc.devuan.org with IMAP (fetchmail-6.4.16)
	for <debbugs@localhost> (single-drop); Fri, 10 Nov 2023 19:06:01 +0000 (UTC)
Received: from email.devuan.org
	by email.devuan.org with LMTP
	id LQwdA9p+TmUUMgAAmSBk0A
	(envelope-from <[email protected]>)
	for <[email protected]>; Fri, 10 Nov 2023 19:04:58 +0000
Received: by email.devuan.org (Postfix, from userid 109)
	id 00D5D65E; Fri, 10 Nov 2023 19:04:57 +0000 (UTC)
X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on email.devuan.org
X-Spam-Level: 
X-Spam-Status: No, score=-0.0 required=5.0 tests=SPF_PASS autolearn=ham
	autolearn_force=no version=3.4.6
Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=5.199.139.22; helo=arnium.elogos.de; [email protected]; receiver=<UNKNOWN> 
Received: from arnium.elogos.de (arnium.elogos.de [5.199.139.22])
	by email.devuan.org (Postfix) with ESMTPS id E76E427
	for <[email protected]>; Fri, 10 Nov 2023 19:04:56 +0000 (UTC)
Received: from [192.168.3.66] (helo=anhrefn.saar.de)
	by arnium.elogos.de with esmtp (Exim 4.96)
	(envelope-from <[email protected]>)
	id 1r1WuL-0007Mh-21
	for [email protected];
	Fri, 10 Nov 2023 20:11:09 +0100
Received: from aw by anhrefn.saar.de with local (Exim 4.97-RC3)
	(envelope-from <[email protected]>)
	id 1r1Wl9-000000003Ol-0twx
	for [email protected];
	Fri, 10 Nov 2023 20:01:39 +0100
Date: Fri, 10 Nov 2023 20:01:39 +0100
From: Arne Wichmann <[email protected]>
To: [email protected]
Subject: bug #222 closing - no info for 3 years
Message-ID: <[email protected]>
MIME-Version: 1.0
Content-Type: multipart/signed; micalg=pgp-sha256;
	protocol="application/pgp-signature"; boundary="17mBwP3zvUkp445S"
Content-Disposition: inline
X-message-flag: Outluck ist kaputt :-)
Return-Receipt-To: [email protected]


--17mBwP3zvUkp445S
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

If this is still not solved please reopen.

cu

AW
--=20
[...] If you don't want to be restricted, don't agree to it. If you are
coerced, comply as much as you must to protect yourself, just don't support
it. Noone can free you but yourself. (crag, on Debian Planet)
Y Plentyn ([email protected])

--17mBwP3zvUkp445S
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQIzBAABCAAdFiEEtFUkbndwdIn81UX3EIremXYA/4kFAmVOfhIACgkQEIremXYA
/4n4Eg/9FwQA4HlhEWKlo7nLOZSqwvhXFFxCJgRLICpgzlpl+6dLEH7E1nS+GREC
c7bk+6sLCiswMB4IHB2u6/E/yAwRkDu2wkVXx20CtadZvyRNv/J0RwXqNO9PQSlS
rUjBU8YG459LrqsTEdTlXubRFwa6YcNxvPmc6049m3F5EiPTRf5pVavM3JXrestt
97OQleu+N01PVh7l2yz04tYi/ghbUo27n5hK8z64/ej+coKSC//5UNeEL+g1GjQK
QNpd86UCwHPwbZ82+pBGqrXJxUfIwBQOPSElFn9uJJi1oUiKtNYXGFFKsnPMYYBA
5WRtoEB5ov45JuT6+Hse/FvTHUGqKy5PJ+tPBtKkFtOgBm0oVrMkIdkm3EF3Nmjr
HiEIEwPZg65RH9no5pVxO7AKjYdmno2a197SXuvVE0CzPRyuWWtEFtG3fwXxJh6O
LpgkdPtwKE34DMV8NHMLKDR+anskKO+3pq7TSPLjcH3cHu9xbkv8xBQPBdM8lIT7
P4F/h+EkG8RkbiEOfhCxcgwsxoRZra+rNG7PdjDOzt85QfLsLAeWtpGGNAFsC/ce
GyKNtyXKVOpSxn6x64E+lduBykuU3owMLc+1TraoEEPKJZxYSGx19UFgSNCJn2Zh
FVjD+F8igs2NRgdDYbArUfxrzb1N9eqwp1GncIEptiLTSWGMxxo=
=eRxs
-----END PGP SIGNATURE-----

--17mBwP3zvUkp445S--

Notification sent to Ralph Ronnquist <[email protected]>:
bug acknowledged by developer. Full text available.
Reply sent to Arne Wichmann <[email protected]>:
You have taken responsibility. Full text available.
Added tag(s) moreinfo. Request was from Arne Wichmann <[email protected]> to [email protected]. Full text available.

Message received at [email protected]:


Received: (at 222) by bugs.devuan.org; 27 Jan 2020 12:41:49 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
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); Mon, 27 Jan 2020 12:41:49 +0000 (UTC)
Received: from mail-lf1-f50.google.com (mail-lf1-f50.google.com [209.85.167.50])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id 455AFF60A17
	for <[email protected]>; Mon, 27 Jan 2020 13:38:03 +0100 (CET)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="QnngmJgH";
	dkim-atps=neutral
Received: by mail-lf1-f50.google.com with SMTP id z18so6080005lfe.2
        for <[email protected]>; Mon, 27 Jan 2020 04:38:03 -0800 (PST)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=message-id:subject:from:reply-to:to:date:in-reply-to:references
         :organization:user-agent:mime-version:content-transfer-encoding;
        bh=aoaLpjDW7RiUAVqgjW0Sf3jJCsw9zj0xI7IcSOypLGU=;
        b=QnngmJgHgy63dUWFjIOn3UjwmZbasnWz1j0xZ1TKYFuYtnlbQxoKblekn53zjMPmcW
         K8VJbbFUSDWWfJcDd7pGDw2heU0IbM7rc7Ugtk/UBdFDrQcRPa6Pck4+8Vqj8FaaIMJO
         NKcNLZ7K7dINMvBwiojxKLK/PzGUZ8JiMO2F3q2ileOM3+McDHvVQ96n3Qbc1DI25BiN
         ociRU+uIoGjqCuzMHtv0A9XfFoL9B+GggXULuhqVVVioci1MdCl6ZTOKxTd9eOdw5sUU
         Y4A1c9JxG5wF9bF9T5aVxFMVIh6TkPMGUvVIiF75ACvux62ICN7CdJa9hxFvdeJ9gDVE
         OrEA==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:message-id:subject:from:reply-to:to:date
         :in-reply-to:references:organization:user-agent:mime-version
         :content-transfer-encoding;
        bh=aoaLpjDW7RiUAVqgjW0Sf3jJCsw9zj0xI7IcSOypLGU=;
        b=Hm5kPi9Ijxe1LBqQuoIIzjLgAySFPunaRc5e0Ob6OvuOjIV0vdJjQ//mxu0tazbi2z
         RTGVuo/LGZYtLxtTghG5bDTT3SL5Dtu2bjRnYS8219zAYhihSoHcssn88I5uQsBBieIw
         J2zebN8+UVUY7r7clArZTnuzbQ2Y1Wa1tHCajpQiSq2CPB1VE9sSLICTt5aLcp9c6aKn
         tjN8SEro144364NcZpX3Fww0SCLUtVCHAuIpq1DiW9QMb71AE5dVQ5IDis7N6B/aTDJ6
         /Z+iub5kERj9sZLrOYWBieWvwRzeNZaxELheTOKK6/N5ZV2zSCPDp2odyy4FPAtT6qX3
         uzrg==
X-Gm-Message-State: APjAAAUu0gKxgcDDoXizNeJXYT5V1GR9mgSCioW5ccalfi9ydAE1p2ov
	sqpPgZDE5ysZn4ZpwlnJwbyB7ZtX
X-Google-Smtp-Source: APXvYqwBhZ/UJQYU6D6lbR8Ne6L67h/Ir0PLP6XyE/JRdZCvRexDgHE+FsAFZq62RBYSfwnRTIjb6A==
X-Received: by 2002:ac2:4199:: with SMTP id z25mr2639116lfh.26.1580128682369;
        Mon, 27 Jan 2020 04:38:02 -0800 (PST)
Received: from G3620.lan (178-78-231-178.customers.ownit.se. [178.78.231.178])
        by smtp.gmail.com with ESMTPSA id t27sm8189206ljd.26.2020.01.27.04.38.01
        (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256);
        Mon, 27 Jan 2020 04:38:01 -0800 (PST)
Message-ID: <[email protected]>
Subject: Re: [Devuan-bugs] bug#222: hdparm rules use DEVNAME only
From: Svante Signell <[email protected]>
Reply-To: [email protected]
To: [email protected]
Date: Mon, 27 Jan 2020 13:39:14 +0100
In-Reply-To: <[email protected]>
References: <[email protected]>
Organization: Home
Content-Type: text/plain; charset="ISO-8859-1"
User-Agent: Evolution 3.30.5-1.1 
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-0.2 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,
	RCVD_IN_MSPIKE_H2,SPF_PASS,WEIRD_QUOTING autolearn=disabled
	version=3.4.2
X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on tupac3.dyne.org

Package: eudev
Version: 3.2.2.13
tags 222 moreinfo

Dear Ralph and kalle-del-haye,

Can you confirm if this bug is still relevant for eudev?
Latest version available is: 3.2.9-4.

According to https://dev1galaxy.org/viewtopic.php?pid=10379#p10379 it seems like
this bug can be closed.

Thanks!

On Mon, 2018-06-25 at 21:56 +1000, Where all about bugs in Devuan packages is
reported wrote:
> Package: eudev
> Version: 3.2.2-13
> 
> Lodged on behalf of @kalle-delhaye:
> https://dev1galaxy.org/viewtopic.php?pid=10379#p10379
> 
> """"
> One week later - I've found the (or my?) fault.
> 
> When I upgraded my server from Debian Jessie to Devuan Ascii i reused 
> the working settings in hdparm.conf.
> But in Ascii, hdparm.conf is read by a script started by a eudev rule 
> and is working with /dev/sd? definitions only.
> No /dev/disk/by-label, no /dev/disk/by-uuid or any other links in /dev/disk.
> 
> That's because the little eudev script reading hdparm.conf is using only 
> the $DEVNAME environment variable from eudev to parse the settings. And 
> $DEVNAME is /dev/sda, for example.
> 
> The sd? links in /dev can change for a specific disk, so I think its not 
> a good idea to remove the by-label or by-uuid posibilities from hdparm.conf.
> As a workaround you can make your own eudev rule for partitions using 
> the variable $ID_FS_LABEL or $ID_FS_UUID for example.
> I will try this when I find some time.
> """"



Acknowledgement sent to [email protected]:
Extra info received and forwarded to list. Copy sent to Devuan Dev Team <[email protected]>. Full text available.
Information forwarded to [email protected], Devuan Dev Team <[email protected]>:
bug#222; Package eudev. Full text available.

Message received at [email protected]:


Received: (at submit) by bugs.devuan.org; 25 Jun 2018 12:00:02 +0000
Return-Path: <[email protected]>
Delivered-To: [email protected]
Received: from tupac3.dyne.org [195.169.149.119]
	by fulcanelli with IMAP (fetchmail-6.3.26)
	for <debbugs@localhost> (single-drop); Mon, 25 Jun 2018 14:00:01 +0200 (CEST)
Received: from mail-io0-f172.google.com (mail-io0-f172.google.com [209.85.223.172])
	(using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits))
	(No client certificate requested)
	by vm6.ganeti.dyne.org (Postfix) with ESMTPS id AA9D4F608B0
	for <[email protected]>; Mon, 25 Jun 2018 13:59:31 +0200 (CEST)
Authentication-Results: vm6.ganeti.dyne.org;
	dkim=pass (2048-bit key; unprotected) header.d=gmail.com [email protected] header.b="csLGy76W";
	dkim-atps=neutral
Received: by mail-io0-f172.google.com with SMTP id k16-v6so9514259ioa.8
        for <[email protected]>; Mon, 25 Jun 2018 04:57:11 -0700 (PDT)
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=gmail.com; s=20161025;
        h=to:from:subject:message-id:date:user-agent:mime-version
         :content-language:content-transfer-encoding;
        bh=minbgU7JU/Kyex7ix3n2ADz57NaGhu0s9b4afP5gtu8=;
        b=csLGy76WQx65aTSOu8pfLr/irqYUguflnSsr3jhLQxfihBB8EXVP5pn3L8hPkzLtLp
         EzppBYKoNJ7zBBQRiIUMUucI2gL1YMlZy67qc+/Ce0/ypsJKCV0UoDCEooN/yytypomG
         8KOPxYamv6csoxj08Qg6fSm8jzU5MN/R1FtW73v7WGIdb1m3YV6l0qwvb6vYc7k8FQ4r
         Noj32hW5vMpmBowEq8Tto4RqFmZYschgBbLhTFb2OwKMmGypWVO7W0te5LoUh3ZIWbi5
         PcXie7qZSZtwaSqQFtM6zcYNjvEQFsCX2qdDlgx7ybetd9mU+tvnVvgmc2gfO/Y++ulc
         6L3w==
X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed;
        d=1e100.net; s=20161025;
        h=x-gm-message-state:to:from:subject:message-id:date:user-agent
         :mime-version:content-language:content-transfer-encoding;
        bh=minbgU7JU/Kyex7ix3n2ADz57NaGhu0s9b4afP5gtu8=;
        b=jye0wQIo0mxohNZV6WRsNwvLF2RZyOxOGrCQMcF4MsN2PcgD2ZpuIi+2iDfWmLDaP1
         gE+ZfTFGZBgw2uyVwunoE+NOtkeoY4yADHvu7AfwlPprNY/bdcNPprx9XtYGM+bOzYAI
         wqqGS4qv2QuNanqxUZJyuU4D5TM1xZkL1t2BPMr2UJgfaYpONdeS9/eLTAMhw7etxta6
         kWyBOxEuyZN5o/JXj5mQEYaTeTVylK/RlWWda5KHzB/8/PfEZ4sbm0ScdqyX9uW7RkOu
         uBq6JyXJcBGCcxqWgepZ23X+ESu9SNn5QgILJHXDLMzW1MhHaSDSYMlbALW+vWF6yXnp
         wL5w==
X-Gm-Message-State: APt69E2/h2kq9MTVOHPth4gNUWpWDY75AJFx9Ky6pkO+HKvdVvj5vHi1
	/JdrxsreIlsT3IYLeUxF9qnAVMrb
X-Google-Smtp-Source: AAOMgpcvzpoN2qv/d80eTJWUk8JjDSH/TEZpMGkur1hrenv1PS0jP8mOv/iYj2I1schSjeG2nXKvLQ==
X-Received: by 2002:a6b:2b4d:: with SMTP id r74-v6mr9737952ior.214.1529927830119;
        Mon, 25 Jun 2018 04:57:10 -0700 (PDT)
Received: from [192.168.103.24] (60-242-139-200.static.tpgi.com.au. [60.242.139.200])
        by smtp.gmail.com with ESMTPSA id o193-v6sm3888380itb.41.2018.06.25.04.57.08
        for <[email protected]>
        (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128);
        Mon, 25 Jun 2018 04:57:09 -0700 (PDT)
To: Devuan Bug Tracking System <[email protected]>
From: Ralph Ronnquist <[email protected]>
Subject: hdparm rules use DEVNAME only
Message-ID: <[email protected]>
Date: Mon, 25 Jun 2018 21:56:31 +1000
User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101
 Thunderbird/52.8.0
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Language: en-US
Content-Transfer-Encoding: 7bit
X-Spam-Status: No, score=-2.4 required=5.0 tests=DKIM_SIGNED,DKIM_VALID,
	DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,RCVD_IN_MSPIKE_H2,
	RCVD_IN_SORBS_SPAM,SPF_PASS,WEIRD_QUOTING autolearn=disabled version=3.4.1
X-Spam-Checker-Version: SpamAssassin 3.4.1 (2015-04-28) on tupac3.dyne.org

Package: eudev
Version: 3.2.2-13

Lodged on behalf of @kalle-delhaye:
https://dev1galaxy.org/viewtopic.php?pid=10379#p10379

""""
One week later - I've found the (or my?) fault.

When I upgraded my server from Debian Jessie to Devuan Ascii i reused 
the working settings in hdparm.conf.
But in Ascii, hdparm.conf is read by a script started by a eudev rule 
and is working with /dev/sd? definitions only.
No /dev/disk/by-label, no /dev/disk/by-uuid or any other links in /dev/disk.

That's because the little eudev script reading hdparm.conf is using only 
the $DEVNAME environment variable from eudev to parse the settings. And 
$DEVNAME is /dev/sda, for example.

The sd? links in /dev can change for a specific disk, so I think its not 
a good idea to remove the by-label or by-uuid posibilities from hdparm.conf.
As a workaround you can make your own eudev rule for partitions using 
the variable $ID_FS_LABEL or $ID_FS_UUID for example.
I will try this when I find some time.
""""

Ralph.


Acknowledgement sent to Ralph Ronnquist <[email protected]>:
New bug report received and forwarded. Copy sent to [email protected]. Full text available.
Report forwarded to [email protected], [email protected]:
bug#222; Package eudev. Full text available.

Devuan BTS -- Powered by Debian bug tracking system
Copyright (C) 1999 Darren O. Benham,
1997 nCipher Corporation Ltd, 1994-97 Ian Jackson.

Devuan Bugs Owner <[email protected]>.
Last modified: Sat, 30 Nov 2024 22:39:01 UTC