[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Bug#295169: dpkg: [S-S-D] start-stop-daemon doesn't set HOME enviroment variable when switching users via --chuid



On Mon, 2005-02-14 at 12:34 -0500, Adam Skutt wrote:

>Scott James Remnant wrote:
>
>> In particular, start-stop-daemon documents
>> that --chuid is incomplete and, for example, doesn't even set
>> supplementary groups.
>Actually, no, it doesn't.  The manpage says:
>When  using  this  option  you must realize that the primary and
>supplemental groups are set as well, even if the --group  option
>is  not  specified.
>
Uh, yes; sorry, slight brain-fade there.

>At the very least IMHO, the documentation should be updated for sarge if 
>this patch isn't applied.  Daemons that need proper user-switching 
>behavior can't reliably use start-stop-daemon as-is, and that should be 
>clearly documented.
>
This is not a regression against woody, which didn't set HOME or
document that it wasn't set.  Therefore there is no call to update this
for sarge so deep into freeze.

Scott
-- 
Have you ever, ever felt like this?
Had strange things happen?  Are you going round the twist?

Attachment: signature.asc
Description: This is a digitally signed message part


Reply to: