Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 410668 Details for
Bug 553978
errors on boot -> "/lib64/rc/sh/rc-cgroup.sh: line 89:"
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
a patch that worksforme
printf_write_error_workaround_through_delay.patch (text/plain), 1.06 KB, created by
abandoned account disabled email
on 2015-08-31 06:30:45 UTC
(
hide
)
Description:
a patch that worksforme
Filename:
MIME Type:
Creator:
abandoned account disabled email
Created:
2015-08-31 06:30:45 UTC
Size:
1.06 KB
patch
obsolete
>left as is because it works, for now >that echo & ps delays seems to be preventing the write error from occurring so far > > >--- orig/sh/rc-cgroup.sh.in 2015-08-31 09:09:37.169796236 +0300 >+++ patched/sh/rc-cgroup.sh.in 2015-08-31 09:11:40.473322109 +0300 >@@ -85,8 +85,21 @@ cgroup_add_service() > openrc_cgroup=/sys/fs/cgroup/openrc > if [ -d "$openrc_cgroup" ]; then > cgroup="$openrc_cgroup/$RC_SVCNAME" >+ >+ #the delay these introduce, seems to prevent wtw race is going on that causes this: /lib64/rc/sh/rc-cgroup.sh: line 89: printf: write error: No such device >+ echo "Current: $$ $RC_SVCNAME" 2>/dev/null 1>&2 >+ ps afwj $$ 2>/dev/null 1>&2 > mkdir -p "$cgroup" >- [ -f "$cgroup/tasks" ] && printf "%d" 0 > "$cgroup/tasks" >+ if test -f "$cgroup/tasks"; then >+ printf "%d" 0 > "$cgroup/tasks" >+ else >+ echo "------FAIL----- $cgroup/tasks" 1>&2 >+ echo "Current: $$ $RC_SVCNAME" 1>&2 >+ cat "$cgroup/tasks" >+ fi >+# [ -f "$cgroup/tasks" ] || ls -la "$openrc_cgroup" 1>&2 >+ >+# [ -f "$cgroup/tasks" ] && printf "%d" 0 > "$cgroup/tasks" > fi > } >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 553978
:
406208
|
406966
|
410632
|
410634
|
410668
|
410670
|
410792
|
414754