[Pkg-mpd-maintainers] Bug#813754: Can't open port 6600 when run syste, -wide vis systemd
Lisandro Damián Nicanor Pérez Meyer
lisandro at debian.org
Fri Feb 5 00:05:30 UTC 2016
Package: mpd
Version: 0.19.12-1
Severity: normal
Hi! I use mpd on my personal machine as a system service, without pulseaudio.
I noticed that if I let mpd start via systemd port 6600 will not be opened.
To get it open I need to:
- Stop mpd by using systemctl.
- Start mpd via /etc/init.d/mpd start
According to the output of the last command the service gets enabled "vis systemd":
# /etc/init.d/mpd start
[ ok ] Starting mpd (via systemctl): mpd.service.
But now I get port 6600 opened:
# netstat -putan | grep mpd
tcp 0 0 0.0.0.0:8000 0.0.0.0:* LISTEN 4525/mpd
tcp 0 0 0.0.0.0:6600 0.0.0.0:* LISTEN 4525/mpd
tcp6 0 0 :::6600 :::* LISTEN 4525/mpd
I really tried changing lots of things to no avail, but maybe I'm
missing something obvious here :-/
Thanks for taking care of mpd!
-- System Information:
Debian Release: stretch/sid
APT prefers unstable-debug
APT policy: (500, 'unstable-debug'), (500, 'buildd-unstable'), (500, 'testing')
Architecture: amd64 (x86_64)
Foreign Architectures: i386
Kernel: Linux 4.3.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=es_AR.UTF-8, LC_CTYPE=es_AR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Init: systemd (via /run/systemd/system)
Versions of packages mpd depends on:
ii adduser 3.113+nmu3
ii init-system-helpers 1.26
ii libadplug-2.2.1-0v5 2.2.1+dfsg3-0.3
ii libao4 1.1.0-3
ii libasound2 1.0.29-1
ii libaudiofile1 0.3.6-2+b1
ii libavahi-client3 0.6.32~rc+dfsg-1
ii libavahi-common3 0.6.32~rc+dfsg-1
ii libavcodec-ffmpeg-extra56 7:2.8.5-1+b1
ii libavformat-ffmpeg56 7:2.8.5-1+b1
ii libavutil-ffmpeg54 7:2.8.5-1+b1
ii libbz2-1.0 1.0.6-8
ii libc6 2.21-7
ii libcdio-cdda1 0.83-4.2+b1
ii libcdio-paranoia1 0.83-4.2+b1
ii libcdio13 0.83-4.2+b1
ii libcurl3-gnutls 7.46.0-1+b1
ii libdbus-1-3 1.10.6-1
ii libexpat1 2.1.0-7
ii libfaad2 2.8.0~cvs20150510-1
ii libflac8 1.3.1-4
ii libfluidsynth1 1.1.6-3
ii libglib2.0-0 2.46.2-3
ii libgme0 0.6.0-3
ii libicu55 55.1-7
ii libid3tag0 0.15.1b-11
ii libiso9660-8 0.83-4.2+b1
ii libjack-jackd2-0 [libjack-0.116] 1.9.10+20150825git1ed50c92~dfsg-1
ii libmad0 0.15.1b-8
ii libmikmod3 3.3.8-2
ii libmms0 0.6.4-1
ii libmodplug1 1:0.8.8.5-2
ii libmp3lame0 3.99.5+repack1-9+b1
ii libmpcdec6 2:0.1~r475-1
ii libmpdclient2 2.9-1
ii libmpg123-0 1.22.4-1
ii libnfs8 1.9.8-1
ii libogg0 1.3.2-1
ii libopenal1 1:1.16.0-3
ii libopus0 1.1.2-1
ii libpulse0 7.1-2
ii libresid-builder0c2a 2.1.1-14
ii libroar2 1.0~beta11-5
ii libsamplerate0 0.1.8-8
ii libshout3 2.3.1-3
ii libsidplay2 2.1.1-14
ii libsidutils0 2.1.1-14
ii libsmbclient 2:4.3.3+dfsg-1+b1
ii libsndfile1 1.0.25-10
ii libsoxr0 0.1.2-1
ii libsqlite3-0 3.10.2-1
ii libstdc++6 5.3.1-7
ii libsystemd0 228-4+b1
ii libupnp6 1:1.6.19+git20160116-1
ii libvorbis0a 1.3.4-3
ii libvorbisenc2 1.3.4-3
ii libvorbisfile3 1.3.4-3
ii libwavpack1 4.75.2-2
ii libwildmidi1 0.3.8-2
ii libwrap0 7.6.q-25
ii libyajl2 2.1.0-2
ii libzzip-0-13 0.13.62-3
ii lsb-base 9.20160110
ii zlib1g 1:1.2.8.dfsg-2+b1
mpd recommends no packages.
Versions of packages mpd suggests:
ii avahi-daemon 0.6.32~rc+dfsg-1
ii cantata [mpd-client] 1.5.2.ds2-3
pn icecast2 <none>
ii ncmpcpp [mpd-client] 0.7-1
pn pulseaudio <none>
ii qmpdclient [mpd-client] 1.2.2-2
-- Configuration Files:
/etc/default/mpd changed:
MPDCONF="--verbose /etc/mpd.conf"
/etc/mpd.conf changed:
music_directory "/var/lib/mpd/music"
playlist_directory "/var/lib/mpd/playlists"
db_file "/var/lib/mpd/tag_cache"
log_file "/var/log/mpd/mpd.log"
pid_file "/run/mpd/pid"
state_file "/var/lib/mpd/state"
sticker_file "/var/lib/mpd/sticker.sql"
user "mpd"
bind_to_address "any"
port "6600"
log_level "verbose"
auto_update "yes"
follow_outside_symlinks "yes"
follow_inside_symlinks "yes"
zeroconf_enabled "yes"
zeroconf_name "Music Player"
password "ofcourseimodifiedthisoneforthebugreport at read,add,control,admin"
input {
plugin "curl"
}
audio_output {
type "alsa"
name "Luna ALSA Device"
device "hw:1,0" # optional
}
audio_output {
type "httpd"
name "Luna HTTP Stream"
encoder "vorbis" # optional, vorbis or lame
port "8000"
bind_to_address "0.0.0.0" # optional, IPv4 or IPv6
quality "5.0" # do not define if bitrate is defined
format "44100:16:1"
max_clients "0" # optional 0=no limit
}
replaygain "track"
filesystem_charset "UTF-8"
id3v1_encoding "UTF-8"
-- no debconf information
More information about the Pkg-mpd-maintainers
mailing list