Your message dated Tue, 02 Jun 2026 12:56:58 +0000
with message-id <[email protected]>
and subject line Bug#1138062: Removed package(s) from unstable
has caused the Debian Bug report #854009,
regarding soundmodem: starts kiss device with incorrect permissions
to be marked as done.

This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.

(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)


-- 
854009: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854009
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: soundmodem
Version: 0.20-5
Severity: normal
Tags: patch

Dear Maintainer,

Running soundmodem creates a kiss serial device with permissions that render it 
inaccessible to normal users, or users in the tty group.

Upon starting soundmodem with Channel "Packet IO" Mode set as KISS, soundmodem 
creates a pty and a link to that file, /dev/soundmodem*.

Normal users, and users in the tty group cannot access this device - this means 
packet programs, such as Xastir, have to be run as root. 

Listing the file permissions of the created devices shows:

→ ls -al /dev/soundmodem0
lrwxrwxrwx 1 root root 10 Feb  3 00:18 /dev/soundmodem0 -> /dev/pts/6

→ ls -al /dev/pts/6
crw--w---- 1 root tty 136, 6 Feb  3 00:18 /dev/pts/6

While root has rw on /dev/pts/6, group tty only has w. Applications cannot read 
the terminal and show accessing it has failed.

I have included a very minor patch which details a proposed fix below. The 
patch 
allows members of the 'tty' group to read and write to the pty device.

This has been committed to in the debian git server and can be viewed at:
https://anonscm.debian.org/cgit/pkg-hamradio/soundmodem.git/ however it can be 
discarded as per maintainer's choice. 


Descriptions: Allow group to read/write the created pty
Author: Dave Hibberd <[email protected]>
Last-Updated: 2017-02-24

--- a/soundcard/kisspkt.c
+++ b/soundcard/kisspkt.c
@@ -758,7 +758,7 @@
         tm.c_cflag = CS8 | CREAD | CLOCAL;
         if (tcsetattr(slave, TCSANOW, &tm))
                 logerr(MLOG_FATAL, "slave: tcsetattr");
-       //fchmod(slave, 0600);
+       fchmod(slave, 0660);
        if (dounlink)
                unlink(file);
        if (symlink(ttyname, file))


-- System Information:
Debian Release: 9.0
  APT prefers testing
  APT policy: (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 4.8.0-2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages soundmodem depends on:
ii  libasound2          1.1.2-1
ii  libatk1.0-0         2.22.0-1
ii  libaudiofile1       0.3.6-3
ii  libc6               2.24-8
ii  libgdk-pixbuf2.0-0  2.36.3-1
ii  libglib2.0-0        2.50.2-2
ii  libgtk2.0-0         2.24.31-1
ii  libhamlib2          3.0.1-1+b1
ii  libpango-1.0-0      1.40.3-3
ii  libxml2             2.9.4+dfsg1-2.1

soundmodem recommends no packages.

soundmodem suggests no packages.

-- Configuration Files:
/etc/ax25/soundmodem.conf changed:
<?xml version="1.0"?>
<modem>
  <configuration name="UHF_Packet">
    <chaccess txdelay="150" slottime="100" ppersist="40" fulldup="0" 
txtail="10"/>
    <audio type="alsa" device="plughw:CARD=Device,DEV=0" halfdup="1" 
capturechannelmode="Mono"/>
    <ptt file="/dev/ttyUSB0" hamlib_model="" hamlib_params=""/>
    <channel name="Channel 0">
      <mod mode="afsk" bps="1200" f0="1200" f1="2200" diffenc="1"/>
      <demod mode="afsk" bps="1200" f0="1200" f1="2200" diffdec="1"/>
      <pkt mode="KISS" ifname="sm0" hwaddr="MM3ZRZ-5" ip="44.131.6.35" 
netmask="255.255.255.224" broadcast="44.131.6.63" file="/dev/soundmodem0" 
unlink="1"/>
    </channel>
  </configuration>
</modem>


-- no debconf information

Attachment: signature.asc
Description: PGP signature


--- End Message ---
--- Begin Message ---
Version: 0.20-8+rm

Dear submitter,

as the package soundmodem has just been removed from the Debian archive
unstable we hereby close the associated bug reports.  We are sorry
that we couldn't deal with your issue properly.

For details on the removal, please see https://bugs.debian.org/1138062

The version of this package that was in Debian prior to this removal
can still be found using https://snapshot.debian.org/.

Please note that the changes have been done on the master archive and
will not propagate to any mirrors until the next dinstall run at the
earliest.

This message was generated automatically; if you believe that there is
a problem with it please contact the archive administrators by mailing
[email protected].

Debian distribution maintenance software
pp.
Thorsten Alteholz (the ftpmaster behind the curtain)

--- End Message ---

Reply via email to