Bug 24683 - start-stop-daemon incompatibility
Summary: start-stop-daemon incompatibility
Status: CLOSED FIXED
Alias: None
Product: Sisyphus
Classification: Development
Component: service (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-12-03 17:43 MSK by Vitaly Kuznetsov
Modified: 2010-12-04 03:25 MSK (History)
4 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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).