Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 481096 - =sys-apps/openrc-0.12: /lib/rc/sh/rc-cgroup.sh: line 87: /sys/fs/cgroup/openrc/fsck/tasks: No such file or directory
Summary: =sys-apps/openrc-0.12: /lib/rc/sh/rc-cgroup.sh: line 87: /sys/fs/cgroup/openr...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal minor (vote)
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: 481182 487332
  Show dependency tree
 
Reported: 2013-08-14 20:58 UTC by Toralf Förster
Modified: 2013-10-18 20:50 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Toralf Förster gentoo-dev 2013-08-14 20:58:02 UTC
At a ~x86 user mode linux I saw today :

 * Unmounting filesystems
 *   Unmounting /usr/local/portage ...                                                        [ ok ]
 *   Unmounting /usr/portage ...                                                              [ ok ]
 * Deactivating swap devices ...                                                              [ ok ]
/lib/rc/sh/rc-cgroup.sh: line 87: /sys/fs/cgroup/openrc/fsck/tasks: No such file or directory
 * Removing dm-crypt mappings
 *   crypt-swap ...                                                                           [ ok ]
 * Stopping udev ...                                                                          [ ok ]
Comment 1 Alexander Vershilov (RETIRED) gentoo-dev 2013-08-15 12:53:00 UTC
This can be easily fixed by workaround that will be applied soon.
But lets try to investigate further before:

1). can you describe in you got some special options for mounting /sys?
2). was it your first reboot/shutdown with openrc-0.12, if yes that do you have such error on the next one?
Comment 2 Toralf Förster gentoo-dev 2013-08-15 16:45:49 UTC
(In reply to Alexander Vershilov from comment #1)
> This can be easily fixed by workaround that will be applied soon.
> But lets try to investigate further before:
> 
> 1). can you describe in you got some special options for mounting /sys?

no - nothing special -it is just an UML 

> 2). was it your first reboot/shutdown with openrc-0.12, if yes that do you
> have such error on the next one?
yes - no - vanished now at the 2nd shutdown
Comment 3 Alexander Vershilov (RETIRED) gentoo-dev 2013-08-15 16:57:06 UTC
(In reply to Toralf Förster from comment #2)
> (In reply to Alexander Vershilov from comment #1)
> > This can be easily fixed by workaround that will be applied soon.
> > But lets try to investigate further before:
> > 
> > 1). can you describe in you got some special options for mounting /sys?
> 
> no - nothing special -it is just an UML 
> 
> > 2). was it your first reboot/shutdown with openrc-0.12, if yes that do you
> > have such error on the next one?
> yes - no - vanished now at the 2nd shutdown

ok, thanks so it's a migration problem. I'll look at it more close. Thanks for report. Feel free to report if you'll see that problem once again, if no I'll plan to prepare migration fixes in the next few days.
Comment 4 William Hubbs gentoo-dev 2013-08-15 17:40:43 UTC
Does it even make sense for fsck to run inside uml? If not, we can probably add the -uml keyword to it.

It sounds like we tried to access a cgroup/tasks file that did not exist when we tried to access it. I believe we check for existence everywhere, but that might be something we should look at.
Comment 5 Toralf Förster gentoo-dev 2013-08-15 21:03:05 UTC
(In reply to William Hubbs from comment #4)
> Does it even make sense for fsck to run inside uml?
At least I never did it.
Comment 6 Alexander Vershilov (RETIRED) gentoo-dev 2013-08-16 05:58:27 UTC
Opened a pull requiest.

https://github.com/OpenRC/openrc/pull/8
Comment 7 Toralf Förster gentoo-dev 2013-10-18 19:19:16 UTC
Hhm, it is still in 0.12.2 - I just upgraded openrc at a stable x86 user mode linux image from 0.11.8 to .12.2 and get now during boot :

 * Starting rngd ...                                                                                                  [ ok ]
 * Starting sshd ...                                                                                                  [ ok ]
 * Writing a dummy startup record using sadc (see sadc(8))... ...                                                     [ ok ]
/lib/rc/sh/rc-cgroup.sh: line 87: /sys/fs/cgroup/openrc/vixie-cron/tasks: No such file or directory
 * Starting vixie-cron ...                                                                                            [ ok ]
 * Starting local
net.core.warnings = 0                                                                                                 [ ok ]
Comment 8 William Hubbs gentoo-dev 2013-10-18 20:50:53 UTC
This is added in commit 6697039 and will be part of OpenRC-0.13 and
back ported to 0.12.3.