linuxconf 1.32 changes log

linuxconf 1.32 changes log

previous versions: 1.31r3
Change log index

Enhancements

Disk quota and various RedHat releases

Linuxconf (diskquotaconf now) is using the quotactl API to manage disk quotas. Unfortunately, this API has evolved in the past year. Supporting all the APIs is kind of a mess because there is no easy way to tell which APIs is supported by the running kernel. The quotatool project solved this by using various tricky tests (The quota utilities in RedHat do almost the same, but are confused by later "Linus" kernels).

Using the stuff from quotatool, Linuxconf now adapt on the fly to the various kernels out there.

There is still a catch though. There is no way to probe a kernel to learn its API revision unless disk quota is already active in the kernel (quotaon has been used on a device). This has a negative side effect: There is no way to set disk quota with a Linus kernel on a RedHat system unless you use a patched quota package. I have done that.

Using the new QUOTA_IFACE environment variable, you can force the tools to use the API you want. For example, to initialize user quota on partition /data for a Linus kernel, you do

	QUOTA_IFACE=vfsold quotacheck -c -u /data

The supported values are: generic vfsv0 vfsold

I have uploaded quota-3.06-9env.src.rpm at ftp://ftp.solucorp.qc.ca/pub/misc .

Module diskquotaconf: new

I have moved the disk quota functionality in Linuxconf core into a module. The user interface was redone (a little) using the user account co-manager framework. This means that the core Linuxconf (userconf in fact) does not know anything about quota anymore.

I have created help pages to explain the various quota (user quotas, group quotas and group member default user quotas).

Now that the functionality is a module, one may disable it. This was a drawback of the previous version. While using Linuxconf to manage quota is certainly a winner, because of the inheritance mechanism (You set the defaults at the device and group level and just override the user with special needs), it was preventing the use of competing strategies. Now, you just disable the module.

The module is enabled by default by the package if /etc/quota.conf exists.

Bug fixes

Module diskquotaconf: quotacheck -c

When the file aquota.user (group) or quota.user (group) was missing the quotacheck was executed, but without the -c command line option. Newer quotacheck utility requires this option to create the file.