[Bug 225974] Merge Review: krb5

bugzilla at redhat.com bugzilla at redhat.com
Fri Apr 1 06:01:44 UTC 2011


Please do not reply directly to this email. All additional
comments should be made in the comments box of this bug.


https://bugzilla.redhat.com/show_bug.cgi?id=225974

--- Comment #16 from Panu Matilainen <pmatilai at redhat.com> 2011-04-01 02:01:42 EDT ---
Oh, sorry. This has just gotten buried in bugzilla mail and long forgotten...

It's not that SUID binaries are skipped when stripping, the problem is that ksu
gets installed without any executable permissions at all (apparently because
the krb5 Makefiles try to do something "clever" about installing suid parts):

[pmatilai at localhost krb5]$ ls -l
/home/pmatilai/rpmbuild/BUILDROOT/krb5-1.9-6.fc16.x86_64/usr/bin/
total 532
-rwxr-xr-x. 1 pmatilai pmatilai  22616 Apr  1 08:58 gss-client
-rwxr-xr-x. 1 pmatilai pmatilai   1914 Apr  1 08:58 k5srvutil
-rwxr-xr-x. 1 pmatilai pmatilai  67680 Apr  1 08:58 kadmin
-rwxr-xr-x. 1 pmatilai pmatilai  10256 Apr  1 08:58 kdestroy
-rwxr-xr-x. 1 pmatilai pmatilai  22544 Apr  1 08:58 kinit
-rwxr-xr-x. 1 pmatilai pmatilai  22544 Apr  1 08:58 klist
-rwxr-xr-x. 1 pmatilai pmatilai  10256 Apr  1 08:58 kpasswd
-rwxr-xr-x. 1 pmatilai pmatilai   6161 Apr  1 08:58 krb5-config
-rw-------. 1 pmatilai pmatilai 214741 Apr  1 08:58 ksu
-rwxr-xr-x. 1 pmatilai pmatilai  22544 Apr  1 08:58 ktutil
-rwxr-xr-x. 1 pmatilai pmatilai  14352 Apr  1 08:58 kvno
-rwxr-xr-x. 1 pmatilai pmatilai  14352 Apr  1 08:58 sclient
-rwxr-xr-x. 1 pmatilai pmatilai  14360 Apr  1 08:58 sim_client
-rwxr-xr-x. 1 pmatilai pmatilai  14352 Apr  1 08:58 uuclient

A simple 'chmod u+x $RPM_BUILD_ROOT/%{_bindir}/ksu' at the end of %install will
fix that. Or a tweak to Makefile(s).

-- 
Configure bugmail: https://bugzilla.redhat.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.



More information about the package-review mailing list