spurious warning about `/var/lib/postgrey' on postgrey install
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
postgrey (Ubuntu) |
New
|
Undecided
|
Unassigned |
Bug Description
Binary package hint: postgrey
On newly-installed Intrepid system from server iso, postgrey installs fine with aptitude but says this:
[...]
Setting up postgrey (1.31-2.1) ...
Warning: The home dir /var/lib/postgrey you specified can't be accessed: No such file or directory
Adding system user `postgrey' (UID 108) ...
Adding new group `postgrey' (GID 119) ...
Adding new user `postgrey' (UID 108) with group `postgrey' ...
Not creating home directory `/var/lib/
Creating config file /etc/postgrey/
Creating config file /etc/postgrey/
Creating config file /etc/default/
Starting postfix greylisting daemon: postgrey.
Press return to continue.
And afterwards I see:
root@techstep:~# ls -dlh /var/lib/postgrey
drwx------ 2 postgrey postgrey 4.0K 2008-11-09 16:00 /var/lib/postgrey
Details:
1) lsb_release -rd
Description: Ubuntu 8.10
Release: 8.10
2) apt-cache policy postgrey
postgrey:
Installed: 1.31-2.1
Candidate: 1.31-2.1
Version table:
*** 1.31-2.1 0
500 http://
100 /var/lib/
3) Expected clean install with no errors or warnings during setup.
4) Saw spurious warning about /var/lib/postgrey not existing and not being created (it gets created later in the postinst). The attached patch is a one-line fix that gets rid of the warning.