Bug 24683

Summary: start-stop-daemon incompatibility
Product: Sisyphus Reporter: Vitaly Kuznetsov <vitty>
Component: serviceAssignee: placeholder <placeholder>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: normal    
Priority: P3 CC: glebfm, ldv, legion, placeholder
Version: unstable   
Hardware: all   
OS: Linux   

Description Vitaly Kuznetsov 2010-12-03 17:43:09 MSK
In debian --chuid option accepts user:group, and this behavior is documented in man:

-c, --chuid username|uid
Change to this username/uid before starting the process. You can also specify a group by appending a :, then the group or gid in the same way as  you would  for  the `chown' command (user:group). 

In ALTLinux this is unsupported:
"start-stop-daemon: user `root:root' not found"
and, of course, there is a different paragraph in man:

-c|--chuid username|uid
Change to this username/uid before starting the process.  When using this option you must  realize  that  the  primary  and  supplemental groups are set as well.
Comment 1 Repository Robot 2010-12-04 03:25:15 MSK
service-0.5.20-alt1 -> sisyphus:

* Fri Dec 03 2010 Dmitry V. Levin <ldv@altlinux> 0.5.20-alt1
- getkey: Fixed signal handling.
- init.d/{functions,outformat}: Made it usable with sh -eu
  (by Alexey Froloff; closes: #22159).
- start-stop-daemon: Backported some options from Debian
  (by Vitaly Kuznetsov; closes: #24683).