Comment 2 for bug 1310792

Revision history for this message
Peter de Kraker (peterdekraker) wrote :

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.