linuxconf 1.33 changes log

linuxconf 1.33 changes log

previous versions: 1.32r1
Change log index

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).

Module firewall: reporting error

When the module was applying firewall rules, it was sometime generating errors difficult to related to actual lines in the dialog. This is so because one configuration line may literally explode into many (with modules like userfirewall). Now the error message are easier to understand.

Module mailconf: milter to identify vmail users

The milter (mail filter) has been created to let sendmail properly identify vdomain users right at the "rcpt to" stage. Without the milter sendmail can't tell anything about vdomain users and will happily accept email message to any users. Later, when trying to deliver to the vdomain, it learns the user do not exist and reject the message.

With this milter enabled (and sendmail.cf configured to use it), sendmail checks with the milter to learn if the user exist (or an alias). If not, the mail is rejected immediately.

If the vdomain has a fallback destination configured, the milter let the mail go.

An init script called vdomaincheck is delivered to start/stop the milter.

Module mailconf: single URL for password modification

A new dialog was created to let vdomain users change their password. Previously, you needed on URL per vdomain. This still work. But now the URL

	http://your_server:98/htmlmod:vpass:

gives access to a form requesting the email address (not just the user id). From the email address, the form operates on the proper vdomain.

Module mailconf: supporting milter

It is now possible to configure milter (minimally) from mailconf. You define the milter, the socket and the flags...

Module mailconf: vdeliver

vdeliver now properly return errors from filters.

Work in progress: new GUI front-end

The current GUI is based on wxXt toolkit, which is old and not maintained anymore. The new GUI is based on wxGTK, which is well and alive. I have spent some time on this new GUI ( in linuxconf/diawxgtk). It is not completely done yet, but things are coming along.

Bug fixes

HTML mode: dialog state mismatch

A very old bug was fixed in this area. It was fairly easy to trigger the infamous "dialog state mismatch" screen. It should be fixed now. Check it out.

Here is how this works. When someone edit a page in Linuxconf using the HTML interface, Linuxconf sends HTML fields to the browser. It sends visible and hidden fields. The hidden fields contain the current status of the form. When the user hit "accept", the hidden fields are sent back. Linuxconf compares the hidden values with the current value in the configuration file being edited. If they do not match, it means another user has edited the same record. Linuxconf then reject the new input since it was based on information now outdated by the second user. Not doing so would be some information would be lost. For example

Triggering the bug was relatively easy. Access a form in Linuxconf and fill it with some errors. Linuxconf will warn about the error and let you correct it. When you hit accept, there is a good chance you see the "dialog mismatch" message.

Anyway, should be all right now.