lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date:	Fri, 15 Feb 2008 15:10:29 +0100 (CET)
From:	Jan Engelhardt <jengelh@...putergmbh.de>
To:	Jan Kara <jack@...e.cz>
cc:	Michael Tokarev <mjt@....msk.ru>,
	Andrew Morton <akpm@...ux-foundation.org>,
	linux-kernel@...r.kernel.org, stable@...nel.org
Subject: Re: [PATCH] quota: Turn quotas off when remounting read-only


On Feb 11 2008 13:39, Jan Kara wrote:
>> 
>> But...  I'm thinking about this scenario:
>> 
>>  # mount /data
>>  # quotaon /data
>>  (some maintenance stuff to be planned)
>>  # mount -o remount,ro /data
>>  (do backup etc)
>>  # mount -r remount,rw /data
>> 
>> at this point, it's expected that quota on /data is enabled.
>> After this patch, it's not anymore...
>
>  Yes, it previously accidentally worked this way (for an year or so,
>before that we refused to remount read-only). Hmm, but maybe we could
>somehow tweak quotas to be turned on when remounting read-write again.
>We have all the information we need at the time of remounting read-only
>so we could store it and use it later when remounting read-write. I'll have
>a look into that.

Maybe it is possible to leave quota on all times, so that the
reporting quota ioctls continue to work even in ro mode?

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ