** 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 Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1684731

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

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

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to