Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-23 Thread Mike Gabriel

Hi Petter,

On  Do 22 Okt 2015 12:51:28 CEST, Petter Reinholdtsen wrote:


[Mike Gabriel]

Ooops... Maybe... not sure about that... Petter? Holger? Someone with
more knowledge on blends?


Wolfgang is correct, tasks/ is the place to update.  All other package
lists are generated from those.


Thanks for feedback. I will fix this over the weekend.

Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de


pgpy1vebf2kIJ.pgp
Description: Digitale PGP-Signatur


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-22 Thread Mike Gabriel

Hi Wolfgang,

On  Do 15 Okt 2015 22:21:34 CEST, Wolfgang Schweer wrote:


On Thu, Oct 15, 2015 at 07:45:43PM +, Mike Gabriel wrote:


@Wolfgang: What task shall libdns-mdns be added to in src:debian-edu
package? education-networked?


Maybe desktop-other is better suited; for a stock jessie workstation  
libdns-mdns

is pulled in as a Depends of the desktop task, iirc.

Also, it would be a good idea if someone else could test before if the
installation of this package really solves the problem.


I recently tested the above on a non-Debian Edu, but Debian jessie  
based network (at work).


It seems that libnss-mdns is required on the CUPS server and all  
associated CUPS clients.


Once the libnss-mdns package is installed on both ends, printing works well.


I have just committed a patch to debian-edu.git that adds libnss-mdns  
to education-desktop-other and eduation-main-server tasks.


Mike

--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de


pgpmluH8ebFGX.pgp
Description: Digitale PGP-Signatur


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-22 Thread Petter Reinholdtsen
[Mike Gabriel]
> Ooops... Maybe... not sure about that... Petter? Holger? Someone with
> more knowledge on blends?

Wolfgang is correct, tasks/ is the place to update.  All other package
lists are generated from those.

-- 
Happy hacking
Petter Reinholdtsen



Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-22 Thread Mike Gabriel

Hi Wolfgang,

On  Do 22 Okt 2015 11:28:27 CEST, Wolfgang Schweer wrote:


On Thu, Oct 22, 2015 at 07:44:54AM +, Mike Gabriel wrote:


I have just committed a patch to debian-edu.git that adds libnss-mdns to
education-desktop-other and eduation-main-server tasks.


Please correct me if I'm wrong, but IIRC libnss-mdns should have been
added to the tasks files tasks/desktop-other and tasks/main-server (and
not to the .desc file).

Wolfgang


Ooops... Maybe... not sure about that... Petter? Holger? Someone with  
more knowledge on blends?


Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/mailxchange/kronolith/fb.php?u=m.gabriel%40das-netzwerkteam.de


pgp19WHeZw7YQ.pgp
Description: Digitale PGP-Signatur


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-22 Thread Wolfgang Schweer
On Thu, Oct 22, 2015 at 07:44:54AM +, Mike Gabriel wrote:
> 
> I have just committed a patch to debian-edu.git that adds libnss-mdns to
> education-desktop-other and eduation-main-server tasks.
 
Please correct me if I'm wrong, but IIRC libnss-mdns should have been 
added to the tasks files tasks/desktop-other and tasks/main-server (and 
not to the .desc file).

Wolfgang



signature.asc
Description: PGP signature


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-15 Thread Mike Gabriel

Hi Wolfgang,

On  Mi 14 Okt 2015 18:17:17 CEST, Wolfgang Schweer wrote:


On Wed, Oct 14, 2015 at 01:31:04PM +, Mike Gabriel wrote:

On  Mo 13 Jul 2015 11:07:18 CEST, Wolfgang Schweer wrote:
>On IRC sunweaver pointed out that the existence of /etc/cups/client.conf
>would break setting up locally attached printers (via locally running
>cups). While this is true in general, there's a way to have local
>printer(s) (attached to real workstations) configured centrally on
>tjener. To get this working install the package p910nd on the
>workstation and configure it, see man p910nd. (For a USB printer you
>would set P910ND_OPTS="-f /dev/usb/lp0" and P910ND_START=1 in
>/etc/default/p910nd.) Then you can set up this printer on tjener as
>AppSocket/HP Jetdirect printer using 'socket://:9100' as
>URI. For diskless workstations a similar app socket tool is available by
>default, see the jessie manual how to set up printers attached to LTSP
>clients.

The question now remains: shall we simply ship /etc/cups/client.conf as
package file in debian-edu-config or treat/create-if-not-there that file
with cfengine.


As the file only makes sense along with the instructions, it would IMO
be best to add these to a Printing Know How chapter of the manual and to
avoid shipping/creating the file.


I don't like creating that file from scratch either. We don't know  
with what we will conflict later.


However, deploying systems that cannot print via TJENER right away  
sounds a bit awkward, too, IMHO.


The deeper question are...

Why doesn't CUPS browsing work out of the box?
Why does it require a BrowsePoll entry in cups-browsed.conf (at least  
it does here...)?


Right?

Basically, if cups-browsed is installed, the local cupsd of a Debian  
Edu client should "find" the shared printers on the network.


Maybe we should attempt at getting this fixed?

Mike


--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb


pgpGo80N0jHg5.pgp
Description: Digitale PGP-Signatur


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-15 Thread Wolfgang Schweer
On Thu, Oct 15, 2015 at 08:22:47AM +, Mike Gabriel wrote:
> I don't like creating that file from scratch either. We don't know with what
> we will conflict later.

Right.
 
> However, deploying systems that cannot print via TJENER right away sounds a
> bit awkward, too, IMHO.

Yes.
 
> The deeper question are...
> 
> Why doesn't CUPS browsing work out of the box?

Because libdns-mdns isn't installed. That's what this bug report was all 
about originally (and why I filed it against debian-edu cause it's a 
task problem).

So to fix the printing issue for stretch, this might be the way to go.

As far as jessie is concerned I'm unsure if such a change would be 
acceptable, so I searched for another solution.

Wolfgang



signature.asc
Description: PGP signature


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-15 Thread Mike Gabriel

On  Do 15 Okt 2015 14:46:03 CEST, Giorgio Pioda wrote:


since I run cfengine3 on all the clients for our special purposes,
I've put a "BrowsePoll www:631" line into cups-browsed.conf.
This is also a good conf. in situations like a multicast blocked
network (like my Wifi).

The same could be done via cfengine2 Skole install mechanism

Regards

Giorgio


I have been thinking about this, as well...

Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb


pgp9RT47U_2Zn.pgp
Description: Digitale PGP-Signatur


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-15 Thread Mike Gabriel

Control: reassign -1 debian-edu

Hi Holger, hi Wolfgang,

On  Do 15 Okt 2015 18:32:57 CEST, Holger Levsen wrote:


Hi,

On Donnerstag, 15. Oktober 2015, Wolfgang Schweer wrote:

> Why doesn't CUPS browsing work out of the box?
Because libdns-mdns isn't installed. That's what this bug report was all
about originally (and why I filed it against debian-edu cause it's a
task problem).

So to fix the printing issue for stretch, this might be the way to go.

As far as jessie is concerned I'm unsure if such a change would be
acceptable, so I searched for another solution.


I think adding libdns-mdns to the package depends is an acceptable  
solution to

fix printing in Jessie.


@Holger: Ack,

@Wolfgang: What task shall libdns-mdns be added to in src:debian-edu  
package? education-networked?


Mike

--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb


pgpBjpGgSTnr1.pgp
Description: Digitale PGP-Signatur


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-15 Thread Wolfgang Schweer
On Thu, Oct 15, 2015 at 10:21:34PM +0200, Wolfgang Schweer wrote:
>  
> Maybe desktop-other is better suited; for a stock jessie workstation 
> libdns-mdns 
> is pulled in as a Depends of the desktop task, iirc.
 
s/libdns-mdns/libnss-mdns/

Sorry, I've been mislead by the mail subject. That had been a 
typo in the bugreport and has been corrected afterwards.

Wolfgang



signature.asc
Description: PGP signature


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-15 Thread Wolfgang Schweer
On Thu, Oct 15, 2015 at 07:45:43PM +, Mike Gabriel wrote:
> 
> @Wolfgang: What task shall libdns-mdns be added to in src:debian-edu
> package? education-networked?
 
Maybe desktop-other is better suited; for a stock jessie workstation 
libdns-mdns 
is pulled in as a Depends of the desktop task, iirc.

Also, it would be a good idea if someone else could test before if the 
installation of this package really solves the problem.

Wolfgang



signature.asc
Description: PGP signature


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-15 Thread Holger Levsen
Hi,

On Donnerstag, 15. Oktober 2015, Wolfgang Schweer wrote:
> > Why doesn't CUPS browsing work out of the box?
> Because libdns-mdns isn't installed. That's what this bug report was all
> about originally (and why I filed it against debian-edu cause it's a
> task problem).
> 
> So to fix the printing issue for stretch, this might be the way to go.
> 
> As far as jessie is concerned I'm unsure if such a change would be
> acceptable, so I searched for another solution.

I think adding libdns-mdns to the package depends is an acceptable solution to 
fix printing in Jessie.


cheers,
Holger


signature.asc
Description: This is a digitally signed message part.


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-14 Thread Wolfgang Schweer
On Wed, Oct 14, 2015 at 01:31:04PM +, Mike Gabriel wrote:
> On  Mo 13 Jul 2015 11:07:18 CEST, Wolfgang Schweer wrote:
> >On IRC sunweaver pointed out that the existence of /etc/cups/client.conf
> >would break setting up locally attached printers (via locally running
> >cups). While this is true in general, there's a way to have local
> >printer(s) (attached to real workstations) configured centrally on
> >tjener. To get this working install the package p910nd on the
> >workstation and configure it, see man p910nd. (For a USB printer you
> >would set P910ND_OPTS="-f /dev/usb/lp0" and P910ND_START=1 in
> >/etc/default/p910nd.) Then you can set up this printer on tjener as
> >AppSocket/HP Jetdirect printer using 'socket://:9100' as
> >URI. For diskless workstations a similar app socket tool is available by
> >default, see the jessie manual how to set up printers attached to LTSP
> >clients.
> 
> The question now remains: shall we simply ship /etc/cups/client.conf as
> package file in debian-edu-config or treat/create-if-not-there that file
> with cfengine.

As the file only makes sense along with the instructions, it would IMO 
be best to add these to a Printing Know How chapter of the manual and to 
avoid shipping/creating the file.

Wolfgang



signature.asc
Description: PGP signature


Bug#791995: debian-edu-config: should provide /etc/cups/client.conf to fix network printing on clients (was: debian-edu: task desktop-other should contain libdns-mdns as a Depends to fix printer setup

2015-10-14 Thread Mike Gabriel

Hi Wolfgang, hi all,

I only now saw below instructions. Nice!!!

On  Mo 13 Jul 2015 11:07:18 CEST, Wolfgang Schweer wrote:


On Sun, Jul 12, 2015 at 01:31:01PM +0200, Wolfgang Schweer wrote:

On Sun, Jul 12, 2015 at 12:58:14PM +0200, Wolfgang Schweer wrote:
>
> Sad to tell that it is different on a stock combi server: automatic
> setup isn't available.
>
> But adding /opt/ltsp/i386/etc/cups/client.conf containing one line:
>
> ServerName tjener
>
> is enough to fix it. I don't know why it differs from a manually
> installed LTSP chroot and I don't have the time to figure it out.
>
> About to install a clean jessie workstation. Might be that adding
> /etc/cups/client.conf will be sufficient there as well.

It is.



On IRC sunweaver pointed out that the existence of /etc/cups/client.conf
would break setting up locally attached printers (via locally running
cups). While this is true in general, there's a way to have local
printer(s) (attached to real workstations) configured centrally on
tjener. To get this working install the package p910nd on the
workstation and configure it, see man p910nd. (For a USB printer you
would set P910ND_OPTS="-f /dev/usb/lp0" and P910ND_START=1 in
/etc/default/p910nd.) Then you can set up this printer on tjener as
AppSocket/HP Jetdirect printer using 'socket://:9100' as
URI. For diskless workstations a similar app socket tool is available by
default, see the jessie manual how to set up printers attached to LTSP
clients.

Wolfgang


The question now remains: shall we simply ship /etc/cups/client.conf  
as package file in debian-edu-config or treat/create-if-not-there that  
file with cfengine.


Suggestions welcome.

Mike
--

DAS-NETZWERKTEAM
mike gabriel, herweg 7, 24357 fleckeby
fon: +49 (1520) 1976 148

GnuPG Key ID 0x25771B31
mail: mike.gabr...@das-netzwerkteam.de, http://das-netzwerkteam.de

freeBusy:
https://mail.das-netzwerkteam.de/freebusy/m.gabriel%40das-netzwerkteam.de.xfb


pgpkgaA6PiFj4.pgp
Description: Digitale PGP-Signatur