[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: 2.1 kernels and dpkg.



Shaya Potter <spotter@itd.nrl.navy.mil> writes:
> I was perusing the unofficial kernel patches at linuxhq.com, and I saw
> that their was a patch to make the latest kernels work with dpkg.  This
> should be a big concern if dpkg is not compatable with the new kernels
> especially if the kernels keep that behavior when they turn stable.

Here's the original message posted to linux-kernel:

   From: buhr@stat.wisc.edu (Kevin Buhr)
   Date: 	20 Jul 1997 14:25:14 -0500

   Don't run "dpkg" or "dselect" under 2.1.44 or 2.1.45.  Both these
   kernels follow symlinks on "sys_rmdir", "sys_rename", and "sys_chown".
   The first breaks "dpkg" most severely, since "dpkg" absolutely relies
   on a "rmdir" of a symlink returning ENOTDIR.  The second is nasty too,
   since "dpkg", when installing a symlink "blahblah", creates the
   symlink "blahblah.dpkg-new" and then renames it to "blahblah".  The
   "sys_chown" problem is mostly minor, but if "dpkg" installs a dangling
   symlink, it'll die when the chown of the symlink unexpectedly fails.

I'm looking into fixing the problem now, though it may be until the
weekend before I really have time to fix it properly.


--
TO UNSUBSCRIBE FROM THIS MAILING LIST: e-mail the word "unsubscribe" to
debian-devel-request@lists.debian.org . 
Trouble?  e-mail to templin@bucknell.edu .


Reply to: