Your message dated Sun, 04 Apr 2010 11:49:52 +0000
with message-id <[email protected]>
and subject line Bug#573701: fixed in base-files 5.2
has caused the Debian Bug report #573701,
regarding base-files: /usr/src permissions causes make-kpkg failure "control 
directory has bad permissions 2755"
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
573701: http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=573701
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: base-files
Version: 5.1
Severity: normal

To help investigate bug 571457, I wanted to compile an openvz upstream
kernel obtained by

    cd /usr/src
    git clone git://git.openvz.org/pub/linux-2.6.26-openvz openvz-git-kernel

For the actual kernel compile, I configured and then tried the Debian way:

    cd /usr/src/openvz-git-kernel
    make-kpkg --initrd kernel_image

Expected result: A linux-image .deb package gets built.

Result seen: The build fails, with an error message

    dpkg-deb: control directory has bad permissions 2755 (must be >=0755
and <=0775)

My analysis: base-files sets up /usr/src with the g+s permission bit,
that bit infects my entire source directory tree, make-kpkg doesn't like
that.

My take on this: Various Debian packages should fit together, but
base-files and make-kpkg don't, in this respect.

My own suggestion towards how to achieve cooperation: Drop the g+s bit
from /usr/src.

My workaround does exactly that:

    chroot -R g-s .

Final "pea-counting" remarks on the precise package version:

The build actually failed on a Lenny system with base-files version 5lenny5.

I verified that it is the base-files package that sets up the g+s
permission, via

   rm -rf /usr/src
   aptitude reinstall base-files
   ls -l /usr

But I did this verification on a different system (in fact, an openvz
guest of the Lenny system host) which has "testing" installed.

I didn't bother to retry the entire kernel compilation on that "testing"
system.  (I would be willing to do that if people think it's worth the
effort.)

Regards, and thank you for providing fine software,

Andreas

-- System Information:
Debian Release: squeeze/sid
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-openvz-686 (SMP w/1 CPU core)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/bash

Versions of packages base-files depends on:
ii  base-passwd                   3.5.22     Debian base system master
password
ii  mawk [awk]                    1.3.3-15   a pattern scanning and text
proces

base-files recommends no packages.

base-files suggests no packages.

-- no debconf information

-- 
[email protected]
PGP-Schlüssel 0xA207E340 (http://blackhole.pca.dfn.de/)
Fingerprint B46B C7BA FFEE AD41 35DD  49C3 9D6A E529 A207 E340


Attachment: signature.asc
Description: OpenPGP digital signature


--- End Message ---
--- Begin Message ---
Source: base-files
Source-Version: 5.2

We believe that the bug you reported is fixed in the latest version of
base-files, which is due to be installed in the Debian FTP archive:

base-files_5.2.dsc
  to main/b/base-files/base-files_5.2.dsc
base-files_5.2.tar.gz
  to main/b/base-files/base-files_5.2.tar.gz
base-files_5.2_powerpc.deb
  to main/b/base-files/base-files_5.2_powerpc.deb



A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Santiago Vila <[email protected]> (supplier of updated base-files package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

Format: 1.8
Date: Sun, 04 Apr 2010 13:22:04 +0200
Source: base-files
Binary: base-files
Architecture: source powerpc
Version: 5.2
Distribution: unstable
Urgency: low
Maintainer: Santiago Vila <[email protected]>
Changed-By: Santiago Vila <[email protected]>
Description: 
 base-files - Debian base system miscellaneous files
Closes: 571083 573701
Changes: 
 base-files (5.2) unstable; urgency=low
 .
   * Added question in FAQ to document the fact that some configuration
     files in /etc are never updated on upgrades. Closes: #571083.
   * Changed default /usr/src to be root:root and 755. Closes: #573701.
     The old permissions were of little benefit, and the user can still
     change this after installing a new system anyway.
   * Renamed FAQ to README and added a compatibility symlink.
   * Removed obsolete Depends on base-passwd, as version 2.0.3.4 is more
     than 10 years old and we don't support upgrades which skip releases.
   * Dropped preinst completely, as it was there just to support upgrades
     from very old releases (that we don't support anymore).
   * Removed postinst code that supports upgrades from very old releases.
Checksums-Sha1: 
 d9caf0dff7f6a186c49e77da337ec344247f4291 962 base-files_5.2.dsc
 7eb99a87a6e86e8ee1fde5d3e741943d89248ee7 69250 base-files_5.2.tar.gz
 b61cd534703a142d65e4080f2325b2cb750e3acf 61716 base-files_5.2_powerpc.deb
Checksums-Sha256: 
 ae945deba9732672621a705761396f9cd6ed238cb7245b24c407be00162c3982 962 
base-files_5.2.dsc
 e8cad0c53bbf1d7ed04a2b18928d9a7354f2c95eefd3a469afcd70097cd5d62d 69250 
base-files_5.2.tar.gz
 7972251861246d55abc31392576e5dd9c0092b1bd4b714ba39a3aedb55b593a8 61716 
base-files_5.2_powerpc.deb
Files: 
 bf5c163f79a6646a32599908a84dbf94 962 admin required base-files_5.2.dsc
 13676fbc5ad4abb676d01d627aa8cccd 69250 admin required base-files_5.2.tar.gz
 edd5b097681f9d70e35ae3da979789aa 61716 admin required 
base-files_5.2_powerpc.deb

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.9 (GNU/Linux)

iQEcBAEBCAAGBQJLuHdvAAoJEEHOfwufG4syViIH/3hSEvDE9v+EIztUyPHXGvId
9By13Ac9XwaKs/s1O5RIY0ut9wmd37ESYcsi9jfVNI6T2IDxSTEnMc+ZGcH7fJnW
2JANQnl5mcxc+Foouc4hltF3/52hGtEIWsCuiTgVMo+U2h5SC8u8dJd5uhjSAd5A
fv4tMSMVZtrEo+7wE8q2phWXlJHjK8OYEQqHpbBFBBErfhOR2WzurB+ug+rrHKbu
MyqgNSaZabibxfruD0hYIpec2nH65UEBiKsfhldrPO268y/42m1Nk0eiee8NPfd1
O388HeBOgBxnBigjfbHhdw5qfpM7WJdXLWqUlZX4BpCNPMFbgYEXDot9pdDdiz8=
=LFX4
-----END PGP SIGNATURE-----



--- End Message ---

Reply via email to