linuxconf all changes logs

linuxconf all changes logs

Change log index

Version 1.32

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.

Version 1.32r1

Enhancements

Module diskquotaconf: configuring users and groups

In the user account dialog (and group), the admin now see the current disk usage for the user. He also see the inherited limit a user would get unless the admin override the settings.

Module diskquotaconf: report

A browser was created to review user and group quotas. This browser let you see (in GUI mode) which users are over quota by using a color scheme. Orange means over soft limit, red, over hard limit. The report presents the users group by group. Group members are folded and clicking on a line open up the group list. Columns are sortable etc....

You will find this new report in the status area.

Module diskquotaconf: running quotacheck

When running quotacheck on the root partition, the option -m is used because quotacheck can't remount / read-only.

Version 1.33

Enhancements

Module diskquotaconf

The module now uses repquota to extract quota instead of the kernel API. This has some advantages. It allows Linuxconf to operate on new disk quota format without too much worrying about the kernel interfaces. It also allows Linuxconf to operate on disk quota of remove machine (by replacing repquota and friends with stubs).

Version 1.34r2

Enhancements

Module diskquotaconf: --playcmd option

The --playcmd option is use to configure the kernel from a file produced by diskquotaconf (potentially written on another computer). Previously --playcmd needed a file name as an argument. Now it also accepts the - argument to mean "read from standard input".