Opened 11 years ago

Closed 10 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:
Has a Patch: no 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 (2)

comment:1 Changed 11 years ago by axeld

Owner: changed from axeld to stippi

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

comment:2 Changed 10 years ago by stippi

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.

Note: See TracTickets for help on using tickets.