Bug 16672 - [src.rpm] Incomplete package if built as non-root
[src.rpm] Incomplete package if built as non-root
Product: Red Hat Linux
Classification: Retired
Component: krb5 (Show other bugs)
i386 Linux
medium Severity low
: ---
: ---
Assigned To: Nalin Dahyabhai
Depends On:
  Show dependency treegraph
Reported: 2000-08-21 08:25 EDT by Enrico Scholz
Modified: 2008-05-01 11:37 EDT (History)
0 users

See Also:
Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of:
Last Closed: 2000-08-21 09:49:10 EDT
Type: ---
Regression: ---
Mount Type: ---
Documentation: ---
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---

Attachments (Terms of Use)

  None (edit)
Description Enrico Scholz 2000-08-21 08:25:19 EDT
When building the package as non-root something goes wrong with the `ksu'
program (see 4th and last line):

making install in clients/ksu...
make[2]: Entering directory
for f in ksu; do \
  /usr/bin/install -c -s -m 4755 -o root $f \
        /var/tmp/krb5-root/usr/kerberos/bin/`echo $f|sed 's,x,x,'`; \
  /usr/bin/install -c -m 644 ./$f.M \
        /var/tmp/krb5-root/usr/kerberos/man/man1/`echo $f|sed 's,x,x,'`.1;
/usr/bin/install: /var/tmp/krb5-root/usr/kerberos/bin/ksu: Operation not
Comment 1 Nalin Dahyabhai 2000-08-21 09:48:36 EDT
Our build system defaults to building packages as a non-root user specifically
to catch these cases.  Does the ksu binary still end up in the right place?
Comment 2 Nalin Dahyabhai 2000-08-21 10:10:23 EDT
I've just rebuilt the package as myself, and the files get included.  The error
message is harmless.
Comment 3 Enrico Scholz 2000-08-21 10:18:56 EDT

# ll /usr/kerberos/bin/ksu 
-rwxr-xr-x    1 root     root        50364 Aug 21 14:22 /usr/kerberos/bin/ksu

The official install-method tries to install it SUID; but the packaged file
isn't it.
Comment 4 Nalin Dahyabhai 2000-08-21 10:24:01 EDT
The MIT Kerberos team isn't sure that the previously-fixed vulnerabilities in
ksu were all of the potential problems, so we took the setuid-bit off pending a
complete audit of the sources.

Note You need to log in before you can comment on or make changes to this bug.