Re: [gentoo-user] trouble installing cups
On Mon, 16 Sep 2013 21:23:50 -0400, gottl...@nyu.edu wrote: So I reinstalled cups but /etc/cups/cupd.conf was not changed and still has its old date and contents. The merge looks clean (output below) /etc/ is CONFIG_PROTECTed. This part I knew, but would have expected to hear that config files have new versions You would if upgrading. But you are reinstalling the same version so portage assumes you have already dealt with any config updates and don't want to be bothered again. Remember when we had to go through loads of updates over again when revdep-rebuild rebuilt a package with lots of config files. This avoids that behaviour, --noconfmem brings it back. -- Neil Bothwick Biology is the only science in which multiplication means the same thing as division. signature.asc Description: PGP signature
Re: [gentoo-user] trouble installing cups
On Tue, Sep 17 2013, Neil Bothwick wrote: On Mon, 16 Sep 2013 21:23:50 -0400, gottl...@nyu.edu wrote: So I reinstalled cups but /etc/cups/cupd.conf was not changed and still has its old date and contents. The merge looks clean (output below) /etc/ is CONFIG_PROTECTed. This part I knew, but would have expected to hear that config files have new versions You would if upgrading. But you are reinstalling the same version so portage assumes you have already dealt with any config updates and don't want to be bothered again. Remember when we had to go through loads of updates over again when revdep-rebuild rebuilt a package with lots of config files. This avoids that behaviour, --noconfmem brings it back. Understood. Thanks for the explanation. allan
[gentoo-user] trouble installing cups
When I reinstall CUPS /etc/cups/cupsd.conf is *not* updated. Details follow. Cups was behaving badly: the web interface could not be used. The browser would quickly say no process was listening on localhost:631 I compared cupsd.conf to the same file on another working system and noticed the following differences 1. *Many* pairs of lines were missing. The first line of each pair was blank; the second a comment. Presumably this has no effect. 2. The initial block comment was missing. Again no effect. 3. One very influential change Listen localhost:631 was replaced by a second copy of Listen /run/cups/cups.sock When I manually put back localhost:631 the cups web interface again behaved normally. 4. The following block was *added* at the end JobPrivateAccess default JobPrivateValues default MaxLogSize 200 SubscriptionPrivateAccess default SubscriptionPrivateValues default The first, second, fourth, and fifth generated Unknown directive messages in /var/log/cups/error.log So I reinstalled cups but /etc/cups/cupd.conf was not changed and still has its old date and contents. The merge looks clean (output below) I am wondering if there is something wrong with my setup. I have the userpriv feature enabled. Any help would be appreciated. thanks, allan * Messages for package net-print/cups-1.6.3-r2: * Package:net-print/cups-1.6.3-r2 * Repository: gentoo * Maintainer: print...@gentoo.org * USE:X acl amd64 dbus elibc_glibc filters kernel_linux pam python_single_target_python2_7 python_targets_python2_7 ssl threads usb userland_GNU * FEATURES: preserve-libs sandbox userpriv usersandbox * Determining the location of the kernel source code * Found kernel source directory: * /usr/src/linux * Found sources for kernel version: * 3.11.0-gentoo-rcs-1.3 * Applying cups-1.6.0-dont-compress-manpages.patch ... * Applying cups-1.6.0-fix-install-perms.patch ... * Applying cups-1.4.4-nostrip.patch ... * Applying cups-1.5.0-systemd-socket-2.patch ... * Applying cups-1.6.2-statedir.patch ... * Applying cups-1.6.3-colord-profile.patch ... * Running aclocal -I config-scripts ... * Running autoconf ... * LANGS=ca es fr ja ru * LINGUAS= * Skipping make test/check due to ebuild restriction. * Updating icons cache ... * Updating desktop mime database ... Auto-cleaning packages...
Re: [gentoo-user] trouble installing cups
On Mon, 16 Sep 2013 18:28:05 -0400, gottl...@nyu.edu wrote: So I reinstalled cups but /etc/cups/cupd.conf was not changed and still has its old date and contents. The merge looks clean (output below) /etc/ is CONFIG_PROTECTed. Also, portage knows if you are reinstalling the same version of the same package and does not try to update the configs again. To change this, run the emerge with --noconfmem and then run *-update. -- Neil Bothwick IBM: Itty Bitty Mentality signature.asc Description: PGP signature
Re: [gentoo-user] trouble installing cups
On Mon, Sep 16 2013, Neil Bothwick wrote: On Mon, 16 Sep 2013 18:28:05 -0400, gottl...@nyu.edu wrote: So I reinstalled cups but /etc/cups/cupd.conf was not changed and still has its old date and contents. The merge looks clean (output below) /etc/ is CONFIG_PROTECTed. This part I knew, but would have expected to hear that config files have new versions Also, portage knows if you are reinstalling the same version of the same package and does not try to update the configs again. That is what I missed. To change this, run the emerge with --noconfmem and then run *-update. Works perfectly. thanks, allan
Re: [gentoo-user] trouble with CUPS
Because you have the same interface to set up a printer on your, your neighbours' and your 10.000-km-away pen pal. so? Can you explain me the need to not use http for your own config and using it for external configs, while you can have a single configuration app? No I can't explain you. That's the question _I_ ask. m. -- gentoo-user@gentoo.org mailing list __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] trouble with CUPS
maxim wexler wrote: Because you have the same interface to set up a printer on your, your neighbours' and your 10.000-km-away pen pal. so? So you don't have to write two (if you are a developer) or learn to use two (if you are an end user). Can you explain me the need to not use http for your own config and using it for external configs, while you can have a single configuration app? No I can't explain you. That's the question _I_ ask. You were wondering if HTTP was overkill for CUPS configuration. I think that not using HTTP would be really overkill, not the contrary. m. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] trouble with CUPS
On Fri, 20 Jan 2006 08:55:17 -0800 (PST), maxim wexler wrote: And can somebody explain the need to use http to set up a printer on one's own computer? Afterall PC *does* mean personal computer. I'm assuming that localhost:631 is on my own machine. But even so it seems a bit much. Leaving aside all the arguments already presented about it being easier for the developers (they can give you a GUI configuration tool without having to code a GUI) - you don't have to use a browser to configure CUPS, there are other alternatives, such as KDE's printer config tool. -- Neil Bothwick Manual Writer's Creed: Garbage in, gospel out. signature.asc Description: PGP signature
Re: [gentoo-user] trouble with CUPS
On Птн, 2006-01-20 at 08:55 -0800, maxim wexler wrote: According to the Gentoo Printing Guide - Installing the Printer, I'm to go to http://localhost:631 and then click on Administration. Well, there's Do Administrative Tasks, so I clicked on that. The guide says to enter root login and password into the box but the box only asks for username. Just a crazy idea. May be you should change the size of you window? Another possible solution is to use kdeprint. Peter. signature.asc Description: This is a digitally signed message part
[gentoo-user] trouble with CUPS
Hello everybody, According to the Gentoo Printing Guide - Installing the Printer, I'm to go to http://localhost:631 and then click on Administration. Well, there's Do Administrative Tasks, so I clicked on that. The guide says to enter root login and password into the box but the box only asks for username. Whatever, I tried them both. All that happens is that the a new blank box opens and asks me to enter the info again and so on and so on. Yes, cups is emerged and cupsd is started. Anybody else encountered this? An attempt at printing returned this error to the log: ... I [20/Jan/2006:08:18:28 -0700] Listening to 0:631 I [20/Jan/2006:08:18:28 -0700] Loaded configuration file /etc/cups/cupsd.conf I [20/Jan/2006:08:18:28 -0700] Configured for up to 100 clients. I [20/Jan/2006:08:18:28 -0700] Allowing up to 100 client connections per host. I [20/Jan/2006:08:18:28 -0700] Full reload is required. I [20/Jan/2006:08:18:28 -0700] LoadPPDs: Read /etc/cups/ppds.dat, 13 PPDs... I [20/Jan/2006:08:18:28 -0700] LoadPPDs: No new or changed PPDs... I [20/Jan/2006:08:18:28 -0700] Full reload complete. E [20/Jan/2006:08:18:28 -0700] StartListening: Unable to find IP address for ser ver name sarawak - Host name lookup failure (END) The server name I just made up cause the Gentoo install docs suggested I have one. Do I actually have to call it localhost in order for printing to work?! According to cupsd.conf HostNameLookups defaults to 'off'. Am I a victim of anti-dialup discrimination? :-( Oh, the humanity! And can somebody explain the need to use http to set up a printer on one's own computer? Afterall PC *does* mean personal computer. I'm assuming that localhost:631 is on my own machine. But even so it seems a bit much. -mw __ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] trouble with CUPS
Le 20 janvier à 17:55:17 maxim wexler [EMAIL PROTECTED] écrit notamment: | And can somebody explain the need to use http to set | up a printer on one's own computer? Afterall PC | *does* mean personal computer. I'm assuming that | localhost:631 is on my own machine. But even so it | seems a bit much. Well, at least one advantage of the web interface at localhost:631 is that you have documentation there, including doc on how to configure and use cups at the command line, which - I agree - is often more agreable and robust than the web interface. I believe you will solve your problem this way - afraid I have no clues on it now. cheers, -- Jean Magnan de Bornier |Cours Victor Hugo e-mots: jean at bornier.net|13980 Alleins France T 08 70 39 34 03 |P 06 09 17 35 87 -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] trouble with CUPS
And can somebody explain the need to use http to set up a printer on one's own computer? Afterall PC *does* mean personal computer. I'm assuming that localhost:631 is on my own machine. But even so it seems a bit much. Because you have the same interface to set up a printer on your, your neighbours' and your 10.000-km-away pen pal. Can you explain me the need to not use http for your own config and using it for external configs, while you can have a single configuration app? m. -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] trouble with CUPS
On Fri, 20 Jan 2006 20:52:39 +, b.n. wrote: And can somebody explain the need to use http to set up a printer on one's own computer? Afterall PC *does* mean personal computer. I'm assuming that localhost:631 is on my own machine. But even so it seems a bit much. Because you have the same interface to set up a printer on your, your neighbours' and your 10.000-km-away pen pal. And you automatically get GUI and console configuration programs, thanks to links etc. CUPS has to be network-aware, so why not use that for configuration? -- Neil Bothwick Apple I (c) Copyright 1767, Sir Isaac Newton. signature.asc Description: PGP signature
Re: [gentoo-user] trouble with CUPS
I, personally, refuse to use CUPS because I can't get it to do raw text-only printing (ala my Oki Microline 320 Turbo). I use LPRng instead :/ Anyone with different results? On Fri, 2006-01-20 at 23:27 +, Neil Bothwick wrote: On Fri, 20 Jan 2006 20:52:39 +, b.n. wrote: And can somebody explain the need to use http to set up a printer on one's own computer? Afterall PC *does* mean personal computer. I'm assuming that localhost:631 is on my own machine. But even so it seems a bit much. Because you have the same interface to set up a printer on your, your neighbours' and your 10.000-km-away pen pal. And you automatically get GUI and console configuration programs, thanks to links etc. CUPS has to be network-aware, so why not use that for configuration? -- Statux [EMAIL PROTECTED] signature.asc Description: This is a digitally signed message part
Re: [gentoo-user] trouble with CUPS
On Friday 20 January 2006 15:46, Statux wrote: I, personally, refuse to use CUPS because I can't get it to do raw text-only printing (ala my Oki Microline 320 Turbo). I use LPRng instead :/ This is definitely possible with CUPS - just create a queue and select Raw for make and Raw Queue for model. I do it to share an inkjet over Samba so that Windows programs can send ESCP/2 data directly. Or add -l or -oraw to your lpr command line. -- Manuel A. McLure KE6TAW [EMAIL PROTECTED] http://www.mclure.org ...for in Ulthar, according to an ancient and significant law, no man may kill a cat. -- H.P. Lovecraft -- gentoo-user@gentoo.org mailing list