Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 172822 - net-misc/scponly-4.6-r1: chroot setup failed
Summary: net-misc/scponly-4.6-r1: chroot setup failed
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal
Assignee: MATSUU Takuto (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-03-30 18:46 UTC by Olivier Rolland
Modified: 2007-04-23 13:21 UTC (History)
1 user (show)

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


Attachments
Patch against scponly-4.6-r1.ebuild (scponly-4.6-r1.patch,2.29 KB, text/plain)
2007-03-30 18:46 UTC, Olivier Rolland
Details
paths are not hardcoded anymore (scponly-4.6-r1.patch,2.98 KB, patch)
2007-03-30 18:58 UTC, Olivier Rolland
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Olivier Rolland 2007-03-30 18:46:18 UTC
A patch follows which fixes those issues:
- install is not in /bin but in /usr/bin
- ${myhome}/etc is never created because it should be created only if ${myhome} does not exist which is always false.

Reproducible: Always

Steps to Reproduce:
1. emerge --config=scponly/scponly-4.6-r1
Comment 1 Olivier Rolland 2007-03-30 18:46:58 UTC
Created attachment 114975 [details]
Patch against scponly-4.6-r1.ebuild
Comment 2 Jakub Moc (RETIRED) gentoo-dev 2007-03-30 18:49:39 UTC
Comment on attachment 114975 [details]
Patch against scponly-4.6-r1.ebuild

This just shouldn't hardcode any paths at all. The above patch will be equally broken w/ <coreutils-6.7
Comment 3 Olivier Rolland 2007-03-30 18:58:53 UTC
Created attachment 114976 [details, diff]
paths are not hardcoded anymore
Comment 4 Olivier Rolland 2007-03-30 18:59:33 UTC
I don't know if I should open another bug, but as is, I wasn't able to log in the chroot. I had to add libnss_files.so.2 in ${myhome}/lib. Should this be added in the ebuild ? What about all other nss libraries ? I really don't know.
Comment 5 Timo Gurr (RETIRED) gentoo-dev 2007-04-23 12:14:23 UTC
Please add the updated ebuild contributed by #3, works perfectly here.
Comment 6 MATSUU Takuto (RETIRED) gentoo-dev 2007-04-23 13:21:17 UTC
sorry for delay.
fixed in cvs now.