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

version graph

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

Reported by: Ralph Ronnquist <ralph.ronnquist@gmail.com>

Date: Mon, 25 Jun 2018 12:03:01 UTC

Severity: normal

Tags: moreinfo

Found in version 3.2.2.13

Done: Arne Wichmann <aw@anhrefn.saar.de>

Reply or subscribe to this bug.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to devuan-bugs@lists.dyne.org, owner@bugs.devuan.org:
bug#222; Package eudev. (full text, mbox, link).


Acknowledgement sent to Ralph Ronnquist <ralph.ronnquist@gmail.com>:
New bug report received and forwarded. Copy sent to owner@bugs.devuan.org. (full text, mbox, link).


Message #5 received at submit@bugs.devuan.org (full text, mbox, reply):

From: Ralph Ronnquist <ralph.ronnquist@gmail.com>
To: Devuan Bug Tracking System <submit@bugs.devuan.org>
Subject: hdparm rules use DEVNAME only
Date: Mon, 25 Jun 2018 21:56:31 +1000
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.


Information forwarded to devuan-bugs@lists.dyne.org, Devuan Dev Team <devuan-dev@list.dyne.org>:
bug#222; Package eudev. (Mon, 27 Jan 2020 12:48:02 GMT) (full text, mbox, link).


Acknowledgement sent to svante.signell@gmail.com:
Extra info received and forwarded to list. Copy sent to Devuan Dev Team <devuan-dev@list.dyne.org>. (Mon, 27 Jan 2020 12:48:05 GMT) (full text, mbox, link).


Message #10 received at 222@bugs.devuan.org (full text, mbox, reply):

From: Svante Signell <svante.signell@gmail.com>
To: 222@bugs.devuan.org
Subject: Re: [Devuan-bugs] bug#222: hdparm rules use DEVNAME only
Date: Mon, 27 Jan 2020 13:39:14 +0100
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.
> """"



Added tag(s) moreinfo. Request was from Arne Wichmann <aw@old-forest.org> to control@bugs.devuan.org. (Thu, 22 Oct 2020 16:48:01 GMT) (full text, mbox, link).


Reply sent to Arne Wichmann <aw@anhrefn.saar.de>:
You have taken responsibility. (Fri, 10 Nov 2023 19:08:01 GMT) (full text, mbox, link).


Notification sent to Ralph Ronnquist <ralph.ronnquist@gmail.com>:
bug acknowledged by developer. (Fri, 10 Nov 2023 19:08:02 GMT) (full text, mbox, link).


Message #17 received at 222-done@bugs.devuan.org (full text, mbox, reply):

From: Arne Wichmann <aw@anhrefn.saar.de>
To: 222-done@bugs.devuan.org
Subject: bug #222 closing - no info for 3 years
Date: Fri, 10 Nov 2023 20:01:39 +0100
[Message part 1 (text/plain, inline)]
If this is still not solved please reopen.

cu

AW
-- 
[...] 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 (aw@saar.de)
[signature.asc (application/pgp-signature, inline)]

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 07:36:42 2024;