Bug 19158 - dbus-specification lacks information about User=<foo> field
Summary: dbus-specification lacks information about User=<foo> field
Status: RESOLVED FIXED
Alias: None
Product: dbus
Classification: Unclassified
Component: core (show other bugs)
Version: unspecified
Hardware: Other All
: medium enhancement
Assignee: Havoc Pennington
QA Contact: John (J5) Palmieri
URL:
Whiteboard: r+
Keywords: patch
Depends on:
Blocks:
 
Reported: 2008-12-18 08:08 UTC by Sven Herzberg
Modified: 2013-10-10 04:43 UTC (History)
1 user (show)

See Also:
i915 platform:
i915 features:


Attachments
[PATCH] Remove unused key-word of DBus .service file (871 bytes, patch)
2013-10-09 02:10 UTC, Chengwei Yang
Details | Splinter Review

Description Sven Herzberg 2008-12-18 08:08:06 UTC
When looking through the system-services folder on my machine, I realized that the services often specify "User=root", this field should be documented in the spec.

Please provide me with the information needed to provide a patch...
Comment 1 Havoc Pennington 2009-01-04 08:48:03 UTC
http://lists.freedesktop.org/archives/dbus/2007-June/007874.html
describes the patch that introduced this.

User= and Group= specify the user and group to execute the Exec= line as.
Comment 2 Simon McVittie 2013-10-08 12:09:45 UTC
User is documented in git master (1.7.6).

This is the first time I'd heard of Group, and I'm a D-Bus maintainer... it exists in bus/desktop-file.h, but isn't actually used for anything (system services get the User's gid and supplementary groups, according to the equivalent of `getent passwd` and `getent group`). I'd accept a patch that deleted the #define for Group, if anyone cares enough.
Comment 3 Chengwei Yang 2013-10-09 02:10:10 UTC
Created attachment 87314 [details] [review]
[PATCH] Remove unused key-word of DBus .service file


Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.