Bug 101383 - HylaFax doesn't startup because of wrong user on /var/spool/fax
Bug#: 101383 Product:  Gentoo Linux Version: unspecified Platform: x86
OS/Version: Linux Status: RESOLVED Severity: normal Priority: P2
Resolution: FIXED Assigned To: nerdboy@gentoo.org Reported By: gentoo-bugs@vitoni.de
Component: Applications
URL: 
Summary: HylaFax doesn't startup because of wrong user on /var/spool/fax
Keywords:  
Status Whiteboard: 
Opened: 2005-08-04 13:41 0000
Description:   Opened: 2005-08-04 13:41 0000
The "/var/spool/fax" is owned by the user "fax".
However hylafax ecpects it to be "uucp". After "chown"ing "/var/spool/fax" to
uucp:uucp it seems to work.
If "fax" is the correct usser hylafax should be changed to use this one as default.
Another problem was that the start script seems to be successful but actually it
quits.

Reproducible: Always
Steps to Reproduce:
1. Try /etc/init.d/hylafax start
2. 'ps -afe | grep fax' shows nothing
3. The log says:  ... Can not change directory to /var/spool/fax
4. chown uucp:uucp /var/spool/fax
5. /etc/init.d/hylafax zap
6. /etc/init.d/hylafax start
7. 'ps -afe | grep fax' shows the process


Expected Results:  
2. - 6. shouldn't be necessary

------- Comment #1 From Steve Arnold 2005-08-12 00:40:14 0000 -------
Now fixed in CVS...

------- Comment #2 From Nathan 2006-03-18 19:14:23 0000 -------
Regression!  I would reopen the bug, but it won't let me.

I emerged version 4.2.5 on a clean system immediately after 'emerge --sync'ing
today, and spent quite some time tracking down why it wouldn't start.

The problem is exactly what the initial poster describes.  Changing ownership
of /var/spool/fax from fax:fax to uucp:uucp made it so that Hylafax would
start.