Your message dated Fri, 03 Nov 2023 18:04:49 +0000
with message-id <[email protected]>
and subject line Bug#1029207: fixed in courier 1.0.16-3.1
has caused the Debian Bug report #1029207,
regarding Fwd: gamin problem on debian testing
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
1029207: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1029207
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: courier-imap
Version: 5.0.13+1.0.16-3+b5 amd64
Hello,
I wanted to upgrade my email server, so I decided to install Bookworm
(current debian testing) on a new machine. I wish to use virtual users.
postfix, postgresql auth, virtual users, courier imapd.
ii courier-authdaemon 0.71.4-1+b1 amd64 Courier
authentication daemon
ii courier-authlib 0.71.4-1+b1 amd64 Courier
authentication library
ii courier-authlib-postgresql 0.71.4-1+b1 amd64 PostgreSQL
support for the Courier authentication library
ii courier-authlib-userdb 0.71.4-1+b1 amd64 userdb
support for the Courier authentication library
ii courier-base 1.0.16-3+b5 amd64 Courier mail
server - base system
ii courier-imap 5.0.13+1.0.16-3+b5 amd64
Courier mail server - IMAP server
ii libcourier-unicode4:amd64 2.1.2-2+b1 amd64 Courier
Unicode library (shared runtime library)
ii gamin 0.1.10-6 amd64 File and
directory monitoring system
ii libgamin0 0.1.10-6 amd64 Client library
for the gamin file and directory monitoring system
It doesn't work.
I got a message from thunderbird:
(set debug, cut&paste from imaplog.dat
WRITE: * OK [ALERT] Filesystem notification initialization error --
contact your mail administrator (check for configuration errors with the
FAM/Gamin library)
This bug has a long history in debian bugtrack, suggest to install fam,
but there is no fam in debian testing.
/var/log/mail.log:
imapd: Failed to connect to socket /tmp/fam--
I started to investigate about this socket name, mainly the two dash on
it's end.
I downloaded and extracted gamin source, and found this in
server/gam_channel.c:
#ifdef HAVE_ABSTRACT_SOCKETS
ret = g_strconcat("/tmp/fam-", user, "-", gam_client_id, NULL);
#else
So it needs the username. I've gave it a try and added a regular user
along the virtual one (same username, same uid and gid) and it staarted
to work.
Then I removed the regular user and readded with some random character
appended, same uid, same gid, and it works also. I've checked with lsof
that the gam_server libexeced process uses the username from the
/etc/passwd.
lsof:
gam_serve 10851 usernameiiii 8u unix 0x000000009286ce 0t0
90092
@/tmp/fam-usernameiiii-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
type=STREAM (CONNECTED)
gam_serve 10851 usernameiiii 9u unix 0x000000007a8182 0t0
90095
@/tmp/fam-usernameiiii-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
type=STREAM (CONNECTED)
If I delete the regular user again, then:
gam_serve 10966 20042 5u unix 0x000000009422bc0f 0t0
95756
@/tmp/fam-somebody-@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
type=STREAM (LISTEN)
the gam_serve opens the socket as somebody, the imapd checks as a null
string.
I don't know, if this is a problem, or my fault.
Thank you for any help.
Robert
--- End Message ---
--- Begin Message ---
Source: courier
Source-Version: 1.0.16-3.1
Done: Bastian Germann <[email protected]>
We believe that the bug you reported is fixed in the latest version of
courier, which is due to be installed in the Debian FTP archive.
A summary of the changes between this version and the previous one is
attached.
Thank you for reporting the bug, which will now be closed. If you
have further comments please address them to [email protected],
and the maintainer will reopen the bug report if appropriate.
Debian distribution maintenance software
pp.
Bastian Germann <[email protected]> (supplier of updated courier package)
(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing [email protected])
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Format: 1.8
Date: Tue, 24 Oct 2023 18:45:03 +0200
Source: courier
Architecture: source
Version: 1.0.16-3.1
Distribution: unstable
Urgency: medium
Maintainer: Markus Wanner <[email protected]>
Changed-By: Bastian Germann <[email protected]>
Closes: 423875 599682 1029207 1038808
Changes:
courier (1.0.16-3.1) unstable; urgency=medium
.
* Non-maintainer upload.
* Drop gamin support. (Closes: #423875, #599682, #1029207, #1038808)
Checksums-Sha1:
561264f94883b2188f9e51af4fa10210834c5745 3023 courier_1.0.16-3.1.dsc
a7da1694f5453637d3e42742e868533ec283cb1f 108460
courier_1.0.16-3.1.debian.tar.xz
a73f2e18ea1dcd998be54c19c944d0225761505f 8791
courier_1.0.16-3.1_source.buildinfo
Checksums-Sha256:
acbfcedce102014e9cbc0573c9112f0c3e94eb605fd43b66c212cf8400995bc3 3023
courier_1.0.16-3.1.dsc
e83401d1124a6217ac4c5ce3fb09c5f7e9acc25120aba7b4eb8a113aa195f7cd 108460
courier_1.0.16-3.1.debian.tar.xz
04db216bef919fe5eb3caf07248dacb4d1ae73470082d31c41d55542da71cbfd 8791
courier_1.0.16-3.1_source.buildinfo
Files:
c28160ba73df8b026f554f9617438aca 3023 mail optional courier_1.0.16-3.1.dsc
44f8cb50367a2022a8811a40b403a4e9 108460 mail optional
courier_1.0.16-3.1.debian.tar.xz
70d02e132cbb02026c9ee29a17ad2065 8791 mail optional
courier_1.0.16-3.1_source.buildinfo
-----BEGIN PGP SIGNATURE-----
iQHEBAEBCgAuFiEEQGIgyLhVKAI3jM5BH1x6i0VWQxQFAmU39hMQHGJhZ2VAZGVi
aWFuLm9yZwAKCRAfXHqLRVZDFI/PC/9GESzxzz9/UflGrZZELi69FGf8FxIMIW78
fBS2+Fot05osX2WRawFrOrTLula6OyylSR2V2n6VHK0A7k5Y8CoJbbHSGxuwPlK+
2+sMmSZIRbgNX0hkTeXqXiRqXAC4l/fb7kZBq7tBv83JX5NE6iF6kushtmI6iLDj
obfrLN3nH5UaZSTiVFkidectvzE9Cg2idXoHgLhp4XVU36YRMZ1NYlow1mRpnCC1
V39+3GgOhUDXITlPuF5VMsV/A/v2FdzxMFbQKMGYFEqYnZdzBaei2kplpAjAd6ie
TPavYLH5cuK9s7KsNMhaXGt51d4EUrmfn6TkzG6QBbKXleSQAtLPwg2vEEBeL2kJ
Uc/4QnEWVB93+4p61w7/n6NukRLs2hm4aNXlti1KyepX/EOyxXim9HdSNCYvbL/z
jhSOKvw/Bo/R5fOUCYckkcHA542HtvfvkMZjRNtKAGNLyQ9meZ0LI+DCb9AaXCvF
WFl6JFgPI373zohMrhf0aUX/W2n3uZ0=
=iWng
-----END PGP SIGNATURE-----
--- End Message ---