Bug#1029207: Fwd: gamin problem on debian testing

2023-01-19 Thread Robert NEMKIN

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 amd64Courier 
authentication daemon
ii  courier-authlib0.71.4-1+b1 amd64Courier 
authentication library
ii  courier-authlib-postgresql 0.71.4-1+b1 amd64PostgreSQL 
support for the Courier authentication library
ii  courier-authlib-userdb 0.71.4-1+b1 amd64userdb 
support for the Courier authentication library
ii  courier-base   1.0.16-3+b5 amd64Courier 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 amd64Courier 
Unicode library (shared runtime library)


ii  gamin  0.1.10-6 amd64File and 
directory monitoring system
ii  libgamin0  0.1.10-6 amd64Client library 
for the gamin file and directory monitoring system


It doesn't work.

I got a message from thunderbird:
(set debug, cut 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 username8u unix 0x9286ce  0t0 
90092 
@/tmp/fam-username-@ 
type=STREAM (CONNECTED)
gam_serve 10851 username9u unix 0x7a8182  0t0 
90095 
@/tmp/fam-username-@ 
type=STREAM (CONNECTED)


If I delete the regular user again, then:
gam_serve 10966200425u unix 0x9422bc0f  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



Bug#429153: libsane: broken usb communication

2007-06-15 Thread Robert NEMKIN
Package: libsane
Version: 1.0.18-5
Severity: normal


I have a hp 3055 multifunction scanner/fax/printer connected via usb.
Since my last dist-upgrade, scanning multiple pages becomes broken,
after scanning the first page, xsane reports i/o error when
communicating to the scanner. The scanner beeps. One page scans works well.

This was with libsane-1.0.18. When I downgraded to libsane-1.0.15 and
sane-utils-1.0.15 everything begin to work well again.


-- System Information:
Debian Release: 4.0
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)
Shell:  /bin/sh linked to /bin/bash
Kernel: Linux 2.6.18-4-686
Locale: LANG=hu_HU, LC_CTYPE=hu_HU (charmap=ISO-8859-2)

Versions of packages libsane depends on:
ii  adduser 3.102Add and remove users and groups
ii  debconf 1.5.11   Debian configuration management sy
ii  libc6   2.3.6.ds1-13 GNU C Library: Shared libraries
ii  libgphoto2-22.2.1-16 gphoto2 digital camera library
ii  libgphoto2-port02.2.1-16 gphoto2 digital camera port librar
ii  libieee1284-3   0.2.10-4 cross-platform library for paralle
ii  libjpeg62   6b-13The Independent JPEG Group's JPEG 
ii  libusb-0.1-42:0.1.12-5   userspace USB programming library
ii  makedev 2.3.1-83 creates device files in /dev
hi  sane-utils  1.0.15-9 API library for scanners -- utilit

Versions of packages libsane recommends:
pn  hotplug   none (no description available)

-- debconf-show failed


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of unsubscribe. Trouble? Contact [EMAIL PROTECTED]