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

Bug#351623: linux-image-2.6.15-1-686: same with i686



On Mon, Feb 13, 2006 at 11:58:00AM -0500, Martin Stolle wrote:
> On Sun, Feb 12, 2006 at 09:43:54PM -0500, Martin Stolle wrote:
> > On Sun, Feb 12, 2006 at 06:08:51PM +0100, Bastian Blank wrote:
> > > On Sun, Feb 12, 2006 at 12:30:58AM -0500, Martin Stolle wrote:
> > > > Get random "permission denied" as root.  It seems like all the extended
> > > > attributes on reiserfs are badly/poorly initialized?  Did they get
> > > > changed?  Or maybe they were ignored before and are suddenly used now?
> > > 
> > > Yes, the one stable reiserfs patch enables usage of attributes if
> > > supported by the filesystem.
> > > 
> > > What happens if you do a "mount -o remount,noattr /"?
> > > 
> > > Anyway, you forgot to show which filesystem version you use.
> > > 
> > 
> > So mount -o remount,noattr /  gives an error:
> > 
> > mstoll@martin1:~$ sudo mount -o remount,noattr /
> > mount: / not mounted already, or bad option
> > 
> > 
> 
> ok, so I did a remount with noattrs instead of noattr (picked that up on
> the kernel mailing list... is there any documentation for this mount
> options?  man mount  definitely doesn't talk about this!)
> 
> all the system partitions are now mounted noattrs:
> 
> mstoll@martin1:/usr$ mount | grep reiserfs
> /dev/hda5 on / type reiserfs (rw,noattrs)
> /dev/hda6 on /tmp type reiserfs (rw,noattrs)
> /dev/hda7 on /var type reiserfs (rw,noattrs)
> /dev/hda8 on /usr type reiserfs (rw,noattrs)
> /dev/hda10 on /home type reiserfs (rw,noattrs)
> /dev/sda1 on /var/external type reiserfs (rw)
> 
> Now things seem to be more or less back to normal.  Still having
> problems with symlinks, though... I can't delete them?
> 
> mstoll@martin1:/usr/share/doc$ ls -ld gfortran-4.0* gcc-4.0-base/
> drwxr-xr-x 5 root root 432 2006-02-13 11:04 gcc-4.0-base/
> lrwxrwxrwx 1 root root  12 2006-02-01 15:21 gfortran-4.0 -> gcc-4.0-base
> lrwxrwxrwx 1 root root  12 2006-02-13 11:15 gfortran-4.0.dpkg-new ->
> gcc-4.0-base
> lrwxrwxrwx 1 root root  12 2006-02-13 11:15 gfortran-4.0.dpkg-tmp ->
> gcc-4.0-base
> 
> mstoll@martin1:/usr/share/doc$ sudo mv gfortran-4.0 /tmp
> mv: cannot remove `gfortran-4.0': Operation not permitted
> mstoll@martin1:/usr/share/doc$ sudo rm gfortran-4.0 
> rm: cannot remove `gfortran-4.0': Operation not permitted
> 
> 
> I guess that remounting the filesystem doesn't clear the special
> treament that symlinks get?  I guess a bug in the kernel/mount ?
> 
> Anyways, I'll try rebooting, having changed the fstab settings to
> noattrs, to see if it works better then.
> 

So I did in fact reboot, but still no improvements: symlinks can still
not be deleted.  Since I don't have console access to the machine right
now, I can't try to run a reiserfsck --clean-attributes  to see if that
resolved anything.

As it stands right now, symlinks cannot be deleted for mysterious
"Operation not permitted", despite mounting the filesystems with
"noattrs".

The system was installed in 2002 with reiserfs 3.6, so no reiserfs 3.5
conversion was ever done, IIRC.

MST




Reply to: