This ebuild is broken when the user is doing a fresh install of ssh, if however the user already has a install of ssh and is just doing an upgrade, then there is no problem. It seems the issue is tied to how the apps/ssh/Makefile is trying to do a ssh-keygen, which for some reason or another tries to write to /root/.ssh2 while creating the /etc/ssh2/hostkey This problem does NOT manifest itself IFF the user already has an existing /etc/ssh2/hostkey{,.pub} Possible solution to this would be force a dummy one to be created so the makefile doesn't cause portage to wig out, then in the init.d file, place some logic that checks for the files and copies / creates them if needed. Reproducible: Always Steps to Reproduce: 1. Delete /etc/ssh2 (or simply back it up somewhere else) 2. emerge ssh watch it toss an access violation
Created attachment 35953 [details] ssh-3.2.9.1.ebuild Please try this, i dont like the addwrite but it is a quick fix.
Sorry for the delay. That does appear to fix it on my box, however I do agree with you about the addwrite. Foro now I'd say this is a valid fix, but I'll probably go back and hack up a different solution in the next couple days so we can avoid the addwrite command in there. Regards, Paul
I tried some other hacks and did not like them. This does not seem that "hardcore" to me so will leave it there.