On Wed, Apr 30, 2014 at 02:13:19AM +0100, Ken Moffat wrote: > On Wed, Apr 30, 2014 at 02:57:59AM +0200, Armin K. wrote: > > On 30.4.2014 2:51, Ken Moffat wrote: > > > For the moment, I'm still on cups-1.7.1 (I have no desire to > > >install avahi if I can avoid that, and I haven't had time to see if > > >anything has happened re avahi in cups-1.7.2). Perhaps that makes a > > >difference, I don't know. > > > > > > > Fetch socket_activation patch for your version from here [1] and apply it > > before running aclocal and autoconf. You should get configure option for > > installing systemd units after you do that. > > > > [1] http://www.linuxfromscratch.org/patches/downloads/cups/ > > Thanks. Noted, I might remember to pick it up for my next systemd build. >
Well, I did that, and using 1.7.2. One hunk of the patch no longer applies (first hunk in scheduler/main.c), which caused my scripts to halt. That hunk was adding systemd information into a list of what the file contains - the list has gone, so that hunk can be dropped. I rediffed it as -2 and used that. I haven't uploaded it because printing doesn't work. http://localhost:631 in firefox gave Bad Request and the cups error log contains E [11/May/2014:15:47:51 +0100] Unable to bind socket for address [v1.::1]:631 - Address already in use. E [11/May/2014:15:47:51 +0100] Unable to bind socket for address 127.0.0.1:631 - Address already in use. E [11/May/2014:15:49:06 +0100] [Client 12] Request from "[v1.::127.0.0.1]" using invalid Host: field "localhost:631" E [11/May/2014:15:49:06 +0100] [Client 12] Request from "[v1.::127.0.0.1]" using invalid Host: field "localhost:631" E [11/May/2014:15:49:06 +0100] [Client 13] Request from "[v1.::127.0.0.1]" using invalid Host: field "localhost:631" E [11/May/2014:15:49:06 +0100] [Client 14] Request from "[v1.::127.0.0.1]" using invalid Host: field "localhost:631" This looks like the sort of thing for which google found several threads on forums - generally distro-specific advice, nothing consistent. A suggestion to run ss to look at port 631 gave me (sorry, some whitespace has gone when I pasted this) root@jtm1 /home/ken #ss -lpn|grep 631 tcp LISTEN 0 128 :::631 :::* users:(("cupsd",pid=490,fd=4),("systemd",pid=1,fd=33)) which suggests to me that cupsd already owns this. To be honest, I'm not inclined to pursue this. I will also note that on this machine, (intel instead of amd, different nics, but both loaded as modules, and both using dhcp), the mount of network filesystems appears to work correctly (i.e. no error messages). ĸen -- das eine Mal als Tragödie, dieses Mal als Farce -- http://lists.linuxfromscratch.org/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
