Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 672622 - sys-apps/openrc-0.40.1: Fails to update /run on install in chroot
Summary: sys-apps/openrc-0.40.1: Fails to update /run on install in chroot
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: OpenRC Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-12-06 14:15 UTC by Patrick Lauer
Modified: 2018-12-21 20:02 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 Patrick Lauer gentoo-dev 2018-12-06 14:15:57 UTC
<<<          dir /usr/share/doc/openrc-0.39.2
>>> Regenerating /etc/ld.so.cache...
>>> Original instance of package unmerged safely.
mkdir `/run/openrc/starting': No such file or directory
mkdir `/run/openrc/started': No such file or directory
mkdir `/run/openrc/stopping': No such file or directory
mkdir `/run/openrc/inactive': No such file or directory
mkdir `/run/openrc/wasinactive': No such file or directory
mkdir `/run/openrc/failed': No such file or directory
mkdir `/run/openrc/hotplugged': No such file or directory
mkdir `/run/openrc/daemons': No such file or directory
mkdir `/run/openrc/options': No such file or directory
mkdir `/run/openrc/exclusive': No such file or directory
mkdir `/run/openrc/scheduled': No such file or directory
mkdir `/run/openrc/tmp': No such file or directory
Service `netmount' needs non existent service `net'
fopen `/run/openrc/deptree': No such file or directory
fopen `/run/openrc/depconfig': No such file or directory

 * Failed to update the dependency tree
                                                                                                                                                                                                                                 [ !! ]
 * failed to load deptree
 * Caching service dependencies ...>>> sys-apps/openrc-0.40.1 merged.
>>> Regenerating /etc/ld.so.cache...
Comment 1 Mike Gilbert gentoo-dev 2018-12-07 15:07:49 UTC
pkg_postinst calls rc-depend -u, which tries to write a bunch of stuff to /run/openrc. This directory is unlikely to exist in a chroot, or when the system has been booted using a different service manager.
Comment 2 Larry the Git Cow gentoo-dev 2018-12-21 19:09:05 UTC
The bug has been closed via the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=714aa534dcee9f02a519dbda8ba156be0075e9bc

commit 714aa534dcee9f02a519dbda8ba156be0075e9bc
Author:     William Hubbs <william.hubbs@sony.com>
AuthorDate: 2018-12-21 19:05:39 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2018-12-21 19:08:30 +0000

    sys-apps/openrc: 0.40.3 bump
    
    Closes: https://bugs.gentoo.org/672622
    Copyright: Sony Interactive Entertainment Inc.
    Package-Manager: Portage-2.3.51, Repoman-2.3.12
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-apps/openrc/Manifest             |   1 +
 sys-apps/openrc/openrc-0.40.3.ebuild | 327 +++++++++++++++++++++++++++++++++++
 2 files changed, 328 insertions(+)
Comment 3 Larry the Git Cow gentoo-dev 2018-12-21 20:02:48 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c83b5fa9ababf095c3ef60746fdddeda338fc3f0

commit c83b5fa9ababf095c3ef60746fdddeda338fc3f0
Author:     William Hubbs <williamh@gentoo.org>
AuthorDate: 2018-12-21 20:01:56 +0000
Commit:     William Hubbs <williamh@gentoo.org>
CommitDate: 2018-12-21 20:02:14 +0000

    sys-apps/openrc: sync live ebuild
    
    Bug: https://bugs.gentoo.org/672622
    Package-Manager: Portage-2.3.51, Repoman-2.3.11
    Signed-off-by: William Hubbs <williamh@gentoo.org>

 sys-apps/openrc/openrc-9999.ebuild | 3 ---
 1 file changed, 3 deletions(-)