Summary: | net-misc/openssh-5.5_p1-r2 fails tests on prefix | ||
---|---|---|---|
Product: | Gentoo/Alt | Reporter: | Dan Wallis <dan> |
Component: | Prefix Support | Assignee: | Gentoo Prefix <prefix> |
Status: | RESOLVED FIXED | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- |
Description
Dan Wallis
2010-08-31 00:44:56 UTC
Looks like this message comes from sshd itself. See line 1669 of sshd.c: dan@gordo:~/.gentoo/var/tmp/portage/net-misc/openssh-5.5_p1-r2/work/openssh-5.5p1$ grep -FC7 "must be owned" sshd.c #ifdef HAVE_CYGWIN if (check_ntsec(_PATH_PRIVSEP_CHROOT_DIR) && (st.st_uid != getuid () || (st.st_mode & (S_IWGRP|S_IWOTH)) != 0)) #else if (st.st_uid != 0 || (st.st_mode & (S_IWGRP|S_IWOTH)) != 0) #endif fatal("%s must be owned by root and not group or " "world-writable.", _PATH_PRIVSEP_CHROOT_DIR); } if (test_flag > 1) { if (test_user != NULL && test_addr != NULL && test_host != NULL) parse_server_match_config(&options, test_user, test_host, test_addr); dan@gordo:~/.gentoo/var/tmp/portage/net-misc/openssh-5.5_p1-r2/work/openssh-5.5p1$ hmmm, yeah, but it is questionable if these tests can run when being non-root, isn't it? I thought that (on regular Gentoo at least) with FEATURES=userpriv, configure & compilation & tests are run as portage:portage. But it makes sense that FEATURES=userpriv not be supported in prefix. Unfortunately I don't have a regular Gentoo box at hand just now to check which user runs these tests over there. Perhaps prefix should have RESTRICT=test for this ebuild. I just disabled the tests for prefix, thanks |