HylaFAX The world's most advanced open source fax server

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: [hylafax-users] hylafax HylaFAX[8600]: Could not create dev/null: Operation not permitted



* bodo.kretzschmar@xxxxxxxxxxxxxx <bodo.kretzschmar@xxxxxxxxxxxxxx> [100811 13:37]:
>  Hallo @all,
>
> i have some trouble with the deamon - he works in a freebsd 8.1 jail and  
> is root.
> the virtuell filesystem
> devfs on /mnt/jail/hylafax/dev (devfs, local, multilabel)
> fdescfs on /mnt/jail/hylafax/dev/fd (fdescfs)
> procfs on /mnt/jail/hylafax/proc (procfs, local)
>
>
> the /dev path has the follwing entries:
>
> fd      null    pts     stderr  stdout  zero
> log     ptmx    random  stdin   urandom
>
>
> what can i do to solve this problem?

What about /mnt/jail/hylafax/var/spool/hylafax/dev?

hfaxd tries to create "dev/null" in it's chroot so it can use it after
it does it's own  chroot() into /var/spool/hylafax.

So make sure there is a good "/dev" inside the '/var/spool/hylafax'
area, because hfaxd will try and chroot there, and need to be able to
open "/dev/null"  from in there too.

a.

-- 
Aidan Van Dyk                                             aidan@xxxxxxxx
Senior Software Developer                          +1 215 825-8700 x8103
iFAX Solutions, Inc.                                http://www.ifax.com/

Attachment: signature.asc
Description: Digital signature




Project hosted by iFAX Solutions