Control: tag -1 +confirmed
Hello Richard, Thank you for filing this bug report. On Thu, 2016-01-21 at 09:44 +0000, Richard Scott wrote: > Package: sg3-utils > Version: 1.39-1 > Severity: normal > > Dear Maintainer, > > I have just installed a fresh Debian server using debian-8.2.0-amd64- > CD-1.iso and then installed sg3-utils to get the rescan scsi bus > command. > When I run the command I get the following error as it requires a > usleep command which is not installed: > > /usr/bin/rescan-scsi-bus.sh: line 247: usleep: command not found > > If s3g-utils had the sleepenh package as a dependency it could be > fixed, However.... > I think the best would be that we patch sg3-utils to use sleep instead. sleep is part of coreutils which is very standardized on Linux. I'll also check on my BSD VMs. sleep also supports arguments in decimal format. So a 20000 microsecs equals to 0.02 secs, which sleep takes happily on Linux. 2016-01-21 / 15:32:01 ♒♒♒ ☺ rrs@learner:~/.rrs-home/Community/Packaging/sg3-utils (master)$ sleep 0.02 2016-01-21 / 15:32:04 ♒♒♒ ☺ rrs@learner:~/.rrs-home/Community/Packaging/sg3-utils (master)$ > There is a bug report for that speelenh package that has not been > fixed correctly as far as I can tell: > https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=223455 > > That is a bug report asking for a symlink from 'sleepenh' to 'usleep' > to be added. > I've just installed sleepenh-1.3-1 and I don't get the symlink: > > root@localhost:~# apt-file list sleepenh > sleepenh: /usr/bin/sleepenh > sleepenh: /usr/share/doc/sleepenh/changelog.Debian.gz > sleepenh: /usr/share/doc/sleepenh/copyright > sleepenh: /usr/share/man/man1/sleepenh.1.gz > And that bug report is from 2003. But its current status is marked 'Fixed'. I think the best bet is we patch it in sg3-utils. -- Ritesh Raj Sarraf RESEARCHUT - http://www.researchut.com "Necessity is the mother of invention."
signature.asc
Description: This is a digitally signed message part