Debian Bug report logs - #880647
Suggest symlinks to binaries from /usr/bin

version graph

Package: zfsutils-linux; Maintainer for zfsutils-linux is Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@alioth-lists.debian.net>; Source for zfsutils-linux is src:zfs-linux (PTS, buildd, popcon).

Reported by: Colm Buckley <colm@tuatha.org>

Date: Fri, 3 Nov 2017 09:00:02 UTC

Severity: normal

Found in version zfs-linux/0.7.3-1

Done: Aron Xu <aron@debian.org>

Bug is archived. No further changes may be made.

Toggle useless messages

View this report as an mbox folder, status mbox, maintainer mbox


Report forwarded to debian-bugs-dist@lists.debian.org, Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>:
Bug#880647; Package zfsutils-linux. (Fri, 03 Nov 2017 09:00:05 GMT) (full text, mbox, link).


Acknowledgement sent to Colm Buckley <colm@tuatha.org>:
New Bug report received and forwarded. Copy sent to Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>. (Fri, 03 Nov 2017 09:00:05 GMT) (full text, mbox, link).


Message #5 received at submit@bugs.debian.org (full text, mbox, reply):

From: Colm Buckley <colm@tuatha.org>
To: submit@bugs.debian.org
Subject: Suggest symlinks to binaries from /usr/bin
Date: Fri, 3 Nov 2017 08:57:46 +0000
[Message part 1 (text/plain, inline)]
Package: zfsutils-linux
Version: 0.7.3-1

As 'zfs allow' now allows certain functions to be executed by any user, I
suggest a symbolic link from /usr/bin/zfs to /usr/sbin/{zfs, zpool} be
included.
[Message part 2 (text/html, inline)]

Information forwarded to debian-bugs-dist@lists.debian.org, Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>:
Bug#880647; Package zfsutils-linux. (Sat, 04 Nov 2017 15:57:02 GMT) (full text, mbox, link).


Acknowledgement sent to Craig Sanders <cas@taz.net.au>:
Extra info received and forwarded to list. Copy sent to Debian ZFS on Linux maintainers <pkg-zfsonlinux-devel@lists.alioth.debian.org>. (Sat, 04 Nov 2017 15:57:02 GMT) (full text, mbox, link).


Message #10 received at 880647@bugs.debian.org (full text, mbox, reply):

From: Craig Sanders <cas@taz.net.au>
To: 880647@bugs.debian.org
Subject: Re: [Pkg-zfsonlinux-devel] Bug#880647: Suggest symlinks to binaries from /usr/bin
Date: Sun, 5 Nov 2017 02:49:08 +1100
On Fri, Nov 03, 2017 at 08:57:46AM +0000, Colm Buckley wrote:
> As 'zfs allow' now allows certain functions to be executed by any
> user, I suggest a symbolic link from /usr/bin/zfs to /usr/sbin/{zfs,
> zpool} be included.

Why? What's so special about the zfs tools?  There are many other
tools in /sbin and /usr/sbin that provide some (generally limited)
functionality to non-root users, but none of them have a symlink
cluttering up /usr/bin.

Users who need the zfs and other sbin tools in their $PATH can easily
add the sbin directories in their .bashrc or whatever. It works and it's
easy to do - I've been doing exactly that on linux systems for over 35
years.

craig

--
craig sanders <cas@taz.net.au>



Reply sent to Aron Xu <aron@debian.org>:
You have taken responsibility. (Sun, 05 Nov 2017 04:18:06 GMT) (full text, mbox, link).


Notification sent to Colm Buckley <colm@tuatha.org>:
Bug acknowledged by developer. (Sun, 05 Nov 2017 04:18:06 GMT) (full text, mbox, link).


Message #15 received at 880647-close@bugs.debian.org (full text, mbox, reply):

From: Aron Xu <aron@debian.org>
To: Craig Sanders <cas@taz.net.au>, 880647-close@bugs.debian.org
Subject: Re: [Pkg-zfsonlinux-devel] Bug#880647: Bug#880647: Suggest symlinks to binaries from /usr/bin
Date: Sun, 5 Nov 2017 12:15:54 +0800
On Sat, Nov 4, 2017 at 11:49 PM, Craig Sanders <cas@taz.net.au> wrote:
> On Fri, Nov 03, 2017 at 08:57:46AM +0000, Colm Buckley wrote:
>> As 'zfs allow' now allows certain functions to be executed by any
>> user, I suggest a symbolic link from /usr/bin/zfs to /usr/sbin/{zfs,
>> zpool} be included.
>
> Why? What's so special about the zfs tools?  There are many other
> tools in /sbin and /usr/sbin that provide some (generally limited)
> functionality to non-root users, but none of them have a symlink
> cluttering up /usr/bin.
>
> Users who need the zfs and other sbin tools in their $PATH can easily
> add the sbin directories in their .bashrc or whatever. It works and it's
> easy to do - I've been doing exactly that on linux systems for over 35
> years.
>

Changing $PATH is recommended, people doing this may also consider
adding sudo configuration to make certain users able to run those
commands without needing to gain root everytime.

Regards,
Aron



Bug archived. Request was from Debbugs Internal Request <owner@bugs.debian.org> to internal_control@bugs.debian.org. (Sun, 03 Dec 2017 07:30:11 GMT) (full text, mbox, link).


Send a report that this bug log contains spam.


Debian bug tracking system administrator <owner@bugs.debian.org>. Last modified: Sat Jul 1 20:35:05 2023; Machine Name: bembo

Debian Bug tracking system

Debbugs is free software and licensed under the terms of the GNU Public License version 2. The current version can be obtained from https://bugs.debian.org/debbugs-source/.

Copyright © 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson, 2005-2017 Don Armstrong, and many other contributors.