Bug 1476908 - /usr/lib/udev/scsi_id -s switch doesn't work
Summary: /usr/lib/udev/scsi_id -s switch doesn't work
Keywords:
Status: CLOSED NEXTRELEASE
Alias: None
Product: Fedora
Classification: Fedora
Component: systemd
Version: 26
Hardware: Unspecified
OS: Unspecified
unspecified
unspecified
Target Milestone: ---
Assignee: systemd-maint
QA Contact: Fedora Extras Quality Assurance
URL:
Whiteboard:
Depends On:
Blocks: 1476910
TreeView+ depends on / blocked
 
Reported: 2017-07-31 19:14 UTC by Jaroslav Škarvada
Modified: 2018-03-23 08:40 UTC (History)
9 users (show)

Fixed In Version: systemd-235-1.fc28
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
: 1476910 (view as bug list)
Environment:
Last Closed: 2018-03-23 08:40:20 UTC
Type: Bug
Embargoed:


Attachments (Terms of Use)

Description Jaroslav Škarvada 2017-07-31 19:14:52 UTC
Description of problem:
It seems the short -s option doesn't work, i.e. it's at least inconsistent with the built-in help.

Version-Release number of selected component (if applicable):
systemd-233-6.fc26.x86_64

How reproducible:
Always

Steps to Reproduce:
1.
# /usr/lib/udev/scsi_id -gu -s /dev/sda
2.
# /usr/lib/udev/scsi_id -gu -s3 /dev/sda
3.
# /usr/lib/udev/scsi_id -gu -s 3 /dev/sda
4.
# /usr/lib/udev/scsi_id -gu --sg-version=3 /dev/sda

Actual results:
1.
/usr/lib/udev/scsi_id: invalid option -- 's'
2.
/usr/lib/udev/scsi_id: invalid option -- 's'
3.
/usr/lib/udev/scsi_id: invalid option -- 's'
4.
ID

Expected results:
1.
probably /usr/lib/udev/scsi_id: invalid option -- 's'
2.
ID
3.
error or ID
4.
ID

Additional info:

Comment 1 Jan Synacek 2017-08-01 07:00:30 UTC
https://github.com/systemd/systemd/pull/6501

Comment 2 Zbigniew Jędrzejewski-Szmek 2018-03-23 08:40:20 UTC
Fixed in F28. Please reopen if you need this in F26 or F27.


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