← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1684731] Re: zfs-share.service: Failed at step EXEC spawning /usr/bin/rm: No such file or directory

 

This bug was fixed in the package zfs-linux - 0.6.5.9-5ubuntu6

---------------
zfs-linux (0.6.5.9-5ubuntu6) artful; urgency=medium

  * Fix incorrect path to rm in zfs-share.service.in (LP: #1684731)

 -- Colin Ian King <colin.king@xxxxxxxxxxxxx>  Mon, 22 May 2017 17:13:44
+0100

** Changed in: zfs-linux (Ubuntu Artful)
       Status: Incomplete => Fix Released

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1684731

Title:
  zfs-share.service: Failed at step EXEC spawning /usr/bin/rm: No such
  file or directory

Status in zfs-linux package in Ubuntu:
  Fix Released
Status in zfs-linux source package in Xenial:
  Fix Committed
Status in zfs-linux source package in Yakkety:
  Fix Committed
Status in zfs-linux source package in Zesty:
  Fix Committed
Status in zfs-linux source package in Artful:
  Fix Released

Bug description:
  == SRU Xenial, Yakkety, Zesty ==

  [Justification]
  The path to rm is incorrect and hence it won't remove the /etc/dfs/sharetab

  [Fix]
  Set correct path, use /bin/rm and not /usr/bin/rm

  [Test Case]
  Without the fix, /etc/dfs/sharetab is not removed. With the fix, it is removed.  To test, touch /etc/dfs/sharetab and it should be removed on startup of the zfs share service.

  [Regression Potenial]
  Minimal, this affects the removal of a file that should be fixed. The only regression risk is if somebody is depending on this file, which they should not be doing so.

  wrong `rm` path on /lib/systemd/system/zfs-share.service

      ExecStartPre=-/usr/bin/rm -f /etc/dfs/sharetab

  there is no file such /usr/bin/rm

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/zfs-linux/+bug/1684731/+subscriptions