Web lists-archives.com

Re: [Samba] dfree command...




I've test the script with crontab and it is called and worked.
So, what else can the problem why it is not called by samba? Permission and owner are given.


Am 04.05.2018 um 19:33 schrieb Jeremy Allison:
On Fri, May 04, 2018 at 05:10:47AM +0200, Robert S. Irrgang via samba wrote:
I've put it in debug mode level 10.
The only place where dfree was displayed in the log is this.

[2018/05/04 04:53:53.397520,  3, pid=13784, effective(0, 0), real(0, 0)]
../source3/param/loadparm.c:2668(lp_do_section)
   Processing section "[global]"
...
   doing parameter read raw = no
   doing parameter write raw = no
   doing parameter write cache size = 262144
   doing parameter dfree command = /opt/bin/dfree
   doing parameter dfree cache time = 30

But the script is never called!
So the "dfree command" directive clearly does not work.

I doubt that - we have:

source3/script/tests/test_dfree_command.sh

in the tree, so it's tested on every commit.

You may need to dig into the source code to
figure out what is wrong on your system.


--
To unsubscribe from this list go to the following URL and read the
instructions:  https://lists.samba.org/mailman/options/samba