** Description changed:

+ == 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
+     ExecStartPre=-/usr/bin/rm -f /etc/dfs/sharetab
  
  there is no file such /usr/bin/rm

-- 
You received this bug notification because you are a member of Kernel
Packages, which is subscribed to zfs-linux in Ubuntu.
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:
  Incomplete
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:
  Incomplete

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

-- 
Mailing list: https://launchpad.net/~kernel-packages
Post to     : kernel-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~kernel-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to