* Lars Wirzenius [2005-11-20 00:36:24+0200] > Package: elog > Version: 2.6.0beta2+r1716-1 > > When I test elog with piuparts, I get the following error: > > 0m9.7s ERROR: Package purging left files on system: > /var/lib/elog > /var/lib/elog/logbooks > > Note that the package was installed and then immediately purged, it was > not used at all. The postrm attempts to > remove /var/lib/elog/logbooks/demo and all its parents that are empty. I > don't know if the the demo directory existed when the postrm was ran; if > not, that would explain the directories didn't go away.
Hi, Thanks for the bug report! I've installed piuparts and tested elog with it. You're right, the main cause is the missing 'demo' directory. /var/lib/elog/logbooks is created in postinst, but the demo subdirectory is dynamically created by elogd, which in this case doesn't seem to be created somehow: 29m53.7s DUMP: Creating user/group 'elog'chage: the shadow password file is not present 29m53.7s DUMP: chage failed with return code 15, shadow not enabled, password aging cannot be set. Continuing. 29m53.7s DUMP: . 29m53.7s DUMP: Creating logbook directory '/var/lib/elog/logbooks' 29m54.8s DUMP: ELOG is configured to reach from 'http://localhost:8080'. This is certainly a bug due to my false assumptions in postrm. Thanks for the efforts on piuparts, I'll fix the bug ASAP. Regards, -- roktas
signature.asc
Description: Digital signature