[Pkg-zfsonlinux-devel] Bug#915576: zfsutils-linux: zfs-share.service references /usr/bin/rm, should be /bin/rm
Mason Loring Bliss
mason at blisses.org
Tue Dec 4 23:45:16 GMT 2018
Package: zfsutils-linux
Version: 0.6.5.9-5
Severity: normal
Tags: patch
Dear Maintainer,
* What led up to the situation?
Booted, noted error.
Patch:
$ diff -c /lib/systemd/system/zfs-share.service /tmp/fixed
*** /lib/systemd/system/zfs-share.service 2017-03-19 06:14:57.000000000 -0400
--- /tmp/fixed 2018-12-04 18:39:12.756631166 -0500
***************
*** 9,15 ****
[Service]
Type=oneshot
RemainAfterExit=yes
! ExecStartPre=-/usr/bin/rm -f /etc/dfs/sharetab
ExecStart=/sbin/zfs share -a
[Install]
--- 9,15 ----
[Service]
Type=oneshot
RemainAfterExit=yes
! ExecStartPre=-/bin/rm -f /etc/dfs/sharetab
ExecStart=/sbin/zfs share -a
[Install]
-- System Information:
Debian Release: 9.6
APT prefers stable-updates
APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.9.0-8-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8), LANGUAGE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages zfsutils-linux depends on:
ii init-system-helpers 1.48
ii libblkid1 2.29.2-1+deb9u1
ii libc6 2.24-11+deb9u3
ii libnvpair1linux 0.6.5.9-5
ii libuuid1 2.29.2-1+deb9u1
ii libuutil1linux 0.6.5.9-5
ii libzfs2linux 0.6.5.9-5
ii libzpool2linux 0.6.5.9-5
ii python3 3.5.3-1
ii zlib1g 1:1.2.8.dfsg-5
Versions of packages zfsutils-linux recommends:
ii lsb-base 9.20161125
ii zfs-dkms [zfs-modules] 0.6.5.9-5
ii zfs-zed 0.6.5.9-5
Versions of packages zfsutils-linux suggests:
pn nfs-kernel-server <none>
pn samba-common-bin <none>
pn zfs-initramfs | zfs-dracut <none>
-- Configuration Files:
/etc/sudoers.d/zfs [Errno 13] Permission denied: '/etc/sudoers.d/zfs'
-- no debconf information
-------------- next part --------------
*** /lib/systemd/system/zfs-share.service 2017-03-19 06:14:57.000000000 -0400
--- fixed 2018-12-04 18:39:12.756631166 -0500
***************
*** 9,15 ****
[Service]
Type=oneshot
RemainAfterExit=yes
! ExecStartPre=-/usr/bin/rm -f /etc/dfs/sharetab
ExecStart=/sbin/zfs share -a
[Install]
--- 9,15 ----
[Service]
Type=oneshot
RemainAfterExit=yes
! ExecStartPre=-/bin/rm -f /etc/dfs/sharetab
ExecStart=/sbin/zfs share -a
[Install]
More information about the Pkg-zfsonlinux-devel
mailing list