Opened 16 years ago

Closed 2 years ago

#2899 closed bug (fixed)

Automounter fails to read the mountflags and will mount read-write

Reported by: aldeck Owned by: stippi
Priority: high Milestone: R1/alpha1
Component: Applications/Tracker Version: R1/pre-alpha1
Keywords: Cc:
Blocked By: Blocking:
Platform: All

Description

hrev28276

This happens reliably with a fat partition and with the "mount all disks" automount option.

I did some debugging and the flags are properly written, it fails when reading them back though:

in AutoMounter::InitialMountVisitor::Visit():

"BPath path" is not retrieved in some cases wich causes "mountFlagsKey" to be wrong.

I'm working on something else, i leave it to someone more familiar with the mount settings logic :)

Setting milestone R1/alpha1 as this could allow unwanted data corruption.

Change History (4)

comment:1 by axeld, 16 years ago

Owner: changed from axeld to stippi

I guess Stippi will be happy to fix this one ;-)

comment:2 by stippi, 16 years ago

Resolution: fixed
Status: newclosed

Should be fixed in hrev28533, although I have not tested it. The bug could be regarded as "invalid", though, since "Mount all BFS disks" is not actually supposed to remember the previous mount options. That's what "Mount previously mounted disks" is for. I can see how it doesn't hurt to do this anyways, though. But there were other problems with the path not being initialized, the notification should have been broken for example.

comment:3 by thebuck, 2 years ago

Resolution: fixed
Status: closedreopened

R1beta4tc0, "mount previously mounted disks" active, mounts my previously read-only mounted EXT filesystem read-write on next boot (at the same time correctly does not mount another previously not-mounted EXT).

Sorry if this is not related to the cause of this bug as analysed in the description...

comment:4 by waddlesplash, 2 years ago

Resolution: fixed
Status: reopenedclosed

The automounter was rewritten since then I believe, please open a new ticket.

Note: See TracTickets for help on using tickets.