[Bug 277210] jail(8): exec.clean retrieves PWD from user info (can cause services to crash on jail start-up)

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 14 Mar 2024 16:39:49 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=277210

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=`pwd`
..
cd $d

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

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