Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Feb 2024 02:12:17 +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-IHhxZtd168@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

Jamie Gritton <jamie@FreeBSD.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |jamie@FreeBSD.org
             Status|New                         |Open

--- Comment #5 from Jamie Gritton <jamie@FreeBSD.org> ---
While it does make sense to root from the jail's root under exec.clean, it
unfortunately clashes with a decade of current practice.

I'll consider a change, and see what people think, but I can't guarantee it=
'll
happen given the long history.  It seems reasonable that if a user is speci=
fied
(even directly like -U root), then it would still chdir to its home, but in=
 the
absence of a user, starting in "/" would in fact be the most expected outco=
me.

--=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-IHhxZtd168>