| Summary: | net-misc/openssh-5.8_p1 does not compile with SeLinux activated | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | lkml_ccc |
| Component: | Hardened | Assignee: | Gentoo's Team for Core System packages <base-system> |
| Status: | RESOLVED DUPLICATE | ||
| Severity: | critical | CC: | hardened |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | x86 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: | Bugfix | ||
Created attachment 263067 [details, diff]
Bugfix
This simple change solves the problem.
Yep, just hit this. Tested the fix and it works. @base-system, I unpacked the source tarball before any of our patches were applied and it looks like the syntax error comes from upstream, ie, its in openssh-5.8p1.tar.gz. *** This bug has been marked as a duplicate of bug 354247 *** |
Upgrading openssh on a hardened selinux system fails with the following error: port-linux.c: In function ‘ssh_selinux_setfscreatecon’: port-linux.c:212: warning: unused variable ‘context’ port-linux.c: At top level: port-linux.c:220: error: expected identifier or ‘(’ before ‘if’ port-linux.c:222: error: expected identifier or ‘(’ before ‘}’ token It looks like it has a '{' missing. Reproducible: Always Steps to Reproduce: 1.Use a Gentoo Hardened system with SeLinux 2.Install or upgrade OpenSH 5.8 p1 Actual Results: port-linux.c: In function ‘ssh_selinux_setfscreatecon’: port-linux.c:212: warning: unused variable ‘context’ port-linux.c: At top level: port-linux.c:220: error: expected identifier or ‘(’ before ‘if’ port-linux.c:222: error: expected identifier or ‘(’ before ‘}’ token Expected Results: Installation of OpenSSH 5.8p1