Package: hylafax-server
Version: 2:6.0.5-4.1
Severity: normal

I'm running hylafax in an OpenVZ container on Proxmox VE. Here, /etc/mtab is
a symlink to /proc/mounts, therefore the first field is not "/etc/hylafax"
but the name of the device:

  /dev/simfs /var/spool/hylafax/etc simfs rw,relatime 0 0

Not sure if this is considered a supported configuration, but anyway you can
fix this by checking only the second field. I believe it's safe enough, as
someone having a mountpoint there that was not generated by the hylafax init
script is likely using a *very* peculiar setup. I would in fact argue that:

  umount "$1" 2>/dev/null || true

is good enough.

-- System Information:
Debian Release: 6.0.3
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.32-4-pve (SMP w/8 CPU cores)
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
Shell: /bin/sh linked to /bin/dash

Versions of packages hylafax-server depends on:
ii  adduser            3.112+nmu2            add and remove users and groups
ii  bsd-mailx [mailx]  8.1.2-0.20100314cvs-1 simple mail user agent
ii debconf [debconf-2 1.5.36.1 Debian configuration management sy ii ghostscript 8.71~dfsg2-9 The GPL Ghostscript PostScript/PDF ii hylafax-client 2:6.0.5-4.1 Flexible client/server fax softwar ii libc6 2.11.2-10 Embedded GNU C Library: Shared lib
ii  libgcc1            1:4.4.5-8             GCC support library
ii libpam0g 1.1.1-6.1 Pluggable Authentication Modules l
ii  libstdc++6         4.4.5-8               The GNU Standard C++ Library v3
ii libtiff-tools 3.9.4-5+squeeze3 TIFF manipulation and conversion t ii libtiff4 3.9.4-5+squeeze3 Tag Image File Format (TIFF) libra ii lsb-base 3.2-23.2squeeze1 Linux Standard Base 3.2 init scrip ii postfix [mail-tran 2.7.1-1+squeeze1 High-performance mail transport ag ii psmisc 22.11-1 utilities that use the proc file s
ii  sed                4.2.1-7               The GNU sed stream editor
ii  zlib1g             1:1.2.3.4.dfsg-3      compression library - runtime

hylafax-server recommends no packages.

Versions of packages hylafax-server suggests:
pn  mgetty                        <none>     (no description available)
pn  psrip                         <none>     (no description available)

-- Configuration Files:
/etc/hylafax/config changed [not included]
/etc/hylafax/hosts.hfaxd changed [not included]
/etc/init.d/hylafax changed [not included]

-- debconf information excluded

--
Flavio Stanchina
Informatica e Servizi
Trento - Italy

Debugging is twice as hard as writing the code in the first place.
Therefore, if you write the code as cleverly as possible, you are,
by definition, not smart enough to debug it.
 -- Brian W. Kernighan



--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to