Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Mar 2024 16:39:49 +0000
From:      bugzilla-noreply@freebsd.org
To:        jail@FreeBSD.org
Subject:   [Bug 277210] jail(8): exec.clean retrieves PWD from user info (can cause services to crash on jail start-up)
Message-ID:  <bug-277210-29815-KO1eo5ixlA@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-277210-29815@https.bugs.freebsd.org/bugzilla/>
References:  <bug-277210-29815@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=3D277210

Frank Behrens <frank@harz.behrens.de> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |frank@harz.behrens.de

--- Comment #8 from Frank Behrens <frank@harz.behrens.de> ---
I discovered the same problem, even without an exec.clean.

In  the script, called from the service start script is a
d=3D`pwd`
..
cd $d

which fails, after the effective user for the service has been changed.

--=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-277210-29815-KO1eo5ixlA>