[Bug 1310792] Re: dfree command is not working anymore in samba

Peter de Kraker 1310792 at bugs.launchpad.net
Tue Apr 22 10:56:37 UTC 2014


I did some more digging through the logs, and it turns out that the command is called, but fails due to not being called as root user.
For access to the zfs stats you need to be root. This worked ok in 13.10, but it looks like the dfree command is not executed as root user anymore. I would call this a regression, but maybe this is intentional? Still,  it makes my dfree command useless...

[2014/04/22 12:48:52.745632,  0] ../source3/smbd/dfree.c:128(sys_disk_free)
  disk_free: file_lines_load() failed for command '/home/peter/scripts/zfs_free.sh .'. Error was : No child processes
Unable to open /dev/zfs: Permission denied.
Unable to open /dev/zfs: Permission denied.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to samba in Ubuntu.
https://bugs.launchpad.net/bugs/1310792

Title:
  dfree command is not working anymore in samba

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/samba/+bug/1310792/+subscriptions



More information about the Ubuntu-server-bugs mailing list