Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 855485 - No dependency on shell if it's specified
Summary: No dependency on shell if it's specified
Status: RESOLVED DUPLICATE of bug 850634
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2022-07-01 07:33 UTC by Hasso Tepper
Modified: 2022-07-01 07:37 UTC (History)
0 users

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 Hasso Tepper 2022-07-01 07:33:34 UTC
As far as I can see nothing adds dependency on shell if acct-user/* ebuild specifies one and installing these might just fail. It happens almost 100% if installing a new tree into empty ROOT for example.

 * Adding user 'root' to your system ...
 *  - Userid: 0
 * A shell was specified but it does not exist!
 * ERROR: acct-user/root-0-r1::gentoo failed (preinst phase):
 *   /bin/bash does not exist in /tmp/root
 *
 * Call stack:
 *     ebuild.sh, line  127:  Called pkg_preinst
 *   environment, line 1494:  Called acct-user_pkg_preinst
 *   environment, line  457:  Called enewuser '-F' '-M' 'root' '0' '/bin/bash' '/root' 'root'
 *   environment, line 1109:  Called die
 * The specific snippet of code:
 *               die "${eshell} does not exist in ${ROOT}";

Reproducible: Sometimes
Comment 1 Sam James archtester Gentoo Infrastructure gentoo-dev Security 2022-07-01 07:37:24 UTC
Let's discuss in the original bug 850634.

*** This bug has been marked as a duplicate of bug 850634 ***