Date: Fri, 08 Mar 2019 14:05:26 +0000 From: bugzilla-noreply@freebsd.org To: ports-bugs@FreeBSD.org Subject: [Bug 236393] sysutils/sg3_utils After update to 1.44 relative path of device is no longer accepted Message-ID: <bug-236393-7788@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236393 Bug ID: 236393 Summary: sysutils/sg3_utils After update to 1.44 relative path of device is no longer accepted Product: Ports & Packages Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Individual Port(s) Assignee: delphij@FreeBSD.org Reporter: andrew.hotlab@hotmail.com Flags: maintainer-feedback?(delphij@FreeBSD.org) Assignee: delphij@FreeBSD.org I do not know if it is the intended behavior from now on, but after the lat= est upgrade (from 1.42 to 1.44), sg3_utils commands do not take for granted the "/dev" prefix any longer in the device name parameter. This broke some scri= pts of ours which leverage the sg_persist(8) command. Here is an example transcript: # sg_persist -V version: 0.52 20160201 # sg_persist -i -s da0 FREEBSD CTLDISK 0001 Peripheral device type: disk PR generation=3D0x9 Key=3D0x223220250 All target ports bit clear Relative port address: 0x6 << Reservation holder >> scope: LU_SCOPE, type: Write Exclusive Transport Id of initiator: iSCSI world wide unique port id: iqn.1994-09.org.freebsd:xxx.xxx.xxx,i,0x80118193bc0b # sg_persist -V version: 0.66 20180615 # sg_persist -i -s da0 scsi_pt_open_flags: unable to stat(da0): No such file or directory sg_persist: error opening file (ro): da0: No such file or directory I examined the changelog (https://github.com/hreinecke/sg3_utils/blob/master/ChangeLog), but I didn't find anything about this. --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-236393-7788>