[Bug 213954] net-mgmt/seafile Initscript only does not work when executed with service

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Oct 31 17:00:22 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=213954

Miroslav Lachman <000.fbsd at quip.cz> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |000.fbsd at quip.cz

--- Comment #1 from Miroslav Lachman <000.fbsd at quip.cz> ---
(In reply to alex.theissen from comment #0)

I think it is related to PATH or other env variables. 
/usr/sbin/service is using clean env:

exec env -i HOME=/ PATH=/sbin:/bin:/usr/sbin:/usr/bin $dir/$script $*


rc.d/seafile have defined function

prepare_env() {
export PATH=${seafile_path}/seafile/bin:$PATH
export
LD_LIBRARY_PATH=${seafile_path}/seafile/lib/:${seafile_path}/seafile/lib64:${LD_LIBRARY_PATH}
}

But this function is never called.

I am not using seafile so I can't test it.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-ports-bugs mailing list