Hi Serafeim, On 02/01/14 23:13, Serafeim Zanikolas wrote: > Here's a list of instructions instead: > > - don't ship anything under /usr/share/reconf-inetd/ > - replace dependency on reconf-inetd with one on update-inetd > - revert postinst script to the one you had before, and put > "reconf-inetd || true" before invoking "update-inetd --add ..." > (the former will remove any entries added by reconf-inetd, for which there's > no fragment under /usr/share/reconf-inetd) > > Let me know if you run into any issues.
Have you tested this yourself? I have tried above and it doesn't work. With a trivial nyancat-server.postinst in my new version: #!/bin/sh set -e ls -lah /usr/share/reconf-inetd/nyancat-server* || true reconf-inetd --verbose || true ls -lah /usr/share/reconf-inetd/nyancat-server* || true I get the following output: jmccrohan@lambda:~/src/debian/nyancat$ sudo dpkg -i /var/cache/pbuilder/sid-amd64/result/nyancat_1.4.1-1_amd64.deb /var/cache/pbuilder/sid-amd64/result/nyancat-server_1.4.1-1_amd64.deb (Reading database ... 466867 files and directories currently installed.) Preparing to unpack .../nyancat_1.4.1-1_amd64.deb ... Unpacking nyancat (1.4.1-1) over (1.2.2-1) ... Preparing to unpack .../nyancat-server_1.4.1-1_amd64.deb ... Unpacking nyancat-server (1.4.1-1) over (1.2.2-1) ... Setting up nyancat (1.4.1-1) ... Setting up nyancat-server (1.4.1-1) ... ls: cannot access /usr/share/reconf-inetd/nyancat-server*: No such file or directory no changes to be made ls: cannot access /usr/share/reconf-inetd/nyancat-server*: No such file or directory Processing triggers for man-db (2.6.6-1) ... Processing triggers for reconf-inetd (1.120603) ... jmccrohan@lambda:~/src/debian/nyancat$ I have removed the files under /usr/share/reconf-inetd in the new version (verified in postinst output), yet reconf-inetd still leaves dangling entries in /etc/inetd.conf: jmccrohan@lambda:~/src/debian/nyancat$ grep nyancat /etc/inetd.conf telnet stream tcp6 nowait nobody /usr/bin/nyancat-server nyancat -t telnet stream tcp nowait nobody /usr/bin/nyancat-server nyancat -t How you do you propose you fix this? Thanks, Jon -- To UNSUBSCRIBE, email to [email protected] with a subject of "unsubscribe". Trouble? Contact [email protected]

