Bug 1787089 - udevadm info pre-pending an extra forward slash to path names
Summary: udevadm info pre-pending an extra forward slash to path names
Keywords:
Status: CLOSED RAWHIDE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: rawhide
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2019-12-30 23:26 UTC by mulhern
Modified: 2020-02-06 12:15 UTC (History)
7 users (show)

Fixed In Version: systemd-245~rc1-1.fc32
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2020-02-06 12:15:49 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description mulhern 2019-12-30 23:26:44 UTC
Description of problem:

In some cases, an extra slash is prepended to a path name in the output of udevadm info.

Version-Release number of selected component (if applicable):

In Rawhide, 244. Also, on Fedora 30, 241. Also on Fedora 31, presumably on some version in between. Could not check Fedora 29. Not on RHEL8, 239.

How reproducible:

100%

Steps to Reproduce:
1. udevadm info --export-db. Pick an arbitrary device from the output.
2. udevadm info --path <pathname>.
3. Note that the paths have an extra '/' at the front (although this was not the case for the output of (1). The DEVPATH property is a good example.

Actual results:

Paths look like: E: DEVPATH=//devices/virtual/workqueue/writeback

Expected results:

Paths look like: E: DEVPATH=/devices/virtual/workqueue/writeback

Additional info:

None.

Comment 1 Yu Watanabe 2020-01-28 15:27:05 UTC
Fix is waiting in https://github.com/systemd/systemd/pull/14684

Comment 2 Zbigniew Jędrzejewski-Szmek 2020-02-02 18:50:32 UTC
This was finally fixed in https://github.com/systemd/systemd/pull/14689.


Note You need to log in before you can comment on or make changes to this bug.