I don't know if this is the right place to talk about contributed RPMS, but I'll try anyway, hoping that if I have made a mistake someone will correct me and all other people will forgive me...
I have just installed both e-smith-fullname-alias-0.3-2.noarch.rpm and e-smith-aliases-0.3-1.noarch.rpm, by Charlie Brady.
I think I've found a bug in the fullname-alias package: if I create a user, its alias goes in the /var/qmail/alias dir, as expected.
When I delete a user, though, I get an "System error" message, stating that an "Error occurred while deleting user."
The message seems generated by the CGI /etc/e-smith/web/functions/useraccounts performDeleteUser function, during the
"/sbin/e-smith/signal-event user-delete" phase.
Looking in the /var/qmail/alias dir, I noticed that the alias file for the just deleted user is not removed.
On further investigation, I found in the /etc/e-smith/events/user-delete dir the S90create-fullname-alias link to ../actions/modify-fullname-alias.
At first, I thought that the fullname of the user could be no more available after its deletion, so I tried renaming it to something like S00something, but to no avail.
I removed it, and the username deletion worked as expected; so I am reasonably sure that the culprit is the modify-fullname-alias script.
I don't know any perl at all: maybe there's something wrong in the statement
"unlink $qmailfile;"?
P.S.: Charlie, in this script you wonder how to manage the alias while updating the user name: I think that the old alias should be removed and substituted by the new one.
Thanks you all for your attention, and expecially to Charlie Brady
--
Pierluigi "Zio Lonewolf" Miranda
Cerveteri (Roma) - Italy
p.miranda@mclink.it