On Wed, 25 Jan 2017 14:42:36 +0100 bi...@debian.org wrote:
> Package: golang-github-shirou-gopsutil
> Version: 2.1-2.1
> Severity: normal
> User: pkg-systemd-maintain...@lists.alioth.debian.org
> Usertags: udevadm
> 
> Hi,
> 
> since Jessie, the udevadm binary is available as /bin/udevadm.
> To not break existing scripts, which use the old /sbin/udevadm path,
> the udev package currently ships a compat symlink which we would like
> to drop eventually (in buster or buster+1).
> 
> According to codesearch [1] your package golang-github-shirou-gopsutil does 
> hard-code the
> udevadm path as /sbin/udevadm.
> 
> Please change that to /bin/udevadm.

With stretch being released and buster open for development, it would be
a great opportunity to get this fixed now. So please consider adding
this change in your next upload.

If you are worried about backports: /bin/udevadm is already available in
Debian jessie (oldstable) or Ubuntu trusty (14.04LTS). So it's safe to
use the /bin/udevadm path.

You might also consider not hard-coding the path altogether, and simply
rely on PATH being set properly. This should be a safe assumption,
especially since the binary is now in /bin

Regards,
Michael

-- 
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?

_______________________________________________
Pkg-go-maintainers mailing list
Pkg-go-maintainers@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-go-maintainers

Reply via email to