Public bug reported:

Every so often -- in fact whenever a new debian-installer is released
for Precise -- we re-import the distro. In the process, the TFTP boot
files are regenerated.

Somehow this changes /var/lib/tftpboot permissions on subdirectories and
files. The result is NOT guaranteed to be bad, and it is NOT guaranteed
to affect the same directories and files in the same way.

For example, the last occurence (today) shows only this change:

55,56c55,56
< drwxr-xr-x 2 root root   4096 2012-03-22 23:13 precise-i386
< drwxr-xr-x 2 root root   4096 2012-03-22 23:13 precise-x86_64
---
> d-w---x--- 2 root root   4096 2012-03-28 04:31 precise-i386
> d-w---x--- 2 root root   4096 2012-03-28 04:31 precise-x86_64

Notice the completely hosed permissions on the new directories.

As a result PXE booting may fail (in this case DID fail).

This is a serious issue, impacting automated testing.

WORKAROUND:

find /var/lib/tftpboot -type d -exec sudo chmod 755 {} \;
find /var/lib/tftpboot -type f -exec sudo chmod 644 {} \;

but this is rather ridiculous ;-)

ProblemType: BugDistroRelease: Ubuntu 11.10
Package: cobbler 2.1.0+git20110602-0ubuntu26.2
ProcVersionSignature: Ubuntu 3.0.0-12.20-server 3.0.4
Uname: Linux 3.0.0-12-server x86_64
ApportVersion: 1.23-0ubuntu4
Architecture: amd64
Date: Wed Mar 28 21:52:56 2012InstallationMedia: Ubuntu-Server 11.04 "Natty 
Narwhal" - Release amd64 (20110426)
PackageArchitecture: allSourcePackage: cobblerUpgradeStatus: Upgraded to 
oneiric on 2011-11-16 (133 days ago)

** Affects: cobbler (Ubuntu)
     Importance: Undecided
         Status: New


** Tags: amd64 apport-bug oneiric qa-manual-testing

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to cobbler in Ubuntu.
https://bugs.launchpad.net/bugs/967815

Title:
  /var/lib/tftpboot directory permissions destroyed

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/cobbler/+bug/967815/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs

Reply via email to