[Pkg-zfsonlinux-devel] Bug#842237: Bug#842237: zfs-share.service tries to call /usr/sbin/rm
Fabian Grünbichler
f.gruenbichler at proxmox.com
Fri Oct 28 09:49:37 UTC 2016
On Thu, Oct 27, 2016 at 04:04:17PM +0200, Petter Reinholdtsen wrote:
> [Richard Laager]
> > FWIW, the Debian package can put these wherever with a simple mv in
> > debian/rules. Choices are not limited by the upstream autoconf setup.
>
> Absolutely. On the other hand, I believe we are doing zfs users a
> service if the binaries are placed the same place across Linux and unix*
> distributions. It make life for IT support and documentation writers
> easier.
>
Attached patch reverts the bindir = /usr/sbin change in favour of moving
the scripts in debian/rules (reusing the 'mv' that already happens in
master because of the dropped '.py' suffix).
I checked and none of the file paths in the built binary packages
changes, so this only reverts to the default bindir for future binaries
introduced in newer upstream versions.
Ubuntu seems to have opted for symlinking the non-'.py' paths instead of
moving the scripts (I assume for compatibility with existing scripts /
callers), if that is planned for the Debian packages as well the "mv to
rename" and "mv to move" calls need to be split of course.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-fix-python-script-install-path.patch
Type: text/x-diff
Size: 1927 bytes
Desc: fix-python-script-install-paths.patch
URL: <http://lists.alioth.debian.org/pipermail/pkg-zfsonlinux-devel/attachments/20161028/55424bf2/attachment.patch>
More information about the Pkg-zfsonlinux-devel
mailing list