Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 31 Oct 2016 17:00:18 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 213954] net-mgmt/seafile Initscript only does not work when executed with service
Message-ID:  <bug-213954-13-tN4F9PPaQ0@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-213954-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-213954-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D213954

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

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

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

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

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


rc.d/seafile have defined function

prepare_env() {
export PATH=3D${seafile_path}/seafile/bin:$PATH
export
LD_LIBRARY_PATH=3D${seafile_path}/seafile/lib/:${seafile_path}/seafile/lib6=
4:${LD_LIBRARY_PATH}
}

But this function is never called.

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

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-213954-13-tN4F9PPaQ0>