Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #230371 > unrolled thread
| Started by | Michael Grant <mgrant@grant.org> |
|---|---|
| First post | 2021-01-06 11:30 +0100 |
| Last post | 2021-01-06 22:50 +0100 |
| Articles | 6 — 3 participants |
Back to article view | Back to linux.debian.user
Failed to migrate controller cgroups Michael Grant <mgrant@grant.org> - 2021-01-06 11:30 +0100
Re: Failed to migrate controller cgroups Thomas Pircher <thp.debian@p5r.uk> - 2021-01-06 11:50 +0100
Re: Failed to migrate controller cgroups Michael Grant <mgrant@grant.org> - 2021-01-06 12:30 +0100
Re: Failed to migrate controller cgroups Thomas Pircher <thp.debian@p5r.uk> - 2021-01-06 13:20 +0100
Re: Failed to migrate controller cgroups Andrei POPESCU <andreimpopescu@gmail.com> - 2021-01-06 15:50 +0100
Re: Failed to migrate controller cgroups Thomas Pircher <thp.debian@p5r.uk> - 2021-01-06 22:50 +0100
| From | Michael Grant <mgrant@grant.org> |
|---|---|
| Date | 2021-01-06 11:30 +0100 |
| Subject | Failed to migrate controller cgroups |
| Message-ID | <BueeJ-8eT-1@gated-at.bofh.it> |
[Multipart message — attachments visible in raw view] — view raw
I sent this a few days ago but nobody responded. Does anyone have any ideas how to fix this permission problem? I'm seeing warnings like this in my logs: Jan 3 04:48:49 bottom systemd[3436917]: -.slice: Failed to migrate controller cgroups from +/user.slice/user-108.slice/user@108.service, ignoring: Permission denied Jan 3 08:20:25 bottom systemd[1410]: -.slice: Failed to migrate controller cgroups from +/user.slice/user-108.slice/user@108.service, ignoring: Permission denied Jan 3 08:20:25 bottom systemd[1411]: -.slice: Failed to migrate controller cgroups from +/user.slice/user-115.slice/user@115.service, ignoring: Permission denied Jan 3 08:41:04 bottom systemd[6153]: -.slice: Failed to migrate controller cgroups from +/user.slice/user-1001.slice/user@1001.service, ignoring: Permission denied I did some googling around and someone recommended looking at the output of journalctl: # journalctl -b --no-hostname -u user@1001.service -- Journal begins at Sat 2020-10-17 13:43:00 EDT, ends at Sun 2021-01-03 08:41:16 EST. -- Jan 03 08:41:04 systemd[1]: Starting User Manager for UID 1001... Jan 03 08:41:04 systemd[6153]: pam_unix(systemd-user:session): session opened for user strange by (uid=0) Jan 03 08:41:04 systemd[6153]: Queued start job for default target Main User Target. Jan 03 08:41:04 systemd[6153]: -.slice: Failed to migrate controller cgroups from +/user.slice/user-1001.slice/user@1001.service, ignoring: Permission denied Jan 03 08:41:04 systemd[6153]: Created slice User Application Slice. Jan 03 08:41:04 systemd[6153]: Reached target Paths. Jan 03 08:41:04 systemd[6153]: Reached target Timers. Jan 03 08:41:04 systemd[6153]: Starting D-Bus User Message Bus Socket. Jan 03 08:41:04 systemd[6153]: Listening on GnuPG network certificate management daemon. Jan 03 08:41:04 systemd[6153]: Listening on GnuPG cryptographic agent and passphrase cache (access for web browsers). Jan 03 08:41:04 systemd[6153]: Listening on GnuPG cryptographic agent and passphrase cache (restricted). Jan 03 08:41:04 systemd[6153]: Listening on GnuPG cryptographic agent (ssh-agent emulation). Jan 03 08:41:04 systemd[6153]: Listening on GnuPG cryptographic agent and passphrase cache. Jan 03 08:41:04 systemd[6153]: Listening on D-Bus User Message Bus Socket. Jan 03 08:41:04 systemd[6153]: Reached target Sockets. Jan 03 08:41:04 systemd[6153]: Reached target Basic System. Jan 03 08:41:04 systemd[6153]: Reached target Main User Target. Jan 03 08:41:04 systemd[6153]: Startup finished in 119ms. Jan 03 08:41:04 systemd[1]: Started User Manager for UID 1001. But this isn't helpful in finding the problem. Where else might I look to find out what is causing this permission error so that I can fix it?
[toc] | [next] | [standalone]
| From | Thomas Pircher <thp.debian@p5r.uk> |
|---|---|
| Date | 2021-01-06 11:50 +0100 |
| Message-ID | <Buey6-8mj-17@gated-at.bofh.it> |
| In reply to | #230371 |
Michael Grant wrote: >I'm seeing warnings like this in my logs: > >Jan 3 04:48:49 bottom systemd[3436917]: -.slice: Failed to migrate controller cgroups from >+/user.slice/user-108.slice/user@108.service, ignoring: Permission denied I take it you are using Debian testing and systemd 247.1? Try setting systemd.unified_cgroup_hierarchy=true in your kernel boot arguments, as suggested here[1]. Thomas [1] https://bbs.archlinux.org/viewtopic.php?id=261330
[toc] | [prev] | [next] | [standalone]
| From | Michael Grant <mgrant@grant.org> |
|---|---|
| Date | 2021-01-06 12:30 +0100 |
| Message-ID | <BufaN-p6-3@gated-at.bofh.it> |
| In reply to | #230372 |
[Multipart message — attachments visible in raw view] — view raw
On Wed, Jan 06, 2021 at 10:35:00AM +0000, Thomas Pircher wrote: > Michael Grant wrote: > > I'm seeing warnings like this in my logs: > > > > Jan 3 04:48:49 bottom systemd[3436917]: -.slice: Failed to migrate controller cgroups from > > +/user.slice/user-108.slice/user@108.service, ignoring: Permission denied > > I take it you are using Debian testing and systemd 247.1? > Try setting systemd.unified_cgroup_hierarchy=true in your kernel boot > arguments, as suggested here[1]. > > Thomas > > [1] https://bbs.archlinux.org/viewtopic.php?id=261330 Yes, it's true, I'm using 'testing' and yes, "apt-policy systemd" reports I a have systemd 247.1-3+deb11u1. I'm using Linode. I never saw a place to set these params in Linode and sure enough there doesn't appear to be. Is there some way to set this without it needing to pass to the kernel as command line args at boot time? Perhaps it's ok to just ignore this for now and it will get resolved eventually. Any idea what problems this might be causing? I haven't noticed anything. Thanks for pointing me to that, I had not found that despite searching multiple times over the last couple weeks! Michael Grant
[toc] | [prev] | [next] | [standalone]
| From | Thomas Pircher <thp.debian@p5r.uk> |
|---|---|
| Date | 2021-01-06 13:20 +0100 |
| Message-ID | <BufXc-Uv-17@gated-at.bofh.it> |
| In reply to | #230373 |
Michael Grant wrote: > I never saw a place to set these params in Linode and sure enough there doesn't appear to be. There is none, if you are using a Linode kernel. You can, however, configure your Linode to use a custom kernel[1] if you wish so. > Is there some way to set this without it needing to pass to the kernel > as command line args at boot time? Not that I am aware of, I'm afraid. > Perhaps it's ok to just ignore this for now and it will get resolved > eventually. Any idea what problems this might be causing? I haven't > noticed anything. I had this message too for some time, and I also haven't noticed any problem with it; it was just annoying so I added the option. Thomas [1] https://www.linode.com/docs/tools-reference/custom-kernels-distros/run-a-distribution-supplied-kernel-with-kvm
[toc] | [prev] | [next] | [standalone]
| From | Andrei POPESCU <andreimpopescu@gmail.com> |
|---|---|
| Date | 2021-01-06 15:50 +0100 |
| Message-ID | <Buiil-2aI-3@gated-at.bofh.it> |
| In reply to | #230373 |
[Multipart message — attachments visible in raw view] — view raw
On Mi, 06 ian 21, 06:20:00, Michael Grant wrote: > On Wed, Jan 06, 2021 at 10:35:00AM +0000, Thomas Pircher wrote: > > Michael Grant wrote: > > > I'm seeing warnings like this in my logs: > > > > > > Jan 3 04:48:49 bottom systemd[3436917]: -.slice: Failed to migrate controller cgroups from > > > +/user.slice/user-108.slice/user@108.service, ignoring: Permission denied > > > > I take it you are using Debian testing and systemd 247.1? > > Try setting systemd.unified_cgroup_hierarchy=true in your kernel boot > > arguments, as suggested here[1]. > > > > Thomas > > > > [1] https://bbs.archlinux.org/viewtopic.php?id=261330 > > Yes, it's true, I'm using 'testing' and yes, "apt-policy systemd" > reports I a have systemd 247.1-3+deb11u1. That would have been important to mention on your first post. > I'm using Linode. I never saw a place to set these params in Linode > and sure enough there doesn't appear to be. Is there some way to set > this without it needing to pass to the kernel as command line args at > boot time? > > Perhaps it's ok to just ignore this for now and it will get resolved > eventually. Any idea what problems this might be causing? I haven't > noticed anything. > > Thanks for pointing me to that, I had not found that despite searching > multiple times over the last couple weeks! You should probably install apt-listchanges, *especially* if you are running testing. See /usr/share/doc/systemd/NEWS.Debian.gz Kind regards, Andrei -- http://wiki.debian.org/FAQsFromDebianUser
[toc] | [prev] | [next] | [standalone]
| From | Thomas Pircher <thp.debian@p5r.uk> |
|---|---|
| Date | 2021-01-06 22:50 +0100 |
| Message-ID | <BuoQN-66U-3@gated-at.bofh.it> |
| In reply to | #230372 |
Thomas Pircher wrote: >Try setting systemd.unified_cgroup_hierarchy=true in your kernel boot >arguments, as suggested here[1]. This is no longer necessary with systemd 247.2-2, which now defaults to the "unified" cgroup hierarchy. Thomas
[toc] | [prev] | [standalone]
Back to top | Article view | linux.debian.user
csiph-web