Bug#743903: /usr/lib/lsb/install_initd fails on any init script

Peter Åstrand <[email protected]> Mon, 1 Feb 2016 10:05:31 +0100 (CET)
Newsgroups gmane.linux.debian.devel.lsb
Message-ID <alpine.LRH.2.20.1602011005080.16298__45893.2650195949$1454317776$gmane$org@scilla.lkpg.cendio.se>
This bug is not fixed. install_initd still fails in the same way on Debian 
GNU/Linux 8 with all updates installed:

# /usr/lib/lsb/install_initd /etc/init.d/cups
Traceback (most recent call last):
    File "/usr/lib/lsb/install_initd", line 46, in <module>
      headers = initdutils.scan_initfile(initfile)
    File "/usr/lib/lsb/initdutils.py", line 79, in scan_initfile
      inheaders = RFC822Parser(strob=headerlines)
    File "/usr/lib/lsb/initdutils.py", line 24, in __init__
     fileob = StringIO(strob)
TypeError: initial_value must be unicode or None, not str


---
Peter Åstrand		 ThinLinc Chief Developer
Cendio AB		 https://cendio.com
Teknikringen 8		 https://twitter.com/ThinLinc
583 30 Linköping	 https://facebook.com/ThinLinc
Phone: +46 13 214 600	 https://google.com/+CendioThinLinc