Package: openbsd-inetd
Version: 0.20091229-2
Severity: normal

Hello,

There's this function in /etc/init.d/openbsd-inetd:

checknoservices () {
    if ! grep -q "^[[:alnum:]/]" /etc/inetd.conf; then
        log_action_msg "Not starting internet superserver: no services enabled"
        exit 0
    fi
}

It will mistakenly think that no services are enabled, in case when all
enabled services have been specified by their IPv6 listen address, like so:
/etc/inetd.conf:

[2001:db8::1]:81 stream tcp6 nowait proxy /bin/nc6 nc6 -w 20 host1.example.com 
81
[2001:db8::2]:81 stream tcp6 nowait proxy /bin/nc6 nc6 -w 20 host2.example.com 
81
[2001:db8::3]:81 stream tcp6 nowait proxy /bin/nc6 nc6 -w 20 host3.example.com 
81

As you can see all of the non-commented lines start with "[", which the grep
in initscript currently will not properly match.

--- System information. ---
Architecture: amd64
Kernel:       Linux 3.14.18-rm1+

Debian Release: 7.6
  990 stable          www.emdebian.org 
  990 stable          approx.home.romanrm.net 
  100 wheezy-backports approx.home.romanrm.net 

--- Package information. ---
Depends            (Version) | Installed
============================-+-============
libc6               (>= 2.4) | 2.13-38+deb7u4
libwrap0         (>= 7.6-4~) | 7.6.q-24
lsb-base         (>= 3.2-13) | 4.1+Debian8+deb7u1
update-inetd                 | 4.43
tcpd                         | 7.6.q-24


Package's Recommends field is empty.

Package's Suggests field is empty.






-- 
With respect,
Roman

Attachment: signature.asc
Description: PGP signature

Reply via email to