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, 26 Mar 2010 10:26:26 -0400
From:	tytso@....edu
To:	Eric Sandeen <sandeen@...hat.com>
Cc:	ext4 development <linux-ext4@...r.kernel.org>
Subject: Re: Should journaled quota be default for ext4?

On Thu, Mar 25, 2010 at 11:30:24PM -0500, Eric Sandeen wrote:
> Ted's email about quotacheck made me think:
> 
> Is there a reason that journaled quota is not default for ext4?
> (or ext3 for that matter, but we're not messing with that now)
> 
> IOW - if we do mount -o quota, is there any reason that we should
> also need more options to journal that quota?  When would we not
> want journaled quota?
> 
> (Forgive me if it's a dumb question, I'm not as well versed in
> extN quota as I probably should be).

Part of the problem is that these mount options matter to various init
scripts (and possibly to quotatools?).  So for example, the usrquota
and grpquota mount options are complete no-ops as far as the kernel
code is concerned.  But they are there so they show up in
/proc/mounts, just in case /etc/mtab is a symlink to /proc/mounts (as
it is in some setups), because userspace scripts/tools care about
knowing whether the user wanted user or group quotas.  (And I think
the reason for that is because if someone only wants user or group
quotas, it's cheaper/faster if we only do the form of quota that is
required by the sysadmin....)

Worse yet, not all the distributions are standardized using the same
init scripts.

I *think* ditching non-journal quota does simplify things immensely,
but we will need to collect init scripts (and possibly private patches
to quotatools) across multiple distributions in order to be sure.

(I was looking at this, as well as the documentation out there on the
net about how to use quotas, and it's a bit of a mess.  :-/ )

    	      	     	     	      - Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ