soundmodemconfig fails when loading /etc/ax25/soundmodem.conf

Bug #770011 reported by Juan Font
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
soundmodem (Debian)
Fix Released
Unknown
soundmodem (Ubuntu)
Fix Released
High
Kamal Mostafa

Bug Description

Binary package hint: soundmodem

'soundmodemconfig' is a tool provided in the 'soundmodem' package used to set up the soundmodem daemon.

When you first use the program, the file /etc/ax25/soundmodem.conf doesn't exist, so the program outputs errors like:

I/O warning : failed to load external entity "/etc/ax25/soundmodem.conf"
I/O error : No such fiile or directory

Soundmodemconfig does not create that file, so you have to do it by hand (mkdir /etc/ax25 ; touch /etc/ax25/soundmodem.conf ). Otherwise you won't be able to store the config.

This may be an upstream bug...

Distro version:

Description: Ubuntu 11.04
Release: 11.04

soundmodem:
  Instalados: 0.15-2
  Candidato: 0.15-2
  Tabla de versión:
 *** 0.15-2 0
        500 http://archive.ubuntu.com/ubuntu/ natty/universe amd64 Packages
        100 /var/lib/dpkg/status

Related branches

Juan Font (juanfont)
description: updated
Revision history for this message
Jorge Suárez de Lis (ys) wrote :

You can find this explanation on README.Debian:

> You should run soundmodemconfig before running the soundmodem application. Please read the manual pages, so you know where to store the xml configuration file which is used by soundmodem. HINT: Please use the -c command line option to store the configuration file, if you are running as non-root user. In line with the ax25 packages, soundmodem will by default read its
configuration from /etc/ax25/soundmodem.conf.

So, running soundmodemconfig is a MUST. But even when running soundmodemconfig, the /etc/ax25/soundmodem.conf won't be created until the directory /etc/ax25 exists. If you install the ax25 packages, the directory will be created, and then you will be able to configure soundmodem. However, the ax25 packages are not dependencies, so this is totally a bug.

Since this package is imported from Debian, you should file a bug report on Debian and link it here. If I'm not wrong (hope I'm not!) you should ask the maintainer to add the /etc/ax25/soundmodem.conf to the package conffiles, so /etc/ax25 is created automatically if needed during package installation.

Revision history for this message
Juan Font (juanfont) wrote :

Thanks #1 :)

I've just reported the bug to Debian http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=623973

Changed in soundmodem (Ubuntu):
assignee: nobody → Kamal Mostafa (kamalmostafa)
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote :

I confirm this bug. I'll fix it in the Debian packaging. Thanks very much for the clear bug report.

Changed in soundmodem (Ubuntu):
importance: Undecided → High
status: New → Confirmed
Revision history for this message
Joey Stanford (joey) wrote : Re: [Ubuntu-hams-devel] [Bug 770011] Re: soundmodemconfig fails when loading /etc/ax25/soundmodem.conf

how funny, I was going to report this same bug this morning!

Revision history for this message
Juan Font (juanfont) wrote :

The bug is now solved in the Debian packaging. Thank you very much. This was really fast!

Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package soundmodem - 0.15-3

---------------
soundmodem (0.15-3) unstable; urgency=low

  * Debian packaging:
    - supply initial /etc/ax25/soundmodem.conf conffile
      (Closes: #623973, LP: #770011)
 -- Ubuntu Archive Auto-Sync <email address hidden> Sat, 30 Apr 2011 13:47:37 +0000

Changed in soundmodem (Ubuntu):
status: Confirmed → Fix Released
Changed in soundmodem (Debian):
status: Unknown → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.