Public bug reported:

The default /etc/bindresvport.blacklist as shipped with Kubuntu cotains its 
entries (numbers) followed by a tab, and then a comment.
Apparently, the TAB causes the entries to be ignored.
We had one occurrence "in the wild" where rpc.quotad was hogging dovecot's 993 
port, preventing dovecot to start up, although 993 is listed in 
/etc/bindresvport.blacklist.

In order to confirm that the behavior was indeed due to the TAB, I filled up 
/etc/bindresvport.blacklist for every port number from 512 til 1000, and 
restarted one of the services using bindresvport (I tested with the rpc.statd 
included in nfs-common), and it got a port below 1000.
After replacing the TABs with 5 spaces, it correctly got a port between 1001 
and 1023.

I'm not really sure whether this is a bug in the default file (should
have spaces) or in the parser (should consider all "whitespace"
characters, including tab).

** Affects: glibc (Ubuntu)
     Importance: Undecided
         Status: New

-- 
"Syntax error" in default bindresvport.blacklist
https://bugs.launchpad.net/bugs/306007
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to