Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 110077 - update openssh selinux patch
Summary: update openssh selinux patch
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: SE Linux Bugs
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-10-21 17:03 UTC by SpanKY
Modified: 2006-03-04 16:21 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 SpanKY gentoo-dev 2005-10-21 17:03:26 UTC
Fedora is using a much newer selinux patch which is easier to control (configure
option) so you guys should look into updating it for openssh-4.2_p1
Comment 1 petre rodan (RETIRED) gentoo-dev 2005-11-29 03:04:45 UTC
I've just tried the patch from
http://cvs.fedora.redhat.com/viewcvs/devel/openssh/openssh-selinux.patch?view=log

and it looks like our libselinux cannot handle this patch (just yet)

i686-pc-linux-gnu-gcc -o sshd sshd.o auth-rhosts.o auth-passwd.o auth-rsa.o
auth-rh-rsa.o sshpty.o sshlogin.o servconf.o serverloop.o selinux.o auth.o
auth1.o auth2.o auth-options.o session.o auth-chall.o auth2-chall.o
groupaccess.o auth-skey.o auth-bsdauth.o auth2-hostbased.o auth2-kbdint.o
auth2-none.o auth2-passwd.o auth2-pubkey.o monitor_mm.o monitor.o monitor_wrap.o
kexdhs.o kexgexs.o auth-krb5.o auth2-gss.o gss-serv.o gss-serv-krb5.o loginrec.o
auth-pam.o auth-shadow.o auth-sia.o md5crypt.o audit.o audit-bsm.o -L.
-Lopenbsd-compat/  -lssh -lopenbsd-compat  -lpam -ldl -lselinux -lresolv
-lcrypto -lutil -lz -lnsl -lcrypt
selinux.o: In function `selinux_get_user_context':
/var/tmp/portage/openssh-4.2_p1-r1/work/openssh-4.2p1/selinux.c:23: undefined
reference to `getseuserbyname'
/var/tmp/portage/openssh-4.2_p1-r1/work/openssh-4.2p1/selinux.c:27: undefined
reference to `get_default_context_with_level'
/var/tmp/portage/openssh-4.2_p1-r1/work/openssh-4.2p1/selinux.c:25: undefined
reference to `get_default_context_with_rolelevel'
collect2: ld returned 1 exit status
make: *** [sshd] Error 1
Comment 2 Chris PeBenito (RETIRED) gentoo-dev 2006-03-04 16:21:38 UTC
updated in openssh-4.3_p2-r1