-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pkg/cgroups: use DBUS session when rootless #3810
Conversation
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: giuseppe The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/cc @vrothberg |
2e611ba
to
ac3016f
Compare
LGTM assuming happy tests |
pkg/cgroups/systemd.go
Outdated
@@ -72,18 +66,30 @@ func systemdCreate(path string) error { | |||
See the License for the specific language governing permissions and | |||
limitations under the License. | |||
*/ | |||
/* | |||
systemdDestroyConn is copied from containerd/cgroups/systemd.go file, that |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Did we dupe the license comment here?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ouch. Fixed now.
use the DBUS user session when running in rootless mode. Closes: containers#3801 Signed-off-by: Giuseppe Scrivano <[email protected]>
Code LGTM |
/lgtm |
use the DBUS user session when running in rootless mode.
Closes: #3801
Signed-off-by: Giuseppe Scrivano [email protected]