Re: [gentoo-user] Printer
On Thursday, March 1, 2018 2:52:59 PM CET Wols Lists wrote: > On 01/03/18 10:33, Roger Cahn wrote: > > Hi, > > > > For my birthday (!) my children want to offer me a multifunction > > printer, copier. > > > > I ask you for an idea which one they could buy. > > > > For example: Multifonction A3 HP Officejet Pro 7612 > > > > -gentoo amd64 compatible > > > > -inkjet color (4colors) > > > > -ethernet > > I use these people > > https://www.ijtdirect.co.uk/?sct=printerdeals > > As you're in France it shouldn't be a problem, just watch for the > currency conversion. They've been about for years dealing in refurbished > kit, although I think these printers are new. > > All our lasers have been Dell, and there's been minimal problems with > them. Our current one is the Dell 1765 multi-function, which isn't on > the list :-( I think our current printers are the 4th and 5th we've had > from them. > > HPs and Epsons are allegedly linux-friendly. HPs work really well from linux, the hplip-software does all the configuring for you. > One thing to look out for - do you do a lot of scanning? One of the > reasons I like the Dells is that they have what I call "push scanning" - > configure them to connect via Samba, then you can put the original in > the feeder, select "scan" on the front panel, and the scan appears > automagically on the computer. With both HP and Epson, you usually have > to put the document in the scanner, then go to the computer and run the > scan software. A pain in the arse. My current HP one can scan and print directly to/from USB drives. No need for a computer. Newer HP printers can also scan to fileshares, email, just like most other "advanced" units. -- Joost
Re: [gentoo-user] Network printing -- Solved
On Tuesday 06 January 2009 15:39:48 I wrote: > I have a server with two printers connected, set up using the cups Web > page and operating properly. Now I want to send print jobs to them from > my workstation, which is on the same network, and with the same version > of cups: 1.3.9-r1. One of the printers is an HP Deskjet D4260, so I also > have hplip version 2.8.6b installed on both machines. I can connect > either printer to either machine and print locally without any problems. > > However, I cannot get anything to print over the network. If, on the > workstation, I declare the network laser printer and connect to it, all > appears to work until I send a print job to it; the job sits in the lp > queue locally, and when I next look at the status of the printer it > says "Destination printer does not exist!" > > If I try to set up the Deskjet as a remote printer in the local cups > server, I get "Filter "foomatic-rip" for printer "HP_Deskjet_D4260" not > available: No such file or directory". > > I don't know what to try next. Anyone any idea here? Well, I don't know what I did differently, but once again I zapped the server root partition, recovered it from a known good, minimal backup, brought it up to date and set cups up again. Now when I go to a client box and run the KDE printer setup utility, it shows the printers and even allows me to configure them. I don't touch the cups server on the client, other than to point /etc/cups/client.conf to the server. There are still some oddities, but those can wait now. Thanks to all for their help. -- Rgds Peter
Re: [gentoo-user] help with the dreaded mount: RPC: Program not registered
On 9/22/07, Emil Beinroth <[EMAIL PROTECTED]> wrote: > > Hi, > what version of portmap, nfs-utils and baselayout are you running? Have > you tried reinstalling those 3 to make sure the config files and init > scripts are up to date? > > Please post the output of `rc-status -a` and `rpcinfo -p tobey`. They > might be helpful for diagnosing the problem. -> rpcinfo -p tobey program vers proto port 102 tcp111 portmapper 102 udp111 portmapper 1000241 udp 1028 status 1000241 tcp 4656 status > rc-status -a Runlevel: boot alsasound [ started ] bootmisc [ started ] checkfs [ started ] checkroot [ started ] clock [ started ] consolefont [ started ] hostname [ started ] keymaps [ started ] localmount [ started ] modules [ started ] net.lo [ started ] rmnologin [ started ] svscan [ started ] urandom [ started ] Runlevel: default courier-imapd [ started ] cupsd [ started ] dbus [ started ] dhcpd [ stopped ] distccd [ started ] fcron [ started ] fetchmail [ stopped ] local [ stopped ] net.eth0 [ started ] netmount [ started ] nfs [ stopped ] ntp-client [ stopped ] ntpd [ started ] portmap [ started ] postfix [ started ] rsyncd [ started ] samba [ started ] slapd [ stopped ] sshd [ started ] syslog-ng [ started ] xdm [ started ] xinetd [ started ] Runlevel: nonetwork local [ stopped ] Runlevel: single Runlevel: UNASSIGNED acpid [ stopped ] apache2 [ stopped ] atd [ stopped ] bttrack [ stopped ] consolekit [ stopped ] courier-authlib [ started ] courier-imapd-ssl [ stopped ] courier-pop3d [ stopped ] courier-pop3d-ssl [ stopped ] crypto-loop [ stopped ] device-mapper [ stopped ] dhcrelay [ stopped ] dnsextd [ stopped ] gpm [ stopped ] hald [ stopped ] hdparm [ stopped ] hotplug [ stopped ] hplip [ stopped ] mDNSResponderPosix [ stopped ] mdnsd [ stopped ] nfsmount [ stopped ] nscd [ stopped ] numlock [ stopped ] pwcheck [ stopped ] rpc.idmapd [ stopped ] rpc.statd [ started ] saslauthd [ stopped ] slurpd [ stopped ] smartd [ stopped ] svnserve [ stopped ] udev-postmount [ started ] xprint [ stopped ] net-fs/nfs-utils-1.1.0-r1 net-nds/portmap-6.0 sys-apps/baselayout-1.12.9-r2 And I guess you are using nfs3? I really don't know. Where would I look to determine whether I'm using 3 or 4? John
Re: [gentoo-user] portage update problems due to sane-backends
Progress kind of :-/ I set SANE_BACKENDS to hp, and was able to compile the sane-backends package. Two files were changed and flagged via etc-update. The first was /etc/sane.d/dll.conf, which added a bunch of scanners and commented out hpoj. Since hpoj is part of the hplip package, and I have this package installed, I deleted the comment character to enable this dll The second file was /etc/hotplug/usb/libsane.usermap The PSC 750 usb entry was deleted, so I added this back in # Hewlett-Packard PSC-750 libusbscanner 0x0003 0x03f0 0x1411 0x 0x 0x00 0x00 0x00 0x00 0x00 0x00 0x Unfortunately, sane can no longer find my scanner, even after restarting hotplug. Any assistance gratefully received. Thanks Jeff On Friday 16 November 2007 08:33:14 am Jeff Cranmer wrote: > The scanner is an HP PSC-750xi > SANE_BACKENDS is set to hpaio in make.conf. > What should it be set to? > > Jeff > > > On Friday 16 November 2007 04:44:54 am Neil Bothwick wrote: > > > On Thu, 15 Nov 2007 19:36:46 -0500, Jeff Cranmer wrote: > > > > I do not seem to be able to update a lot of my system, because > > > > sane-backends fails to compile. > > > > > > That only stops you updating sane-backends, not the rest of the system. > > > You can skip this and continue a world update with "emerge --resume > > > --skipfirst". > > > > > > > This is the error I get > > > > > > > > make[1]: Entering directory > > > > `/var/tmp/portage/media-gfx/sane-backends-1.0.18-r4/work/sane-backend > > > >s- 1. 0.18/backend' make[1]: *** No rule to make target > > > > `libsane-hpaio.la', needed by `all'. > > > > > > Which scanner do you have? What is SANE_BACKENDS set to in > > > /etc/make.conf? -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Network printing
- Original Message From: Peter Humphrey To: gentoo-user@lists.gentoo.org Sent: Wednesday, January 7, 2009 7:08:12 AM Subject: Re: [gentoo-user] Network printing > > On Tuesday 06 January 2009 18:44:46 BRM wrote: > > 1) Modify '/etc/cups/client.conf' and tell it where the server is. > If I do that, will I lose the ability to connect the printer to the client? Yes - you lose the ability to connect the printer _directly_ to the client. It is instead connected through the server to the client. This is how CUPS is designed. > Surely, cups ought to be able to operate with more than one server, no? > Otherwise, what do all those offices do that have printers connected to > several workstations and share them all around? They setup a print server to handle the printer. Each client then connects to the print server to gain access to the printer. The print server manages each client and ensures all print jobs get completed. In this case, the CUPS server is the "print server", and the CUPS client is what gives the workstations access to the print server by redirecting the printing back-end as appropriate. > > 2) Configure LP: > > - use lpstat to see the available printers > Do you have a reason for preferring these two programs to the cups Web > interface? Yes. lpstat is a LOCAL command that tells you what printers are available to the local system. The CUPS Web interface only tells you what the CUPS _server_ makes available, and lets you manage print jobs for the printer on the _server_ side, not the client side. > On the client, lpstat lists all four: the laser and the deskjet, each > defined both locally and on the server. I see no reports of any problems. It won't give you any problems. But you need to configure the Workstation/client to only use what is provided by the server. That is the purpose to using CUPS - to centrally locate the printer management so that multiple computers can easily and reliably use the printers. > > - use lpoptions to set the default printer > Is it necessary to declare a default printer to cups? I thought I'd let > applications set their own defaults, so that for instance the Deskjet gets > coloured work and the laser gets word-processor output etc. No, it's not necessary. The system will select a default printer on its own, but it might not be the one you want. This lets you set a system wide default. AFAIK, applications can't really set their own default printer. May be there is a way to do so, but typically applications use the system default. Now if you are scripting some of this stuff, then you could certainly tell your scripts which printer to use - but that's different than applications like OpenOffice or GIMP. > > I believe you only need HPLIP on the server side, not the client side. > > But having it there shouldn't do any harm. > It's installed on the client so that I can print locally until I get network > printing working. I assume that cups on the client will communicate via ipp > with cups on the server, whatever printer driver is installed between cups > and the printer. (I believe that the DJ4260 doesn't use the traditional HP > printer control language, so I'm obliged to use hplip.) That's correct. print command (e.g. lp) -> CUPS Client -> IPP -> CUPS Server -> "Drivers" -> Printer >From what I can see in this new thread this year, you just need to do the >couple steps to make your Workstations work as CUPS Clients by configuring it >as a client and then it should work. When I set up my CUPS server it took me the longest to just get the server working with the printer and a test page printed through the CUPS Web interface. Once I had that working, I just setup the CUPS client.conf per the directions, and all my other Linux systems came on-line with the printer immediately without any problems. I haven't really touched the clients since, though I might need to when I get my Epson printer configured on the CUPS server - just haven't gotten to it yet. The Windows clients came almost as easily - though on Windows you also need a driver; and I've had problems with Vista64 and my printer for that one. Win2k, WinXP were no problem at all. HTH, Ben
Re: [gentoo-user] USB printer and new cups
Alex Schuster wrote: Hi there! I want to setup an USB printer. So I http://localhost:631/, and notice that the interface has changed. And when I try to add a printer, the only options for a local printer are SCSI-printer and HAL printing backend. And on the next screen, I have to enter the device URI by hand. How should I know what to enter there? And wasn't there an autodetect feature? Is the new CUPS (1.4.3) generally behaving like this lately, or is something wrong with my setup? The usb use flag is set. lsusb shows the printer as "Bus 001 Device 003: ID 04a9:10a5 Canon, Inc. iP5200". What is a HAL printing backend? Do I have to add some crazy fdi stuff for the printer? CUPS does not even have a hal use flag. Dale, help! Wonko Well I have a HP. I had trouble the other day, read that as the printer was turned off and I didn't know it, so I deleted the printer. That was when I realized it was turned off, so I turned it back on and hplip or something just added the printer without me doing anything. KDE showed a little pop up and it was done and it has printed ever since. This could be habit forming tho. ;-) I like things that "just work". Do you have ppds and dbus USE flag enabled for cups? As far as I know, that is all I enabled for mine. Just for reference, this is my USE flags: USE="X avahi dbus gnutls java jpeg ldap pam perl png ppds python ssl tiff zeroconf -acl -kerberos -php -samba -slp -static -xinetd" The two I mentioned above is the main ones I would guess. Most of mine are global flags. I hope you see something to at least try. Dale :-) :-)
Re: [gentoo-user] Re: emerge --keep-going but it doesn't
walt wrote: On 05/27/2010 02:42 AM, Dale wrote: Hi folks. I'm doing a fresh install onto another hard drive. Just felt like doing a fresh one instead of copying. Anyway, I got most everything installed. I was doing my last set of installs, things like seamonkey, firefox, pigdin, gtkam and all the > other programs I use for this and that. I did copy my old make.conf over from the > old install. I have the --keep-going option in there. Hm. Does it work if you use the --keep-going option on the command line instead of in make.conf? I haven't tried that. Your suggestion made me think of something to look at tho. I checked the logs since it records what is being done and the options. I noticed this: 1274924669: *** emerge --with-bdeps --ask --verbose --buildpkg seamonkey gkrellm hddtemp kbackup k3b tkdvd myspell-en screen uptimed scribus autounmask elogv elogviewer flagedit mirrorselect pfl porthole gimp gtkam hugin alsamixergui avidemux smplayer iftop nettop traceroute wireshark pppconfig wvdial iptables pidgin ntp whois hplip http-replicator googleearth hdparm hwinfo lshw smartmontools dosfstools shake sys-power/nut htop iotop lsof links mozilla-firefox adobe-flash gecko-mediaplayer mesa-progs gkrellm-themes 1274924866: >>> emerge (1 of 137) sys-fs/sysfsutils-2.1.0 to / So, emerge picks up on the others but not that one. I then moved it from one section in make.conf and put it in the other. Now it sees the option. I guess it was in the wrong place. For the record, I had it in FEATURES and moved it to the EMERGE_DEFAULT_OPTS. I guess the last one is where it is supposed to be. I may have copied it to the wrong place since portage would never move things in make.conf. I need better glasses. lol Funny that emerge didn't print a error tho. Thanks for shining a light in the dark tunnel. Dale :-) :-)
[gentoo-user] Re: scanner supported
Philip Webb ca.inter.net> writes: > > Philip Webb wrote: > >> I recently bought an HP 2510 printer-copier-scanner. > >> It prints & copies, but Xsane can't find it as a scanner. > >> I suspect the problem is that Sane-backends doesn't support it : > >> how do I find out whether that is the case ? Sane, hplip and cups, sometimes work together well and sometimes don't even thou devices may be "supported". Testing is the answer. It stubborn cases, I've found it easier to take a singular device, and set it up as if it were multiple devices. For example I had one hp printer that when swithcing between color and bw the software (driver, api?) would get confused and hang the software (driver). So I just set it up as 2 different printers, one bw and one color. Easy, and no issues. > Does anyone have any further comments or suggestions ? Using the internal functions, such as settting the IP address, wireless, routes, dns, folders etc etc on a printer is a security concern that needs vetting, imho. There are very few wireless interfaces that the NSA has not forced the hardware manufactures to add "backdoors" into. Wireless sniffing, what the NSA refers to as "signal intercept", has long been the bread and butter of the NSA, since marconi did his thing. Amatures can easily comprimise most wireless interfaces, so caveat emptor!. Some only set the usb or ip address on a printer and never the wireless, routes or other embedded OS features, as a baseline to establish security. Note, the wireless interfaces can be activated remotely, despite what you set, so isolate most modern printers. Adding those (printer) embedded OS feature-sets, makes it so a rank_amature can comprise your devices, if you are not very careful. Unlike mrsnow, I have no problem with the NSA; but, I think folks should be "aware" (educated?) and make logical decisions based on their security model. hth, merry Christmas, James
Re: [gentoo-user] Uncle: qt-*:4 dependencies/blocks preventing world update
On Sunday 25 October 2009 14:49:29 Alan E. Davis wrote: > I finally was able to emerge -NuDav world, and revdep-rebuild passed the > system as clean. However, when I try emerge -uDav world again, that same > message, or some permutation of it, is presented. > > I have set the flags "dbus qt3support qt3 qt4" and so on. So that's not > it. > > I unmerged a number of the involved packages, that looked something like > "qt-*". I did this just before running the more or less successful "emerge > -NuDav world". A week ago, I ran "emerge -e world". Perhaps I need to do > this again. > > I've read a plethora of postings, such as a sticky post on the Gentoo > Forums, and some of these emails, as well as googling, and tried several > things. > > When this all began, about three weeks ago, or longer, I noticed problems > with > >hplip >python > > I have python 3.1 and python 2.6 installed, Some advice was seen to make > sure eselect is pointing to 2.6. I also ran python-updater. > > A new work week is starting, my system is responding normally, I will avoid > KDE4, and type this all shakes itself out, over the next week or so. > > Thank you to those who have helped. Good luck to others. Did you try the most straightforward (albeit lengthy) approach: unmerge all of Qt emerge world and let portage figure out what it wants to put back There is seldom a good reason to have Qt packages in world (dev packages excepted) and recent changes in the ebuild have caused lots of mutual blockers. When I first went through this, I saw that almost all qt-* packages would be rebuilt on my machines. It seemed easier to restart with a clean slate. I got a blocker notice which said I had to enable various flags, which I did and the merge completed flawlessly. -- alan dot mckinnon at gmail dot com
Re: [gentoo-user] setting a USE flags for many packages
On Sunday 22 March 2009, Alan McKinnon wrote: > On Sunday 22 March 2009 21:53:25 Dale wrote: > > Neil Bothwick wrote: > > > On Sun, 22 Mar 2009 17:43:29 +0100 (CET), Helmut Jarausch wrote: > > >> I normally like to have the documentation built for all packages. > > >> Therefore I have added 'doc' to /etc/make.conf USE > > > > > > Are you aware that the doc USE flag normally controls extra > > > documentation, such as API docs for devs? Normal documentation, like > > > man and info pages, is generally built by default. You're probably > > > better off with -doc in make.conf and only enable it for the packages > > > you need. > > > > This is true. I have had -doc in make.conf for a long time and I > > still have all the man and info pages. I can't say that I have even > > missed anything really. > > Same here. Well, almost. I have USE=doc set for 13 packages thinking at the > time they were extremely useful. In practise the only one I have ever > actually referred to is the html version of the mplayer man page. Go figure > :-) There's no need to set -doc in your make.conf as this is the default: # euse -i doc global use flags (searching: doc) [-] doc - Adds extra documentation (API, Javadoc, etc) local use flags (searching: doc) [-] doc (app-crypt/mit-krb5): Creates and installs the API and implementation documentation. This is only useful if you want to develop software which depends on kerberos. [-] doc (app-misc/beagle): Builds programmer documentation for Beagle using app-doc/monodoc. [-] doc (dev-php5/ZendFramework): Installs the documentation [-] doc (dev-python/wxpython): Install HTML wxWidgets docs and wxpython API reference. [-] doc (media-libs/swfdec): Build documentation [-] doc (net-analyzer/cacti): install html documentation [-] doc (net-print/hplip): Build documentation [-] doc (sys-apps/hal): Generates documentation that describes HAL's fdi format. HTH. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] printing problems
151102 Daniel Frey wrote: > I had so many problems with hplip I stopped using it. I found another way > to use my hp CP1025nw with foomatic and that works trouble-free. > It's a driver for Laserjet printers, it won't work on deskjets AFAIK. > The driver is foo2zjs: http://foo2zjs.rkkda.com/ , wh uses Ghostscript. > I looked and it looks like that won't help you. Yes, they all seem to be for laser printers. I do very little printing, but once or twice a year need to print something, so my cheap little HP DJ 2510 is adequate. The basic problem is now clear : this printer won't print draft quality, but leaves blank bands across the output (no, it's not an old cartridge). Therefore, something has to tell it to print 'high-quality' or 'best'. In Mint, when that is set via the 631 menu, printing works correctly : I can print text files via Gvim (icon or :ha ) & Gedit, .odt via LO & PDF via Evince ; Gedit & Evince have their own quality settings. In Gentoo, the 631 setting has no effect, so all printing is draft. Only Kwrite has its own quality setting, which does work properly for text. In addition, the icon doesn't work in Gvim, tho' :ha does. So for everyday purposes, I can print anything by rebooting into Mint. However, I'm not happy that there's a bug (or more) of some sort in Gentoo. I'm not at all sure where it could be or how to report it. It cb caused by the difference in desktops, Xfce on Mint, Fluxbox on Gentoo : perhaps the bigger desktop managers do the job themselves, whereas something else needs fixing with the lightweight Fluxbox. Further comments mb useful to everyone. PS thankyou to Dale, whose general experience is similar to my own. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] printing problems
On Tuesday 03 Nov 2015 18:33:58 Philip Webb wrote: > 151102 Daniel Frey wrote: > > I had so many problems with hplip I stopped using it. I found another > > way to use my hp CP1025nw with foomatic and that works trouble-free. > > It's a driver for Laserjet printers, it won't work on deskjets AFAIK. > > The driver is foo2zjs: http://foo2zjs.rkkda.com/ , wh uses Ghostscript. > > I looked and it looks like that won't help you. > > Yes, they all seem to be for laser printers. I do very little printing, > but once or twice a year need to print something, > so my cheap little HP DJ 2510 is adequate. > > The basic problem is now clear : this printer won't print draft quality, > but leaves blank bands across the output (no, it's not an old cartridge). > Therefore, something has to tell it to print 'high-quality' or 'best'. > > In Mint, when that is set via the 631 menu, printing works correctly : > I can print text files via Gvim (icon or :ha ) & Gedit, .odt via LO > & PDF via Evince ; Gedit & Evince have their own quality settings. > > In Gentoo, the 631 setting has no effect, so all printing is draft. > Only Kwrite has its own quality setting, which does work properly for text. > In addition, the icon doesn't work in Gvim, tho' :ha does. > > So for everyday purposes, I can print anything by rebooting into Mint. > However, I'm not happy that there's a bug (or more) of some sort in Gentoo. > I'm not at all sure where it could be or how to report it. > It cb caused by the difference in desktops, Xfce on Mint, Fluxbox on Gentoo > : perhaps the bigger desktop managers do the job themselves, > whereas something else needs fixing with the lightweight Fluxbox. > > Further comments mb useful to everyone. > > PS thankyou to Dale, whose general experience is similar to my own. Is your gentoo user a member of lp & lpadmin group? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] portage summary logs not rotated any more
On Saturday 04 Apr 2015 20:35:31 Alexander Kapshuk wrote: > My portage summary logs don't seem to be rotated any more. > > ls -lt `pwd`/summary.log* > -rw-rw-r-- 1 portage portage 96581 Apr 3 19:47 > /var/log/portage/elog/summary.log > -rw-rw-r-- 1 portage portage 5927 Jan 10 07:50 > /var/log/portage/elog/summary.log-20150112 > -rw-rw-r-- 1 portage portage 2281 Jan 4 21:14 > /var/log/portage/elog/summary.log-20150104.gz > -rw-rw-r-- 1 portage portage 565 Dec 26 20:53 > /var/log/portage/elog/summary.log-20141228.gz > -rw-rw-r-- 1 portage portage 1842 Dec 22 17:52 > /var/log/portage/elog/summary.log-20141222.gz > > grep Messages summary.log | sed '1h;$!d;x;G;q' > > >>> Messages generated by process 3399 on 2015-01-13 17:47:47 EET for > > package dev-python/reportlab-3.1.8-r2: > >>> Messages generated by process 4080 on 2015-04-03 19:47:54 EEST for > > package net-print/hplip-3.14.1: > > grep Messages summary.log-20150112 | sed '1h;$!d;x;G;q' > > >>> Messages generated by process 2637 on 2015-01-04 22:02:00 EET for > > package app-office/libreoffice-4.2.8.2: > >>> Messages generated by process 3483 on 2015-01-10 07:50:04 EET for > > package dev-libs/openssl-1.0.1k: > > cat /etc/logrotate.d/elog-save-summary > # Copyright 1999-2011 Gentoo Foundation > # Distributed under the terms of the GNU General Public License v2 > # Rotate the log created by the save_summary elog module. > > /var/log/portage/elog/summary.log { > su portage portage > missingok > nocreate > delaycompress > } > > /etc/logrotate.conf:6,8 > # rotate log files weekly. > weekly > #daily > > What could be wrong here? Or am I misreading something? > > Thanks. Is your logrotate running regularly as expected? What do you get when from: grep logrotate /var/log/cron.log -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Re: Printer margins
On 07/06/2015 06:40 PM, walt wrote: > On Mon, 06 Jul 2015 19:41:07 -0500 > Dale wrote: > >> walt wrote: >>> On Mon, 06 Jul 2015 16:01:44 -0500 >>> Dale wrote: >>> >>>> Howdy, >>>> >>>> I finally got around to ordering some ink cartridges. Now I want >>>> to do some printing. Thing is, it tries to print ALL the way to >>>> the bottom which ends up blurred and unreadable. I've looked in >>>> Seamonkey settings, nothing. I've looked in Hplip, nothing >>>> there. I've even looked in cups, well, nothing that makes sense. >>>> I don't like the new cups interface. >>> cups, bah! Every time cups is updated my printer 'breaks'. From >>> painful years of experience I now know to 'delete' whatever >>> printer/fax devices cups knows about and use hp-setup (not cups) to >>> recreate them. >>> >>> By 'delete' I'm referring to the cups interface I access by visiting >>> localhost:631 in a web browser. Is that the cups interface you're >>> using? >>> >>> >> >> It used to do the same with me but that stopped a long time ago. > > Dale, did you try it *this* time? If not, please try the > same-ole-same-ole tired remedy just one more time. The price is > right :) > > Have you tried lpadmin? I seem to recall my old printer I had this problem and was able to use: `lpadmin -o page-bottom-default=36 -o page-top-default=36` That set a system-wide default. IIRC it's set by dpi, but it's been a while. Might have to experiment to see if it still works. To see options you can use `lpoptions -l` My new printer uses foomatic drivers and it works properly without messing around with options to set the margins. If that doesn't help then I don't have a clue... There should be man pages for both lpadmin and lpoptions. Dan
Re: [gentoo-user] where is libnetsnmp-devel? (needed for hplip)
On Thursday 21 June 2007 19:40:23 Allan Gottlieb wrote: > Which package contains libnetsnmp-devel? $eix -c snmp [...] [I] net-analyzer/net-snmp ([EMAIL PROTECTED]/28/2006): Software for generating and retrieving SNMP data [...] Probably that one, but that's just a guess. Gentoo doesn't separate packages into -devel versions -- you get all the development stuff as part of the base package (since it's usually required to compile, as Gentoo does, pacakges that depend on it). There isn't a "libnetsnmp" package in gentoo, nor a "netsnmp" package in any of the *-libs categories. Naming something "netsnmp" seems a bit redundant to me anyway, I'm fairly sure the "N" of "sNmp" stands for "network", so I just searched for snmp. 14 hits. 1 is in a *-libs category, but the short description says it's specifically for KDE, not what you are looking for I think. 1 (other) has "lib" in the name of the package, but it's specifically for ruby, again, I was fairly sure that wasn't what you were looking for. Also, other distros generally but ruby in the package name of ruby libraries. Down to 12 packages. I threw out packages in dev-perl and perl-python, again, because of other distros naming practices. 1 package was in sec-policy which is definitely not the place for a lib. 1 package was a plugin for something else, so I decided that was also probably not what you want. Down to 4 packages. At that point, I decided the most likely package was net-snmp because of the name. bsnmp says it's a library (whereas net-snmp doesn't) so that would probably be a good second choice. snmpmon (a "tool") and snmptt could also ship that library, but that's probably a stretch. -- Boyd Stephen Smith Jr. ,= ,-_-. =. [EMAIL PROTECTED] ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.org/ \_/ signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] chicken <--> egg (NFS & tty video)
On 5/14/2011 12:01 PM, Indi wrote: On Sat, May 14, 2011 at 05:53:56PM +0200, Alan McKinnon wrote: Apparently, though unproven, at 16:37 on Saturday 14 May 2011, Indi did opine thusly: True, just be aware that if you enable gtk *globally* you will end up building the gtk interface for absolutely everything which has that option. Far better (IMO, YMMV) is to use /etc/portage/package.use specify such things per package. Unless, of course, you like having a gtk GUI for everything. :) No, it is much better to enable such a flag globally and *disable* it using package.use where you do *not* want it. Personally, I have better things to do than examine every new or changed package that shows up after avuND world and edit package.us for every single flag in that huge list. Sounds like the old "6 of one, a half-dozen of the other" to me... What makes the subtractive method better? Actually its more like the old "use whichever way makes sense for the situation." :) Its mostly a matter of probability. If I'm using a GNOME desktop then I probably *do* want the GTK+ for any packages that support it; the same argument goes for KDE and Qt. Similarly, if my system is on a Windows AD domain, I probably want samba, ldap, and kerberos support for any utilities that have it. If I'm using bash completion packages, I don't want to worry about which packages do/don't have one, I just want them installed. These type of flags have essentially the same effect on every package, and as Alan said, there's no need to waste time checking if each package does or doesn't support GTK individually if you're always going to enable it anyway. OTOH, I probably don't want to set a USE flag like 'extras' or 'doc' globally. In those cases I'll turn it on when needed. Similarly, USE flags that only applies to one package (like "net-print/hplip snmp scanner hpcups new-hpcups hpijs") don't make sense globally, so they are best left to package.use. --Mike
Re: [gentoo-user] copy-paste no longer works with (g)vim + OpenOffice
100217 Willie Wong wrote: > On Wed, Feb 17, 2010 at 06:42:40AM -0500, Philip Webb wrote: >>> Which copy+paste? high-light with mouse and middle click to paste? >> Yes: are there other methods ? -- it also doesn't work >> if I high-light with 'v' & the (left-)arrow key(s). > In Gnome you can high-light with mouse, right click, hit copy > and go to another window, right click, and hit paste. I didn't know that one (smile), but only the 1st half works here; when I R-click in the OO file, there's no 'paste' option & using the 'paste' button on the toolbar gives "Requested clipboard format is not available". > Is visual mode even suppose to work for this purpose? > I don't think hitting 'v' and moving left and right > is supposed to dump the selected sections into the copy-paste buffer. I don't know what it's "supposed" to do, but till last Sunday it had been regularly doing a paste into OO after a copy w mouse or 'v'. I didn't update anything else at the same time which seems relevant: Gzip Java-config Pykde Hplip Gnuconfig Psmisc (that's why I mentioned Poppler, which I updated the previous week). >>> Can you copy and paste from (g)vim to another Konsole? >> Yes, no problem. >>> To any other application? >> Yes, to Leafpad, Kwrite, (Xfce) Terminal & Xterm. > So basically the problem is OO then. No ! -- there was no change to OO last weekend, only to (G)vim ! > Can you copy and paste from other applications to OO? Yes, at least from Konsole Terminal Leafpad: I mentioned the Most+Konsole workaround in my OP. > Perhaps it is a problem with encodings? I haven't changed those for a long time, certainly not last weekend. > HTH I'm certainly v grateful for your suggestions, but they don't get anywhere. I assume you don't use both Gvim & OO (7.2.303 & 3.1.1) or you could test it for yourself: can anyone else test this ? Does anyone else have useful thoughts ? If not, it looks like a bug to report. -- ,, SUPPORT ___//___, Philip Webb ELECTRIC /] [] [] [] [] []| Cities Centre, University of Toronto TRANSIT`-O--O---' purslowatchassdotutorontodotca
Re: [gentoo-user] Re: Picking out a printer. Questions.
On Mon, Apr 22, 2019 at 09:54:21AM -0500, Dale wrote: > The biggest reason I wanted laser is the cost of ink. The second > reason, longevity of the ink once it is on paper. From my > understanding, once the toner is set on the paper, water won't make it > come off like it does on a lot of inkjets, I think a few inkjets have > special ink that doesn't but never seen one. Well, I read a short while ago in a printer review of a computer magazine, that ink may actually be better in the long-term, because the ink is infused into the paper matrix (as a character on Star Trek would say). Whereas laser toner is only put on the surface on the paper an could be scratched off mechanically. You would need lasting pigments of course, not of the kind that fades with time or exposure to light. FWIW, I have an HP LaserJet 1000, bought around 2004. It has been acting up lately, not always getting recognised on USB. The data cable is actually a centronics one with built-in USB convertor. And I don’t really like hplip, b/c it’s an extra piece of software that needs to run and it ALWAYS wants to re-download the binary firmware blob from the internet whenever I connect the printer. Otherwise it wouldn’t print. Back when foo2zjs was still a common Gentoo way of printing, this was never an issue. OTOH, the printer is still on the cartridge it originally came with, albeit almost empty now. Probably, back then, those cartridges weren’t as empty as today’s starter cartridges. What’s the deal with this, anyway. FWIF2, even though the die is cast and the printer for this thread is purchased, I am also considering a Brother machine. I heard good stories of their Linux support. I would also tend towards a network-enabled one with postscript support. -- Gruß | Greetings | Qapla’ Please do not share anything from, with or about me on any social network. “There’s no power in the ’verse can stop me.” – Kaylee & River, Firefly signature.asc Description: PGP signature
Re: [gentoo-user] Possible heads up: Digest verification failed
On Sat, Oct 29, 2016 at 6:20 PM, Andrew Lowe wrote: > On 29/10/16 14:53, Daniel Campbell wrote: > >> On 10/28/2016 09:56 PM, Andrew Lowe wrote: >> >>> Hi all, >>> Anyone seeing this again? I've just sync'd to two servers in >>> Australia, and then, for the hell of it, one in Canada and am getting it >>> for: >>> >>> dev-libs/botan >>> app-arch/tar >>> media-video/libav >>> app-crypt/qca >>> net-print/cups-filters >>> >>> I suppose time will sort it out. >>> >>> Andrew >>> >>> This shouldn't happen unless the distfiles aren't found, or someone (a >> dev) didn't use repoman to commit, leaving an old Manifest around. >> >> Which servers in question? Have you popped in IRC to ask about it? I'm >> not involved with our mirrors, and I sync directly from git, so I can't >> really help on that front, but it seems to me that it's a simple >> oversight that is sure to be fixed once someone knows about it. >> >> > Servers: Swinburne, I use this one too. Emerge world gave me; !!! Digest verification failed: !!! /fast/portage/sys-kernel/gentoo-sources/ChangeLog !!! Reason: Filesize does not match recorded size !!! Got: 66345 !!! Expected: 66162 !!! Digest verification failed: !!! /fast/portage/net-print/hplip/ChangeLog !!! Reason: Filesize does not match recorded size !!! Got: 8466 !!! Expected: 8315 And the rsync output shows many/all the ChangeLog and Manifest files were just updated net-mail/Freemail/ChangeLog net-mail/altermime/ChangeLog net-mail/altermime/Manifest net-mail/amavis-logwatch/ChangeLog net-mail/amavis-logwatch/Manifest net-mail/archivemail/ChangeLog net-mail/archivemail/Manifest net-mail/asmail/ChangeLog net-mail/asmail/Manifest net-mail/automx/ChangeLog net-mail/automx/Manifest net-mail/autorespond/ChangeLog net-mail/autorespond/Manifest net-mail/bincimap/ChangeLog net-mail/bincimap/Manifest net-mail/checkpassword-pam/ChangeLog net-mail/checkpassword-pam/Manifest net-mail/checkpassword/ChangeLog net-mail/checkpassword/Manifest net-mail/cmd5checkpw/ChangeLog net-mail/cmd5checkpw/Manifest net-mail/courier-imap/ChangeLog net-mail/courier-imap/Manifest net-mail/courierpassd/ChangeLog net-mail/courierpassd/Manifest net-mail/cyrus-imap-admin/ChangeLog net-mail/cyrus-imap-admin/Manifest
Re: [gentoo-user] Re: The hopeless futility of printing.
Grant Edwards wrote: > On 2024-01-29, Michael wrote: >> On Monday, 29 January 2024 18:19:19 GMT Alan Grimes wrote: >> >>> It's a LaserJet Pro M453-4. >> You shouldn't need hplip drivers and what not, IPP Everywhere ought to allow >> driverless CUPS to allow you to print: >> >> https://www.pwg.org/printers/ > Does anybody have any experience with using IPP everywhere for > driverless printing with a USB attached printer? (e.g. LasterJet > 1320)? > > Yea, I know, it works as is with the PCL driver, so don't futz with it... > > -- > Grant Some may recall me buying a Lexmark C2325DW laser printer a few years ago. I use the IPP to setup my printer, over wireless I might add, and it works fine. I've printed text, images and combinations of both just fine. It always looks great. I do this within CUPS. This is what it shows when when I pull up the printer info. Description: Lexmark-2325 Driver: Lexmark C2300 Series (color, 2-sided printing) Connection: ipp://10.0.0.3/ Defaults: job-sheets=none, none media=na_letter_8.5x11in sides=two-sided-long-edge I set this up ages ago. I went online and found the .ppd file. During the setup, I just pointed it to the file. So far, this has worked well. On occasion, when CUPS updates, I have to set it up again. Usually, I delete the thing and just start over if it fails to print. After that, it works for a good long while, even tho I don't print as much as I used to. Those toner cartridges that claim 3,000 pages are just wishing. Most stuff I print are regular text. Sometimes a black and white circuit diagram. Still, if I get 1,000 pages or more, I'm doing good. I don't think I've ever got 2,000 pages from one. All that said, the printer is a OK printer. I might add, using IPP was the only way I could get it to work. None of the other options worked. Could be me tho. Y'all know how I am. :/ ROFL Hope that helps. Dale :-) :-)
Re: [gentoo-user] Re: CUPS: Need help setting up my parallel port printer [SOLVED, but new problem now]
On Fri, 2008-03-07 at 14:17 -0600, Michael Sullivan wrote: > On Fri, 2008-03-07 at 12:25 -0600, Michael Sullivan wrote: > > We got a new printer today. It's the same model as our old printer, so it > > should work, right? I followed the Gentoo Printing Guide up to the point > > where one sets up the printer in the CUPS administrative interface. It > > does not offer me a parallel port choice for the device. My kernel is > > built with parallel port support and I have modprobed parport and > > parport_pc: > > > > catherine ~ # lsmod | grep parport > > parport_pc 32868 0 > > parport26696 1 parport_pc > > > > And dmseg is aware of the printer: > > > > catherine ~ # dmesg | grep -i print > > parport0: Printer, EPSON Stylus C88 > > > > But on the CUPS interface, I can choose from > > > > AppSocket/HPJetDirect > > Backend Error Handler > > HP Printer (HPLIP) > > Internet Printing Protocol (http) > > Internet Printing Protocol (ipp) > > LPD/LPR Host or Printer > > SCSI Printer > > Serial Port #1 > > > > but no parallel port. It used to be on there. How can I get it back, or > > is parallel port called something else now? > > > > > > I didn't have parallel printer character support compiled into the > kernel. It works now, but how do I print from a remote computer? I've > set up the security on the host that has the printer hooked up to it, > but how do I configure remote hosts running Linux so that they know > about it? > Maybe I should mention that I'm using gnome: camille ~ # emerge -pv gnome These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] gnome-base/gnome-2.20.3 USE="cdr cups dvdr -accessibility -esd -ldap -mono" 0 kB I did find the Main Menu->System->Preferences->Printers and it detects my printer, but it asks me to put in make and model information even when I select the printer (which is already set up.) and I don't see the model of my printer listed. It's an Epson Stylus C88. Is that called something else in the printers interface? -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] xdm login problems after recent emerge
Happy New Year to all! I find my self in a bit of a pickle after a recent emerge. When I enter my username+passwd at the xdm login screen it sort of tries to load up fluxbox, but within a second or so it returns to the login screen. I can't see anything worth mentioning in the logs. I have downgraded baselayout, sysvinit and freetype but the problem remains. Any ideas? These are the packages emerged recently: Mon Dec 31 18:38:51 2007 >>> sys-devel/gcc-config-1.4.0-r4 Mon Dec 31 18:41:08 2007 >>> dev-lang/spidermonkey-1.7.0 Mon Dec 31 18:52:59 2007 >>> sys-libs/ncurses-5.6-r2 Mon Dec 31 18:53:58 2007 >>> sys-kernel/linux-headers-2.6.23-r3 Mon Dec 31 18:57:40 2007 >>> app-shells/bash-3.2_p17-r1 Mon Dec 31 18:58:09 2007 >>> sys-apps/sysvinit-2.86-r10 Mon Dec 31 19:01:55 2007 >>> dev-libs/libcdio-0.78.2-r2 Mon Dec 31 19:03:17 2007 >>> dev-lang/yasm-0.6.2 Mon Dec 31 19:04:03 2007 >>> sys-apps/less-416 Mon Dec 31 19:06:50 2007 >>> media-libs/freetype-2.3.5-r2 Mon Dec 31 19:08:01 2007 >>> media-libs/x264-svn-20070924 Mon Dec 31 19:09:43 2007 >>> media-libs/giflib-4.1.6 Mon Dec 31 19:10:27 2007 >>> app-crypt/johntheripper-1.7.2-r3 Mon Dec 31 19:11:28 2007 >>> dev-python/imaging-1.1.5 Mon Dec 31 19:11:55 2007 >>> sys-apps/baselayout-1.12.10-r5 Mon Dec 31 19:12:53 2007 >>> app-crypt/dirmngr-1.0.1 Mon Dec 31 19:30:13 2007 >>> media-video/mplayer-1.0_rc2 Mon Dec 31 19:35:16 2007 >>> net-print/hplip-2.7.10 Mon Dec 31 19:40:40 2007 >>> dev-lang/ruby-1.8.6_p111 I don't have a problem login in at the console, so this must be xdm/Xorg related I guess. As this is the laptop that I take to work and my holidays end today all suggestions are welcomed! :) -- Regards, Mick -- [EMAIL PROTECTED] mailing list
Re: [gentoo-user] Picking out a printer. Questions.
On Sat, Apr 20, 2019 at 7:59 PM Dale wrote: > Manuel McLure wrote: > > On Sat, Apr 20, 2019 at 7:12 PM Dale wrote: > >> Howdy, >> >> I'm looking at printers. ... This is the model. >> Brother HL-L3270CDW >> > > Looking at the specs for that Brother printer (I don't know why you linked > to the openprinting.org page for a Lexmark printer) it seems to have the > most important aspect for Linux compatibility - PCL6 emulation (PostScript > would also work, but you want to avoid anything that doesn't have one of > those two). It also has normal port 9100 network connectivity, so it should > work just fine under Linux for B/W. I can't find anything in the > Openprinting database for that specific Brother printer, some of the other > entries for Brother printers say you need a proprietary driver to get color > out of them. The entry for the *HL-3170* says it works perfectly but gives > no details. So I'd be a little wary going in. > > As for duty cycle, 30,000 pages/month is the same that my old > built-like-a-tank HP Laserjet 4Mp had, so I wouldn't worry about it. Note > that the printer is going to come with "starter cartridges" that are only > good for about 1000 pages, and that the drum is also a consumable that > needs replacing after 18,000 pages. But 18,000 pages is a lot. > -- > Manuel A. McLure WW1FA <http://www.mclure.org> > ...for in Ulthar, according to an ancient and significant law, > no man may kill a cat. -- H.P. Lovecraft > > > > I think I linked to the wrong page. I was looking up a lot of printers > and must have got it mixed up. Makes me wonder if I picked the wrong > printer too. LOL You are correct tho, it isn't listed. Time to find > another printer. > > Knowing about the PCL6 part will help. I didn't know that would be > important. Also, I'd rather have one that I can install with CUPS and its > drivers or HPLIP. It's been a while since I've had a printer and switching > to laser is something that is new territory as well. > > Question. I see some that are regular laser printers. Then I see some > that are laser jet. Looking up the cartridges it seems to use toner. > Another reason I want toner based is that if a page gets wet or damp, the > toner doesn't run like most ink jet printers do. Am I correct that a laser > or a laser jet would serve that purpose the same? It seems it just uses a > different method to put the toner on the page or something. I googled and > what little I found sort of makes me think that would be fine. > > I'm open to ideas on this. I've always bought HP in the past but as long > as it prints fine with either HPLIP or CUPS, I'm fine with it. Brother > would be fine, Lexmark to if it works. I know some printers are more Linux > friendly than others. I honestly wish I could find a used printer locally > but not sure how to do that around here. > > Thanks much for the info. Me makes note to check that PCL6 in the > future. ;-) > > Don't worry about laser vs. Laserjet. "Laserjet" is just HP's name for their laser printer line. So all HP laser printers are called "Laserjet" but they're just the same as any other laser printer. There are actually two ways a "laser" printer can create an image: it can use a laser (duh) or it can use an array of very small LEDs (mostly Okidata printers). From a user's perspective, they're both the same. The important bit is that they project that light onto a photosensitive drum that picks up toner particles and transfers them to paper, where they get heated and fused into the paper fibers. This is much the same way photocopiers used to work (nowadays most photocopiers are just a scanner attached to a laser printer). The important bit is the language the printer speaks. There are two main languages spoken by laser printers: PCL and PostScript. Both are technically proprietary (PCL is from HP, PostScript is from Adobe) but there are a lot of printers that emulate these languages. You want to run far and fast from any printer that supports neither of these languages - those are generally known as Winprinters and require special drivers. PostScript is the more "UNIX-compatible" of the two - many programs on UNIX/Linux will generate PostScript and pass that to CUPS. If the printer supports PostScript, CUPS can pass the print file straight to the printer, otherwise it needs to use Ghostscript to convert the Postscript input into whatever the destination printer supports. Because so many laser printers either include true PCL (i.e. HP printers) or emulate PCL (like that Brother) the support for PCL in CUPS is very good. However, I have only used G
Re: [gentoo-user] Re: Optional /usr merge in Gentoo
J. Roeleveld wrote: > On Mon, August 19, 2013 12:55, Neil Bothwick wrote: >> On Mon, 19 Aug 2013 11:17:06 +0100, Stroller wrote: >> >>>Here's a short, very in-comprehensive list of software we are aware >>> of that currently are not able to provide the full set of functionality >>> when /usr is split off and not pre-mounted at boot: >>> udev-pci-db/udev-usb-db and all rules depending on this (using the >>> PCI/USB database in /usr/share), PulseAudio, NetworkManager, >>> ModemManager, udisks, libatasmart, usb_modeswitch, gnome-color-manager, >>> usbmuxd, ALSA, D-Bus, CUPS, Plymouth, LVM, hplip, multipath, Argyll, >>> VMWare, the locale logic of most programs and a lot of other stuff. [1] >> How much of that is needed before the contents of /etc/fstab are >> mounted? I certainly don't need to run a desktop, used a 3G modem, play >> sounds or load a virtual machine before then. Yes, LVM may be needed, but >> the needed parts are in /sbin anyway, so that is a red herring too. > It is a red herring. > I currently use an initramfs, but that is because I decided to put "/" on > LVM as well. > When I had "/" as a normal partition and /usr on LVM, there were no issues > with booting. Currently, with the initramfs, I get errors about / and /usr > not being able to umount during shutdown. > > -- > Joost > > > I to have / on a traditional partition, ext4, and /boot on a small ext2 partition. Everything else is on LVM. I don't want a init thingy either. I had nightmares with that thing when I used Mandrake years ago. I can't recall the name of that thing that left me with no keyboard/mouse but I still remember that init thingy. Dang, what was that thing that did that? Anyway, as bad a taste as that other thing left, the init thingy is even worse. I still remember the init thingy 10 YEARS later. The other thing was a few years ago. I bet Alan remembers. I was plenty pissed. That is likely the most pissed I ever been on this list. If that guy had been in front of me, I'd be in jail. I got to many trees around here. O-o Dale :-) :-) -- I am only responsible for what I said ... Not for what you understood or how you interpreted my words!
Re: [gentoo-user] Beta test Gentoo with mdev instead of udev; version 5 - failure :-(
On March 13, 2012 at 4:27 PM "Canek Peláez Valdés" wrote: > > "Fringe" programs will not require udev, or it will be optional; but > the moment a "fringe" program reaches critical mass to become > "maistream", the probability of it needing udev (directly or > indirectly) will increase. > > I'm willing to bet a beer on that prediction. > > Regards. > -- > Canek Peláez Valdés It _sounds_ like your definition of a "fringe" program is one that does not need udev; but when it becomes "mainstream" it will need udev. If not, you write us the definition of a "fringe" program and a "mainstream" program. Excuse me, but that's just incredibly _arrogant_! I wasn't getting into this ridiculous discussion, but your irresponsible ranting... Yes, I dedicate my "Linux life" to killing FUD, and that post of yours is FUD! I'm from the South, where FUD is colloquially called bull. <:-)} Below are some "mainstream" programs that my every computer on the LAN in my computer business uses _every_ day which don't require udev: x11-terms/rxvt-unicode app-editors/vim net-misc/dhcpcd ... The more I think about your arrogance, the more ticked off I get! Here's the very few packages on my workstation that _do_ require udev: mingdao@workstation ~ $ equery depends udev * These packages depend on udev: media-libs/libcanberra-0.28-r5 (udev ? >=sys-fs/udev-160) media-libs/mesa-7.11.2 (gbm ? sys-fs/udev) media-video/vlc-1.1.13 (udev ? >=sys-fs/udev-142) net-print/hplip-3.11.10 (acl ? >=sys-fs/udev-171[acl]) (acl ? >=sys-fs/udev-145[extras]) (kernel_linux ? >=sys-fs/udev-114) sys-fs/lvm2-2.02.88 (>=sys-fs/udev-151-r4) virtual/dev-manager-0 (sys-fs/udev) x11-base/xorg-server-1.11.2-r2 (udev ? >=sys-fs/udev-150) x11-libs/cairo-1.10.2-r1 (drm ? >=sys-fs/udev-136) x11-libs/libva-1.0.15 (video_cards_dummy ? sys-fs/udev) Perhaps it would be ridiculously easy to get rid of udev on this box. But, that's not the point I'm making here. It's not so much that udev is evil, to me; but that requiring an initrd is stupid. And, it's not so much udev vs. mdev or whatever, but that your attitude _STINKS_! Geez... -- Happy Penguin Computers>`) 126 Fenco Drive( \ Tupelo, MS 38801^^ 662-269-2706; 662-491-8613 support at happypenguincomputers dot com http://www.happypenguincomputers.com
Re: [gentoo-user] portage summary logs not rotated any more
On Sun, Apr 5, 2015 at 1:18 AM, Mick wrote: > On Saturday 04 Apr 2015 20:35:31 Alexander Kapshuk wrote: > > My portage summary logs don't seem to be rotated any more. > > > > ls -lt `pwd`/summary.log* > > -rw-rw-r-- 1 portage portage 96581 Apr 3 19:47 > > /var/log/portage/elog/summary.log > > -rw-rw-r-- 1 portage portage 5927 Jan 10 07:50 > > /var/log/portage/elog/summary.log-20150112 > > -rw-rw-r-- 1 portage portage 2281 Jan 4 21:14 > > /var/log/portage/elog/summary.log-20150104.gz > > -rw-rw-r-- 1 portage portage 565 Dec 26 20:53 > > /var/log/portage/elog/summary.log-20141228.gz > > -rw-rw-r-- 1 portage portage 1842 Dec 22 17:52 > > /var/log/portage/elog/summary.log-20141222.gz > > > > grep Messages summary.log | sed '1h;$!d;x;G;q' > > > > >>> Messages generated by process 3399 on 2015-01-13 17:47:47 EET for > > > > package dev-python/reportlab-3.1.8-r2: > > >>> Messages generated by process 4080 on 2015-04-03 19:47:54 EEST for > > > > package net-print/hplip-3.14.1: > > > > grep Messages summary.log-20150112 | sed '1h;$!d;x;G;q' > > > > >>> Messages generated by process 2637 on 2015-01-04 22:02:00 EET for > > > > package app-office/libreoffice-4.2.8.2: > > >>> Messages generated by process 3483 on 2015-01-10 07:50:04 EET for > > > > package dev-libs/openssl-1.0.1k: > > > > cat /etc/logrotate.d/elog-save-summary > > # Copyright 1999-2011 Gentoo Foundation > > # Distributed under the terms of the GNU General Public License v2 > > # Rotate the log created by the save_summary elog module. > > > > /var/log/portage/elog/summary.log { > > su portage portage > > missingok > > nocreate > > delaycompress > > } > > > > /etc/logrotate.conf:6,8 > > # rotate log files weekly. > > weekly > > #daily > > > > What could be wrong here? Or am I misreading something? > > > > Thanks. > > Is your logrotate running regularly as expected? What do you get when > from: > > grep logrotate /var/log/cron.log > > -- > Regards, > Mick > Thanks for your response. I'm afraid I don't have the cron logging set up. I should probably go ahead and do it, shouldn't I? grep logrotate /var/log/cron.log grep: /var/log/cron.log: No such file or directory The cron daemon is running though. ps auxwww|grep '[c]ron' root 2418 0.0 0.1 5464 1868 ?Ss 08:33 0:00 /usr/sbin/crond Thanks.
Re: [gentoo-user] new printer
On 05/01/2017 08:23 AM, Philip Webb wrote: > I have an HP inkjet printer, which I bought very cheaply on sale. > It works well enough, but I rarely use it > -- it mb 12 mth between prints -- & the ink cartridge dries up. > > Probably, what I need is a laser printer, as IIRC toner doesn't dry up. > There's a printer available at my usual store (Canada Computers) as below. > > Can anyone advise me (1) whether I'm correct re ink/toner drying up, > (2) whether there's any reason to beware of the Brother model below > & (3) if I buy it, how to I install the driver ? > -- I'm used to using Hplip & Brother drivers may need a different method. > > Item Code : PRBR001571 Part Number : HL-L2320D > Brother HL-L2320D Monochrome Laser Printer > 30 PPM Mono, 2400 x 600 DPI, Duplex Printing, USB Connectivity > > Our Price CAD 99.99 > > BrandBrother > ModelHL-L2320D > Printer Type Black & White Printer > Print Technology Laser > Output Type Monochrome > Print Resolution 2400 x 600 DPI > Black Print Speed 30 PPM > Color Print Speed No > Connectivity USB > Duplex Yes > Max. Duty Cycle 1 Pages / Month > Input Capacity 250 Sheet > Media Size Letter, Legal, Executive, A4, A5, A6, B5, B6 > Processor266 MHz > Memory 8 MB > Function Print > Copy No > Fax Capability No > Scanner No > Scan Resolution N/A > Auto Doc Feeder N/A > Power Consumption Sleep 0.9W/ Ready 65W/ Printing 495W > Dimensions 47.5 x 45.4 x 33.1 cm (W x D x H) > Weight 18.10 lb > Cartridges Compatible TN630 Black, TN660 Hi-Yield Black, DR630 Drum > Manufacturer Warranty 1 Year Limited > > Toronto Downtown : 6 > > http://www.brother.ca/en-CA/Printers/1/ProductDetail/HLL2320D/Specifications : > Linux driver available I'm heavy Brother equipment user, had few Brother printers and was looking at the model you mentioned above to replace my 10-year old HL-5250DN HL-L2320D - it seems to me might be too expensive toner wise so I selected HL-L5200DW instead. When it comes to printer driver, they have improved a bit but in gentoo you will will have to do extra work. General instruction from Brother: http://support.brother.com/g/b/downloadhowto.aspx?c=us&lang=en&prod=hll5200dw_us_eu_as&os=127&dlid=dlf102556_000&flang=4&type3=560 If you need extra help, email me. Ps. Stay away from Brother Network Scanner. -- Thelma
Re: [gentoo-user] Re: CUPS: Need help setting up my parallel port printer [SOLVED, but new problem now] [SOLVED]
On Fri, 2008-03-07 at 14:26 -0600, Michael Sullivan wrote: > On Fri, 2008-03-07 at 14:17 -0600, Michael Sullivan wrote: > > On Fri, 2008-03-07 at 12:25 -0600, Michael Sullivan wrote: > > > We got a new printer today. It's the same model as our old printer, so it > > > should work, right? I followed the Gentoo Printing Guide up to the point > > > where one sets up the printer in the CUPS administrative interface. It > > > does not offer me a parallel port choice for the device. My kernel is > > > built with parallel port support and I have modprobed parport and > > > parport_pc: > > > > > > catherine ~ # lsmod | grep parport > > > parport_pc 32868 0 > > > parport26696 1 parport_pc > > > > > > And dmseg is aware of the printer: > > > > > > catherine ~ # dmesg | grep -i print > > > parport0: Printer, EPSON Stylus C88 > > > > > > But on the CUPS interface, I can choose from > > > > > > AppSocket/HPJetDirect > > > Backend Error Handler > > > HP Printer (HPLIP) > > > Internet Printing Protocol (http) > > > Internet Printing Protocol (ipp) > > > LPD/LPR Host or Printer > > > SCSI Printer > > > Serial Port #1 > > > > > > but no parallel port. It used to be on there. How can I get it back, or > > > is parallel port called something else now? > > > > > > > > > > I didn't have parallel printer character support compiled into the > > kernel. It works now, but how do I print from a remote computer? I've > > set up the security on the host that has the printer hooked up to it, > > but how do I configure remote hosts running Linux so that they know > > about it? > > > > Maybe I should mention that I'm using gnome: > > camille ~ # emerge -pv gnome > > These are the packages that would be merged, in order: > > Calculating dependencies... done! > [ebuild R ] gnome-base/gnome-2.20.3 USE="cdr cups dvdr > -accessibility -esd -ldap -mono" 0 kB > > I did find the Main Menu->System->Preferences->Printers and it detects > my printer, but it asks me to put in make and model information even > when I select the printer (which is already set up.) and I don't see > the model of my printer listed. It's an Epson Stylus C88. Is that > called something else in the printers interface? > Nevermind. It was right there in the guide... -- gentoo-user@lists.gentoo.org mailing list
[gentoo-user] module woes
Ok, So I'm running Grub2, openrc, and a gentoo patched kernel. This is a new system I've been fiddling with, so the problem could easily be my oversite. I'v build several kernels. I go into the advanced tab upon reboot and boot up the latest kernel I've compiled, (3.13.1-gentoo). It boot fine. Printing works. lp and lpr still do not work for printing raw text files? I used cups and hplip (8600 pro officejet). All other printing is find. Here is what has me stumped.I started out with this kernel: kernel-3.10.25-gentoo. Since I have built and successfully ran (most things) on these kernels too: kernel-3.13.0-gentoo-r1 and last: kernel-3.13.1-gentoo. I have built these kernels same way as all others cd /usr/src/ ln -sf linux cd linux make && make modules && make modules_install cp arch/x86_64/boot/bzImage /boot/kernel-3.13.1-gentoo cp System.map /boot/System.map-3.13.1-gentoo cp .config /boot/config-3.13.1-gentoo grub2-mkconfig -o /boot/grub/grub.cfg So the new kernels work, but, besides permission problems, it only looks to the original /lib/modules/ dir for modules (example): # /etc/init.d/cupsd restart Stopping cupsd ... /etc/init.d/../conf.d/modules: line 25: /lib/modules/3.10.25-gentoo/kernel/drivers/char/kcopy/kcopy.ko: Permission denied ERROR: modules failed to start Starting cupsd ... So what should the perms. be and what do I need to do to get it to point to the kernel I'm booting, 3.13.1-gentoo ? It is a grub 2 thing or what? /lib/modules/3.13.1-gentoo/kernel/net/netfilter total 100K -rw--- 1 root root 25K Feb 4 09:17 nf_nat.ko -rw--- 1 root root 6.0K Feb 4 09:17 nf_nat_ftp.ko -rw--- 1 root root 5.6K Feb 4 09:17 nf_nat_irc.ko -rw--- 1 root root 15K Feb 4 09:17 nf_nat_sip.ko -rw--- 1 root root 22K Feb 4 09:17 xt_LOG.ko -rw--- 1 root root 4.5K Feb 4 09:17 xt_mark.ko -rw--- 1 root root 5.5K Feb 4 09:17 xt_nat.ko /lib/modules/3.10.25-gentoo/kernel/net/netfilter total 100K -rw-r--r-- 1 root root 27K Jan 14 23:28 nf_nat.ko -rw-r--r-- 1 root root 6.0K Jan 14 23:28 nf_nat_ftp.ko -rw-r--r-- 1 root root 5.5K Jan 14 23:28 nf_nat_irc.ko -rw-r--r-- 1 root root 16K Jan 14 23:28 nf_nat_sip.ko -rw-r--r-- 1 root root 22K Jan 14 23:28 xt_LOG.ko -rw-r--r-- 1 root root 4.5K Jan 14 23:28 xt_mark.ko -rw-r--r-- 1 root root 5.5K Jan 14 23:28 xt_nat.ko What did I miss, besides the permissions? James
Re: [gentoo-user] Re: new system, printing suddenly fails for all printers
Why all the handwringing? Just use hplip when using a HP printer and all the hair-pulling will disappear in seconds. Sent from my Verizon Wireless BlackBerry -Original Message- From: "Alan E. Davis" Date: Sat, 4 Jul 2009 01:48:57 To: Subject: Re: [gentoo-user] Re: new system, printing suddenly fails for all printers Thank you Walt: On Sat, Jul 4, 2009 at 12:02 AM, walt wrote: > > I've had both problems several times in the past, always caused by dumb > things that, of course, should never happen but often do anyway. > Me too. Maybe so this time as well, at least I hope so. > > First the sound. I still don't know why but often when rebooting with > a different kernel (I do it often) the sound mixer will wind up with > certain channels either muted or turned down all the way. Because these > channels are not visible on my gnome volume control I have to use the > alsamixer to find the problem and restore the proper settings until > the next reboot. Dumb, but that's the way it is. There is no PCM channel in alsamixer! Maybe I will try alsamixergui, where I saw switches once. > > > You should definitely *not* unload your kernel sound modules when shutting > down -- it's silly and causes problems. Turn this 'feature' off in your > /etc/conf.d/alsasound by setting UNLOAD_ON_STOP="no" and KILLPROC_ON_STOP= > "no". Duly noted and exorcized. > > > Printing. Usually my printing problems come from having the wrong printing > "device" set in the cups Modify Printer section (localhost:631 as you > said). > > Usually the problem is that I didn't have the printer connected and turned > on when setting the 'printer device' and therefore the proper choice didn't > appear in the menu. Really dumb. > Two printers are connected, and turned on. One printer, the deskjet, started one job, a testpage, got to 17% and stayed there a good long while. > > Anyway, start by going back through that printer setup menu system and try > every choice until you find one that works -- and make sure the printer is > turned on :o) > Thank you again. I earnestly hope they both iron out quickly. I'm starting to grow fond of this install. Alan Davis "...can the human soul be glimpsed through a microscope? Maybe, but you'd definitely need one of those very good ones with two eyepieces." -- Woody Allen, quoted by B. A. Palevitz
Re: [gentoo-user] new printer
On May 1, 2017 4:23:54 PM GMT+02:00, Philip Webb wrote: >I have an HP inkjet printer, which I bought very cheaply on sale. >It works well enough, but I rarely use it >-- it mb 12 mth between prints -- & the ink cartridge dries up. > >Probably, what I need is a laser printer, as IIRC toner doesn't dry up. >There's a printer available at my usual store (Canada Computers) as >below. > >Can anyone advise me (1) whether I'm correct re ink/toner drying up, >(2) whether there's any reason to beware of the Brother model below >& (3) if I buy it, how to I install the driver ? >-- I'm used to using Hplip & Brother drivers may need a different >method. > >Item Code : PRBR001571 Part Number : HL-L2320D >Brother HL-L2320D Monochrome Laser Printer > 30 PPM Mono, 2400 x 600 DPI, Duplex Printing, USB Connectivity > >Our Price CAD 99.99 > >Brand Brother >Model HL-L2320D >Printer Type Black & White Printer >Print Technology Laser >Output Type Monochrome >Print Resolution 2400 x 600 DPI >Black Print Speed 30 PPM >Color Print Speed No >Connectivity USB >DuplexYes >Max. Duty Cycle 1 Pages / Month >Input Capacity250 Sheet >Media SizeLetter, Legal, Executive, A4, A5, A6, B5, B6 >Processor 266 MHz >Memory8 MB >Function Print >Copy No >Fax CapabilityNo >Scanner No >Scan Resolution N/A >Auto Doc Feeder N/A >Power Consumption Sleep 0.9W/ Ready 65W/ Printing 495W >Dimensions47.5 x 45.4 x 33.1 cm (W x D x H) >Weight18.10 lb >Cartridges Compatible TN630 Black, TN660 Hi-Yield Black, DR630 Drum >Manufacturer Warranty 1 Year Limited > >Toronto Downtown : 6 > >http://www.brother.ca/en-CA/Printers/1/ProductDetail/HLL2320D/Specifications >: >Linux driver available Can't help you with the Brother. Others might. I got an all-in-1 colour laser printer from HP myself after finding ink cartridges useless again. The printer can be left for months and months and when I need something printed, it simply works. In the past 5.5 years, I only had to replace the black cartridge once. (Late last year). Am looking into getting a new one that does duplex printing and scanning. Along with sending scanned documents directly to a NAS and/or email without the use of a computer. And the current one will then be relocated for use by family members. -- Joost -- Sent from my Android device with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] Sharing printers via Cups
On Sunday, 14 February 2021 06:43:55 GMT Dan Egli wrote: > On 2/12/2021 4:00 AM, Michael wrote: > > D [11/Feb/2021:13:08:36 -0700] [Job 11] hpcups > > (application/vnd.cups-raster to printer/ENVY, cost 0) > > > > This is the hplip printer driver in action, using a MIME format for CUPS > > to transmit and print raster imaged pages. > > > > Question: Why is this driver in play? > > > > Even if the physical printer is an HP, it is neither connected to Janus, > > nor Athena. > > No, it's not. But the windows printer driver expects the client to do > all the rendering and deliver only finalized printer instructions when > it receives network jobs. I suppose I could change it to a generic > PostScript driver and tell Windows to do the rendering... I think the problem arises if you layer one printer driver over another. > > I suggest you configure CUPS in Janus to use a different print driver: > > > > First try 'IPP everywhere' the latest /driverless/ printing option. With > > 'IPP everywhere' CUPS will communicate with IPP enabled printers and > > interrogate them on the fly to generate and use the requisite PPD > > capabilities configuration. > > Hmmm. Didn't see IPP everywhere as a "driver" but i really didn't look > past the HP drivers. But I question if even that will work. Sounds like > when Athena tries to render the page into printer instructions it's > dying, with the cupsRasterOpen failed (and what kind of an error message > is that? Tell me something I might be able to use to FIX the issue!). Heh! Devs' messages are usually clear in their meaning. Mostly to devs. :-) Since the printer is not physically attached to and driven by Athena, I think the rendering is taking place by the MSWindows printer driver, at the Windows OS. Athena functions as a router in this case pushing what it receives over smb://. Have a look here for the 'IPP Everywhere' configuration option: https://wiki.gentoo.org/wiki/Driverless_printing > > If this doesn't work, then try 'RAW' and leave it to Athena's CUPS server > > to submit the raw data for printing to its back end (Windows Printer via > > SAMBA). > > > > The logs should indicate if there is a problem somewhere along the chain. > > I'll try this and let you know. I'm actually about to head for bed as I > write this, so I'll check on it Tomorrow (Sunday). signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Buying a low-cost printer for Linux
On Wed, Dec 3, 2008 at 11:52 PM, Dale <[EMAIL PROTECTED]> wrote: > Dominic Kexel wrote: >> That's right, i totaly agree. If you buy a HP-printer, you (almost) can't do >> something wrong. I am using a HP Deskjet F2180 (40€). Printing and scanning >> both work without problems. >> >> On Wed, 3 Dec 2008 22:00:28 -0800 >> "Manuel McLure" <[EMAIL PROTECTED]> wrote: >> >> >> > > I have a HP Deskjet D4260 that I got from newegg for less than $50.00. > It works very well. Before that I had a little Deskjet 3820 which I had > for years. It finally lost its head. Turn it on and it just goes from > side to side until I cut it off. The 4260 also has the option of using > the hi yield cartridges too. It can print for a long time without > running out of ink. > > I think if you get a HP printer, you will do all right. I wouldn't get > the latest thing unless I checked for drivers first tho. Also, to get > my old 3820 to work, I googled for the ppd file and put it in the right > place for cups. That was before hplip came out. I don't remember > having to do that with the 4260. > > Hope that helps give you some ideas. > > Dale > Thanks Dale, and everyone who suggests HP. This is probably the best way to go if he decides to stay with an inexpensive ink-jet. I'm intrigued by Albert's suggestion to look for a $400 color laser printer. It's not a great solution for my house by my Dad's flush so he might like that sort of solution. A question I have about laser printers, from the old days whn I had one, is aren't they really pretty bad reliability for low print volume applications. My old laser printer, made by some off-brand company that was early into the Postscript clone game, was that the rollers very quickly got flat spots because we didn't print every day. When we would print the paper wouldn't feed correctly and the quality was bad. I don't think my Dad is going to print more than 2-3 pages/day on average and since they travel now and again it could sit idle for a week or two. I suppose I could make some sort of cron job that printed one page a day if that was a reasonable solution. Very interested in your ideas and greatful for all the responses. Cheers, Mark
Re: [gentoo-user] slot conflict for media-libs/x264-0.0
On Sun, Jun 17 2018, Mick wrote: > On Sunday, 17 June 2018 22:04:50 BST allan gottlieb wrote: >> (I have been offline for a few months and apologize if this has been >> covered.) >> >> I had not synced for about 3 months (fear of new, incompatible gnucash) >> but have now done so. Unsurprisingly my normal update world shows many >> entries and also unsurprising is a blocker (slot conflict). However, I >> am confused by the message which reads >> >> !!! Multiple package instances within a single package slot have been pulled >> !!! into the dependency graph, resulting in a slot conflict: >> >> media-libs/x264:0 >> >> (media-libs/x264-0.0.20170701:0/152::gentoo, ebuild scheduled for merge) >> pulled in by (no parents that aren't satisfied by other packages in this >> slot) >> >> (media-libs/x264-0.0.20160712:0/148::gentoo, installed) pulled in by >> >> >=media-libs/x264-0.0.20130506:0/148=[abi_x86_64(-)] >> >> required by (media-video/ffmpeg-3.3.6:0/55.57.57::gentoo, installed) >> >> Why is this a conflict since the first one 0/152 seems to permit other >> solutions. Is the (unstated) point that the second one 0/148 is not one >> of the acceptable "other packages in this slot". >> >> Also I seem some advice. Should I be first working on this blockage. >> Or should I instead try to deal with some of the easy updates. >> >> thanks in advance, >> allan > > Since you have the latest ffmpeg installed, this is how I would go about this: > > emerge --depclean -a -v media-libs/x264 > emerge -1aDv '=media-libs/x264-0.0.20170701' > emerge -1aDv media-video/ffmpeg It is apparently more complicated than I expected (at the end of this msg I give the *long* full output of my update world). 1. emerge --depclean -a -v media-libs/x264 will not remove x264 since it is used by ffmpeg and mplayer 2. emerge --depclean -a -v media-libs/x264 shows many blocks (capital B). My attempt at a full update world had the blocks, but with a lower case b) 3. emerge -1aDv media-video/ffmpeg also has many capital B blocks. It seems clear that I erred in not giving the original output. It is almost 50KB so, in addition to appending it to this msg, I have put it on my website https://cs.nyu.edu/~gottlieb/E6430 Thank you, allan These are the packages that would be merged, in reverse order: Calculating dependencies . . done! [nomerge ] gnome-base/gnome-3.24.2 [nomerge ] gnome-base/gnome-extra-apps-3.24.2 [nomerge ] gnome-extra/gnome-user-share-3.18.3 [nomerge ]www-apache/mod_dnssd-0.6-r1 [ebuild U ] net-dns/avahi-0.7-r1 [0.7] USE="qt5%*" [nomerge ] net-print/hplip-3.17.10 [ebuild U ] media-gfx/sane-backends-1.0.27-r1 [1.0.27] [ebuild U ] www-client/firefox-52.8.0 [52.6.0] [ebuild U ] www-client/chromium-67.0.3396.62 [64.0.3282.167] USE="(-system-ffmpeg*)" [ebuild U ] app-portage/elogviewer-2.7-r2 [2.7] [ebuild U ] x11-base/xorg-x11-7.4-r3 [7.4-r2] USE="fonts%*" [ebuild U ] app-office/libreoffice-6.0.3.2 [5.4.5.1] USE="-gtk2%" [nomerge ] gnome-extra/gnome-shell-extensions-3.24.3 [nomerge ] app-eselect/eselect-gnome-shell-extensions-20180306 [20120911] [nomerge ] gnome-base/gnome-shell-3.24.3 [nomerge ]gnome-extra/nm-applet-1.8.10-r1 [1.8.6] USE="gcr*" [nomerge ] net-misc/networkmanager-1.8.4 [ebuild U ] net-wireless/wpa_supplicant-2.6-r6 [2.6-r3] USE="-eapol_test% -privsep%" [nomerge ] x11-drivers/xf86-input-synaptics-1.9.1 [1.9.0] [nomerge ] x11-base/xorg-server-1.19.5-r2 [1.19.5] USE="-kdrive*" [nomerge ] x11-base/xorg-drivers-1.19 [ebuild U ]x11-drivers/xf86-input-evdev-2.10.6 [2.10.5] [ebuild U ]x11-drivers/xf86-video-intel-2.99.917_p20180214-r1 [2.99.917_p20170313] [ebuild U ]x11-drivers/xf86-input-synaptics-1.9.1 [1.9.0] [nomerge ] www-client/firefox-52.8.0 [52.6.0] [nomerge ] virtual/ffmpeg-9-r2 [nomerge ] media-video/ffmpeg-3.3.6 [ebuild U ]media-libs/libsdl2-2.0.8-r1 [2.0.4] USE="(-aqua) -libsamplerate%" [ebuild U ] app-editors/emacs-25.3-r4 [25.3-r1] [nomerge ] gnome-base/gnome-extra-apps-3.24.2 [nomerge ] gnome-extra/gnome-tweak-tool-3.24.1 [nomerge ] gnome-base/gnome-shell-3.24.3 [ebuild U ]gnome-base/gnome-control-center-3.24.4 [3.24.3] [nomerge ] gnome-base/gnome-extra-apps-3.24.2 [nomerge ] media-sound/sound-juicer-3.24.0 [nomerge ] app-cdr/brasero-3.12.2-r1 [ebuild U ]gnome-base/gvfs-1.32.2 [1.32.1-r1] [ebuild U ] sys-process/procps-3.3.15-r1 [3.3.
Re: [gentoo-user] Re: Optional /usr merge in Gentoo
Dale wrote: >J. Roeleveld wrote: >> On Mon, August 19, 2013 12:55, Neil Bothwick wrote: >>> On Mon, 19 Aug 2013 11:17:06 +0100, Stroller wrote: >>> >>>>Here's a short, very in-comprehensive list of software we are >aware >>>> of that currently are not able to provide the full set of >functionality >>>> when /usr is split off and not pre-mounted at boot: >>>> udev-pci-db/udev-usb-db and all rules depending on this (using the >>>> PCI/USB database in /usr/share), PulseAudio, NetworkManager, >>>> ModemManager, udisks, libatasmart, usb_modeswitch, >gnome-color-manager, >>>> usbmuxd, ALSA, D-Bus, CUPS, Plymouth, LVM, hplip, multipath, >Argyll, >>>> VMWare, the locale logic of most programs and a lot of other stuff. >[1] >>> How much of that is needed before the contents of /etc/fstab are >>> mounted? I certainly don't need to run a desktop, used a 3G modem, >play >>> sounds or load a virtual machine before then. Yes, LVM may be >needed, but >>> the needed parts are in /sbin anyway, so that is a red herring too. >> It is a red herring. >> I currently use an initramfs, but that is because I decided to put >"/" on >> LVM as well. >> When I had "/" as a normal partition and /usr on LVM, there were no >issues >> with booting. Currently, with the initramfs, I get errors about / and >/usr >> not being able to umount during shutdown. >> >> -- >> Joost >> >> >> > >I to have / on a traditional partition, ext4, and /boot on a small ext2 >partition. Everything else is on LVM. I don't want a init thingy >either. I had nightmares with that thing when I used Mandrake years >ago. I can't recall the name of that thing that left me with no >keyboard/mouse but I still remember that init thingy. Dang, what was >that thing that did that? Anyway, as bad a taste as that other thing >left, the init thingy is even worse. I still remember the init thingy >10 YEARS later. The other thing was a few years ago. > >I bet Alan remembers. I was plenty pissed. That is likely the most >pissed I ever been on this list. If that guy had been in front of me, >I'd be in jail. I got to many trees around here. O-o > >Dale > >:-) :-) > >-- >I am only responsible for what I said ... Not for what you understood >or how you interpreted my words! I also still remember. Not going to mention it now. But will give a hint. What is the name of the computer that said: "I'm sorry Dale, I can't let you do that."? -- Joost -- Sent from my Android phone with K-9 Mail. Please excuse my brevity.
Re: [gentoo-user] Re: Optional /usr merge in Gentoo
On 20/08/2013 06:00, jo...@antarean.org wrote: > Dale wrote: > > J. Roeleveld wrote: > > On Mon, August 19, 2013 12:55, Neil Bothwick wrote: > > On Mon, 19 Aug 2013 11:17:06 +0100, Stroller wrote: > > Here's a short, very in-comprehensive list of software > we are aware > of that currently are not able to provide the full set > of functionality > when /usr is split off and not pre-mounted at boot: > udev-pci-db/udev-usb-db and all rules depending on this > (using the > PCI/USB database in /usr/share), PulseAudio, NetworkManager, > ModemManager, udisks, libatasmart, usb_modeswitch, > gnome-color-manager, > usbmuxd, ALSA, D-Bus, CUPS, Plymouth, LVM, hplip, > multipath, Argyll, > VMWare, the locale logic of most programs and a lot of > other stuff. [1] > > How much of that is needed before the contents of /etc/fstab are > mounted? I certainly don't need to run a desktop, used a 3G > modem, play > sounds or load a virtual machine before then. Yes, LVM may > be needed, but > the needed parts are in /sbin anyway, so that is a red > herring too. > > It is a red herring. > I currently use an initramfs, but that is because I decided to > put "/" on > LVM as well. > When I had "/" as a normal partition and /usr on LVM, there were > no issues > with booting. Currently, with the initramfs, I get errors about > / and /usr > not being able to umount during shutdown. > > -- > Joost > > > > > > I to have / on a traditional partition, ext4, and /boot on a small ext2 > partition. Everything else is on LVM. I don't want a init thingy > either. I had nightmares with that > thing when I used Mandrake years > ago. I can't recall the name of that thing that left me with no > keyboard/mouse but I still remember that init thingy. Dang, what was > that thing that did that? Anyway, as bad a taste as that other thing > left, the init thingy is even worse. I still remember the init thingy > 10 YEARS later. The other thing was a few years ago. > > I bet Alan remembers. I was plenty pissed. That is likely the most > pissed I ever been on this list. If that guy had been in front of me, > I'd be in jail. I got to many trees around here. O-o > > Dale > > :-) :-) > > > I also still remember. > Not going to mention it now. But will give a hint. > What is the name of the computer that said: "I'm sorry Dale, I can't let > you do that."? bwahahahaha :-) Yes, we all remember Dale's troubles with that thing a few years ago. 2001 was a good move and a good book too (just finished both again as it turns out). 2010 doesn't quite match up though... -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: network scanner not seen by xsane on *some* systems
On Sat, Jul 07 2012, walt wrote: > On 07/06/2012 05:35 PM, Allan Gottlieb wrote: >> I have one network (a linksys) to which all my devices are attached. >> >> I have two laptops running ~amd64 and one desktop running amd64. >> I have one scanner, an hp officejet 7310 that is (wired) ethernet >> attached. >> >> When I try xsane from either laptop I receive the popup saying that no >> devices are found. From the desktop all is well. >> >> I can print to the 7310 from all three machines. >> I can ping the 7310 from all machines. > > That's pretty strange, for sure. I assume you have cups and hplip on > all three? Yes. > When I use a web browser on localhost:631 I can see two printers on each > machine: hp_LaserJet_3015 and hp_LaserJet_3015_fax. (No 3015_scanner, but > I figure the 'fax' doubles as the scanner.) > > Do you have the 'fax' device on your laptops? Interesting. I set up the desktop printing several years ago and don't really use it (except yesterday to confirm that xsane would fail, but it succeeded). Cups on the desktop says (ignoring another device, a p2055 laser printer) Queue name Descriptionlocation Make and model Officejet_7300 found by hp-setup found by hp-setup HP Officejet 7300 Series hpcups 3.9.12 ss hp 7310 on ss South Salem network HP Officejet 7300 Series hpcups 3.9.12 I guess this means I added it both via cups and via hp-setup. No explicit mention of fax. I am loath to mess with this until I get some success elsewhere as it is my only way to scan. On one laptop (again ignoring P2055) I had just ssHP OfficeJet 7300local lan HP Officejet 7300 Series hpcups 3.12.4 This is a cups install as I recall that that I couldn't get hp-setup to work. I tried hp-setup again and it prints -error: Unable to communicate with device (code=12): hpfax:/net/Officejet_7300_series?zc=HPCC9932 error: Unable to communicate with the device. Please check the device and try again. I choose cancel and see the box with Printer Setup and Fax Setup, the latter checked If I click "add printer", hp-setup fails with the same msg as above. However, CUPS now see both devices (plain and _fax) like yours. xsane changes as well. Instead of "no devices" I get "Failed to open device `hpaio:/net/Officejet_7300_series?zc1HPCC((32': Invalid argument." Moreover the new printer entry in cups fails to print a test page (the old, cups-installed, entry continues to work). Thanks for your help. allan
Re: [gentoo-user] layman printer trouble
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 05.10.2012 17:38, Jamse wrote: > BACKGROUND -- > > OK, so I get a new Brother MFC-6710DW printer, which includes > ethernet. Since there is not (hplip) package for Brother, I trying > to use Layman to first add an existing Overlay and then set up the > printer via Cups (localhost:631). > > Amazingly, I found an overlay that looks to be for a brother > printer that is identical to mine, except it down not have the > memory stick slot (brother mfc6490cw). > > Here it is on zugaina (Successfully synchronized overlay > "zugaina") > > http://gpo.zugaina.org/Overlays/printer-drivers/ > net-print/brother-mfc6490cw-cups > > I thought once that layman is setup you could just update the > tree_list of packages (which I did) and then just use emerge to > install from a give Overlay repository? (Yes, I modifies the > /etc/make.conf > > #LAYMAN PORTDIR_OVERLAY="/usr/local/portage" source > /var/lib/layman/make.conf (but this layman make.conf file is still > empty) > > So, I get this error: # layman -f -a > net-print/brother-mfc6490cw-cups-1.1.2_p2 > > Overlay "net-print/brother-mfc6490cw-cups-1.1.2_p2" does not > exist. (I also tried the name "net-print/brother-mfc6490cw-cups" to > no avail) > > Next, I've manually downloaded the ebuild to: > /usr/local/portage/net-print/brother-mfc6490cw-cups/ > > > > PROBLEM --- But I cannot use emerge to install it. # emerge > brother-mfc6490cw-cups Calculating dependencies / * Manifest not > found for '/usr/local/portage/net-print/brother-mfc6490cw-cups/ > brother-mfc6490cw-cups-1.1.2_p2.ebuild' > > So now I need to hack the manifest and other files into this dir? > Any discussion, ideas, syntax or ebuild support files (manifest et. > al) are most welcome (Neil?) > > Note: it's been a while since I've used the laymen scripts et. al. > so it's entirely possible I missed (fudged_up) the steps I gleaned > from the myriad of wikis to do this install. > > rusty on Overlays, James > Hi James, you'll have to add the complete overlay, e.g.: layman -a printer-drivers Afterwards you should be able to install the driver. The alternative route would be to set up your own overlay. If you put a file inside the normal portage tree, it will be removed after the next sync. To create a Manifest you could issue "ebuild manifest" but as stated above it would be removed on the next sync, if you don't setup your own overlay. The easiest way would be to simply add the overlay with "layman -a ". If I recall correctly you'll have to update the list of available overlays before doing so via "layman -L" WKR Hinnerk -BEGIN PGP SIGNATURE- Version: GnuPG v2.0.19 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://www.enigmail.net/ iQEcBAEBAgAGBQJQby2tAAoJEJwwOFaNFkYcVRUIAIr59Av0eLAd2arl4YqBKhlI KCXeTa/mgFEmu1KhxCotrXm8KspFHsXxl8zUXZpxusvE/vMaao4m0lJd1j1Ifjhl CEWT3kcotPVo9PLGh6faTsZMjzvbm4MgIVzYowA2Gf/TsLPo/Bc21ho9wP1zOX0M BE8ES/f3orftDzyGFysgAxNzdKMnpeDFCxtJGNMHCcQHn1YBAWtKP09e+XeHjOD1 3cN7UfSa5IuNXbS7lT+I9oP50kl/dImyYf+mAbvjLqopd86TlavpSWEOn1lnxKKx iZq3rggdQb9TZRDY80xTRACSJ9JxfQbvkqzulDLrZXY57McazX5Ky1UHmgCq9T8= =SWN8 -END PGP SIGNATURE-
Re: [gentoo-user] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]
On Fri, Sep 18, 2015 at 2:19 PM, Mick wrote: > On Friday 18 Sep 2015 19:15:50 Rich Freeman wrote: >> On Fri, Sep 18, 2015 at 1:56 PM, Mick wrote: >> > On Friday 18 Sep 2015 17:16:54 Marc Joliet wrote: >> >> On Friday 18 September 2015 10:31:01 Mick wrote: >> >> >A couple of months ago the akonadi DB went sideways and kmail played up >> >> >as a result. Again I was suspicious of btrfs, but neither the logs >> >> >nor fsck showed up anything. >> >> >> >> I take it "btrfs scrub" didn't turn up anything, or is that what you >> >> meant by fsck? >> > >> > Am I supposed to run scrub with I do not have a RAID running? I thought >> > scrub was meant for comparing checksums between mirrored fs - have I got >> > this wrong? >> >> You can actually run scrub on a non-raid btrfs setup. Btrfs will >> report any errors that it detects (using the checksumming in the >> filesystem), but it would not be able to fix errors unless you have it >> storing redundant data somewhere (even on non-raid it still stores >> redundant metadata by default, and you can choose to do this with data >> as well which protects against block-level failures but not disk-level >> failures, obviously). >> >> However, you'd have gotten the same errors in dmesg just trying to >> read the files - btrfs checks the checksum on all file read >> operations. That is a big part of the value of both btrfs and zfs. > > Ah! V interesting ... can I run scrub with mounted partitions, or do I have > to do it from a LiveCD? I didn't check, but I suspect you can only run scrub on a mounted partition. I also suspect that fsck probably has an option to do something equivalent offline. You do get the error-detection anyway just by reading files, and if you just ran find on your filesystem and catted every file you have to /dev/null that would actually accomplish the same thing as long as you're not in a redundant mode (simply reading all the files doesn't guarantee that all copies of each file are checked). The main reason for doing a scrub is to detect latent issues, and if you have redundancy that means you can auto-correct them today, rather than discovering them a month from now when the drive containing the only good copy fails. Even if you don't have redundancy maybe you rotate your backups every 30 days and detecting the error might mean having the ability to go back and restore a good copy of the file before it is completely replaced with bad copies. -- Rich
Re: [gentoo-user] portage summary logs not rotated any more
On Sunday 05 Apr 2015 06:39:31 Alexander Kapshuk wrote: > On Sun, Apr 5, 2015 at 1:18 AM, Mick wrote: > > On Saturday 04 Apr 2015 20:35:31 Alexander Kapshuk wrote: > > > My portage summary logs don't seem to be rotated any more. > > > > > > ls -lt `pwd`/summary.log* > > > -rw-rw-r-- 1 portage portage 96581 Apr 3 19:47 > > > /var/log/portage/elog/summary.log > > > -rw-rw-r-- 1 portage portage 5927 Jan 10 07:50 > > > /var/log/portage/elog/summary.log-20150112 > > > -rw-rw-r-- 1 portage portage 2281 Jan 4 21:14 > > > /var/log/portage/elog/summary.log-20150104.gz > > > -rw-rw-r-- 1 portage portage 565 Dec 26 20:53 > > > /var/log/portage/elog/summary.log-20141228.gz > > > -rw-rw-r-- 1 portage portage 1842 Dec 22 17:52 > > > /var/log/portage/elog/summary.log-20141222.gz > > > > > > grep Messages summary.log | sed '1h;$!d;x;G;q' > > > > > > >>> Messages generated by process 3399 on 2015-01-13 17:47:47 EET for > > > > > > package dev-python/reportlab-3.1.8-r2: > > > >>> Messages generated by process 4080 on 2015-04-03 19:47:54 EEST for > > > > > > package net-print/hplip-3.14.1: > > > > > > grep Messages summary.log-20150112 | sed '1h;$!d;x;G;q' > > > > > > >>> Messages generated by process 2637 on 2015-01-04 22:02:00 EET for > > > > > > package app-office/libreoffice-4.2.8.2: > > > >>> Messages generated by process 3483 on 2015-01-10 07:50:04 EET for > > > > > > package dev-libs/openssl-1.0.1k: > > > > > > cat /etc/logrotate.d/elog-save-summary > > > # Copyright 1999-2011 Gentoo Foundation > > > # Distributed under the terms of the GNU General Public License v2 > > > # Rotate the log created by the save_summary elog module. > > > > > > /var/log/portage/elog/summary.log { > > > > > > su portage portage > > > missingok > > > nocreate > > > delaycompress > > > > > > } > > > > > > /etc/logrotate.conf:6,8 > > > # rotate log files weekly. > > > weekly > > > #daily > > > > > > What could be wrong here? Or am I misreading something? > > > > > > Thanks. > > > > Is your logrotate running regularly as expected? What do you get when > > > > from: > > grep logrotate /var/log/cron.log > > > > -- > > Regards, > > Mick > > Thanks for your response. > > I'm afraid I don't have the cron logging set up. I should probably go ahead > and do it, shouldn't I? > > grep logrotate /var/log/cron.log > grep: /var/log/cron.log: No such file or directory > > The cron daemon is running though. > > ps auxwww|grep '[c]ron' > root 2418 0.0 0.1 5464 1868 ?Ss 08:33 0:00 > /usr/sbin/crond > > Thanks. Ah! I must have set this up myself. In /etc/syslog-ng/syslog-ng.conf I have among other settings: destination cron { file("/var/log/cron.log"); }; filter f_cron { facility(cron); }; log { source(src); filter(f_cron); destination(cron); }; This is not necessary though. You can search /var/log/messages for logrotate. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
[gentoo-user] network scanning with gentoo / hplip / hpaio
I have an HP-7310 all-in-one. We have it on our wired network at URL 192.168.1.50. As a printer/fax/copier, it works fine. My problem is with scanning. Our older HP-7130 does fine at all tasks. We have two problems identifying scanners. ajglap ~ # scanimage -L device `hpaio:/usb/HP_LaserJet_1200?device=/dev/usb/lp0' is a hp HP_LaserJet_1200 multi-function peripheral ajglap ~ # This is wrong. I do indeed have HP laserjet 1200 attached via usb, but it is a printer not a multifunction device. The second problem is that the HP officejet 7310 at location 192.168.1.50 is not found Add'l info When at another location with no laserjet but with a USB multifunction device (officejet 7130 -- not 7310), all is well. If at the original site I try scanimage without -L, it faults (see below). thanks in advance for any help, allan ajglap ~ # scanimage *** glibc detected *** scanimage: munmap_chunk(): invalid pointer: 0xb7dd8391 *** === Backtrace: = /lib/libc.so.6[0xb7e4abab] /usr/lib/sane/libsane-hpaio.so.1(sane_hpaio_open+0x28d)[0xb7dceb09] /usr/lib/libsane.so.1(sane_dll_open+0xde)[0xb7fc1e36] /usr/lib/libsane.so.1(sane_open+0x24)[0xb7fc24c9] scanimage[0x804ba26] /lib/libc.so.6(__libc_start_main+0xdc)[0xb7dff864] scanimage[0x80491e1] === Memory map: 08048000-08051000 r-xp 16:03 803995 /usr/bin/scanimage 08051000-08052000 rw-p 8000 16:03 803995 /usr/bin/scanimage 08052000-08073000 rw-p 08052000 00:00 0 [heap] b7c72000-b7c7b000 r-xp 16:03 670542 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1 b7c7b000-b7c7c000 rw-p 8000 16:03 670542 /usr/lib/gcc/i686-pc-linux-gnu/4.1.1/libgcc_s.so.1 b7c7c000-b7d8f000 r-xp 16:03 1112290/usr/lib/libcrypto.so.0.9.8 b7d8f000-b7da4000 rw-p 00113000 16:03 1112290/usr/lib/libcrypto.so.0.9.8 b7da4000-b7da7000 rw-p b7da4000 00:00 0 b7da7000-b7dc6000 r-xp 16:03 364633 /usr/lib/libhpip.so.0.0.1 b7dc6000-b7dc7000 rw-p 0001e000 16:03 364633 /usr/lib/libhpip.so.0.0.1 b7dc7000-b7dc9000 rw-p b7dc7000 00:00 0 b7dc9000-b7ddf000 r-xp 16:03 364636 /usr/lib/libsane-hpaio.so.1.0.0 b7ddf000-b7de rw-p 00015000 16:03 364636 /usr/lib/libsane-hpaio.so.1.0.0 b7de-b7de2000 rw-p b7de 00:00 0 b7de2000-b7de9000 r-xp 16:03 1112285/usr/lib/libieee1284.so.3.0.4 b7de9000-b7dea000 rw-p 6000 16:03 1112285/usr/lib/libieee1284.so.3.0.4 b7dea000-b7efa000 r-xp 16:03 278468 /lib/libc-2.4.so b7efa000-b7efc000 r--p 0010f000 16:03 278468 /lib/libc-2.4.so b7efc000-b7efe000 rw-p 00111000 16:03 278468 /lib/libc-2.4.so b7efe000-b7f01000 rw-p b7efe000 00:00 0 Aborted ajglap ~ # -- -- gentoo-user@gentoo.org mailing list
Re: [gentoo-user] Picking out a printer. Questions.
Manuel McLure wrote: > > > On Sat, Apr 20, 2019 at 7:59 PM Dale <mailto:rdalek1...@gmail.com>> wrote: > > Manuel McLure wrote: >> On Sat, Apr 20, 2019 at 7:12 PM Dale > <mailto:rdalek1...@gmail.com>> wrote: >> >> Howdy, >> >> I'm looking at printers. ... This is the model. >> Brother HL-L3270CDW >> >> >> Looking at the specs for that Brother printer (I don't know why >> you linked to the openprinting.org <http://openprinting.org> page >> for a Lexmark printer) it seems to have the most important aspect >> for Linux compatibility - PCL6 emulation (PostScript would also >> work, but you want to avoid anything that doesn't have one of >> those two). It also has normal port 9100 network connectivity, so >> it should work just fine under Linux for B/W. I can't find >> anything in the Openprinting database for that specific Brother >> printer, some of the other entries for Brother printers say you >> need a proprietary driver to get color out of them. The entry for >> the *HL-3170* says it works perfectly but gives no details. So >> I'd be a little wary going in. >> >> As for duty cycle, 30,000 pages/month is the same that my old >> built-like-a-tank HP Laserjet 4Mp had, so I wouldn't worry about >> it. Note that the printer is going to come with "starter >> cartridges" that are only good for about 1000 pages, and that the >> drum is also a consumable that needs replacing after 18,000 >> pages. But 18,000 pages is a lot. >> -- >> Manuel A. McLure WW1FA > <mailto:man...@mclure.org>> <http://www.mclure.org> >> ...for in Ulthar, according to an ancient and significant law, >> no man may kill a cat. -- H.P. Lovecraft > > > I think I linked to the wrong page. I was looking up a lot of > printers and must have got it mixed up. Makes me wonder if I > picked the wrong printer too. LOL You are correct tho, it isn't > listed. Time to find another printer. > > Knowing about the PCL6 part will help. I didn't know that would > be important. Also, I'd rather have one that I can install with > CUPS and its drivers or HPLIP. It's been a while since I've had a > printer and switching to laser is something that is new territory > as well. > > Question. I see some that are regular laser printers. Then I see > some that are laser jet. Looking up the cartridges it seems to > use toner. Another reason I want toner based is that if a page > gets wet or damp, the toner doesn't run like most ink jet printers > do. Am I correct that a laser or a laser jet would serve that > purpose the same? It seems it just uses a different method to put > the toner on the page or something. I googled and what little I > found sort of makes me think that would be fine. > > I'm open to ideas on this. I've always bought HP in the past but > as long as it prints fine with either HPLIP or CUPS, I'm fine with > it. Brother would be fine, Lexmark to if it works. I know some > printers are more Linux friendly than others. I honestly wish I > could find a used printer locally but not sure how to do that > around here. > > Thanks much for the info. Me makes note to check that PCL6 in the > future. ;-) > > > Don't worry about laser vs. Laserjet. "Laserjet" is just HP's name for > their laser printer line. So all HP laser printers are called > "Laserjet" but they're just the same as any other laser printer. > > There are actually two ways a "laser" printer can create an image: it > can use a laser (duh) or it can use an array of very small LEDs > (mostly Okidata printers). From a user's perspective, they're both the > same. The important bit is that they project that light onto a > photosensitive drum that picks up toner particles and transfers them > to paper, where they get heated and fused into the paper fibers. This > is much the same way photocopiers used to work (nowadays most > photocopiers are just a scanner attached to a laser printer). > > The important bit is the language the printer speaks. There are two > main languages spoken by laser printers: PCL and PostScript. Both are > technically proprietary (PCL is from HP, PostScript is from Adobe) but > there are a lot of printers that emulate these languages. You want to > run far and fast from any
Re: [gentoo-user] hplip recompiled with scanner use flag now scanning works, printing does not.
ubiquitous1980 schrieb am 22.04.2010 16:23: > On 21/04/10 01:26, Daniel Pielmeier wrote: >> I do not own an all-in-one printer so I can not test, but if Paul's >> suggestions >> do not work can you tell me the permissions of your device. >> >> lsusb >> Bus 002 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 005 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub >> Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> Bus 001 Device 002: ID 03f0:1712 Hewlett-Packard Printing Support >> Bus 001 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub >> >> lsusb tells you to which bus the printer is attached. In my case it is Bus >> 001 >> and Device 002 so I have the following device /dev/bus/usb/001/002 >> >> ls -al /dev/bus/usb/001/002 >> crw-rw-r-- 1 root lp 189, 1 20. Apr 19:05 /dev/bus/usb/001/002 >> >> There should also be a /dev/usb/lp0 >> >> ls -al /dev/usb/lp0 >> crw-rw 1 root lp 180, 0 20. Apr 19:05 /dev/usb/lp0 >> >> Do you have the same permissions or do they differ? >> > The results for lsusb: > Bus 004 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 002 Device 006: ID 12d1:1465 Huawei Technologies Co., Ltd. > Bus 002 Device 004: ID 05a9:2640 OmniVision Technologies, Inc. OV2640 Webcam > Bus 002 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 006 Device 002: ID 046d:c315 Logitech, Inc. Classic New Touch Keyboard > Bus 006 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 007 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 005 Device 003: ID 046d:c51a Logitech, Inc. MX Revolution/G7 > Cordless Mouse > Bus 005 Device 004: ID 03f0:5811 Hewlett-Packard PhotoSmart C5100 series > Bus 005 Device 002: ID 058f:9254 Alcor Micro Corp. Hub > Bus 005 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub > Bus 003 Device 004: ID 0a5c:4502 Broadcom Corp. > Bus 003 Device 005: ID 0a5c:4503 Broadcom Corp. > Bus 003 Device 003: ID 413c:8126 Dell Computer Corp. Wireless 355 Bluetooth > Bus 003 Device 002: ID 0a5c:4500 Broadcom Corp. BCM2046B1 USB 2.0 Hub > (part of BCM2046 Bluetooth) > Bus 003 Device 001: ID 1d6b:0001 Linux Foundation 1.1 root hub > > Thanks for your response, and sorry for my delay. Please also provide the following output I already requested above and check if the permissions are the same. ls -al /dev/bus/usb/005/004 ls -al /dev/usb/lp0 -- Daniel Pielmeier signature.asc Description: OpenPGP digital signature
Re: [gentoo-user] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]
On Friday 18 Sep 2015 19:30:49 Rich Freeman wrote: > On Fri, Sep 18, 2015 at 2:19 PM, Mick wrote: > > On Friday 18 Sep 2015 19:15:50 Rich Freeman wrote: > >> On Fri, Sep 18, 2015 at 1:56 PM, Mick wrote: > >> > On Friday 18 Sep 2015 17:16:54 Marc Joliet wrote: > >> >> On Friday 18 September 2015 10:31:01 Mick wrote: > >> >> >A couple of months ago the akonadi DB went sideways and kmail played > >> >> >up as a result. Again I was suspicious of btrfs, but neither the > >> >> >logs nor fsck showed up anything. > >> >> > >> >> I take it "btrfs scrub" didn't turn up anything, or is that what you > >> >> meant by fsck? > >> > > >> > Am I supposed to run scrub with I do not have a RAID running? I > >> > thought scrub was meant for comparing checksums between mirrored fs - > >> > have I got this wrong? > >> > >> You can actually run scrub on a non-raid btrfs setup. Btrfs will > >> report any errors that it detects (using the checksumming in the > >> filesystem), but it would not be able to fix errors unless you have it > >> storing redundant data somewhere (even on non-raid it still stores > >> redundant metadata by default, and you can choose to do this with data > >> as well which protects against block-level failures but not disk-level > >> failures, obviously). > >> > >> However, you'd have gotten the same errors in dmesg just trying to > >> read the files - btrfs checks the checksum on all file read > >> operations. That is a big part of the value of both btrfs and zfs. > > > > Ah! V interesting ... can I run scrub with mounted partitions, or do I > > have to do it from a LiveCD? > > I didn't check, but I suspect you can only run scrub on a mounted > partition. I also suspect that fsck probably has an option to do > something equivalent offline. > > You do get the error-detection anyway just by reading files, and if > you just ran find on your filesystem and catted every file you have to > /dev/null that would actually accomplish the same thing as long as > you're not in a redundant mode (simply reading all the files doesn't > guarantee that all copies of each file are checked). > > The main reason for doing a scrub is to detect latent issues, and if > you have redundancy that means you can auto-correct them today, rather > than discovering them a month from now when the drive containing the > only good copy fails. Even if you don't have redundancy maybe you > rotate your backups every 30 days and detecting the error might mean > having the ability to go back and restore a good copy of the file > before it is completely replaced with bad copies. Thank you Rich, I ran 'btrfs scrub start /" and it found zero problems. dmesg and syslog clean too. -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] Sharing printers via Cups
On 2/12/2021 4:00 AM, Michael wrote: [snip] Then we have this on line 292: D [11/Feb/2021:13:08:36 -0700] [Job 11] hpcups (application/vnd.cups-raster to printer/ENVY, cost 0) This is the hplip printer driver in action, using a MIME format for CUPS to transmit and print raster imaged pages. Question: Why is this driver in play? Even if the physical printer is an HP, it is neither connected to Janus, nor Athena. No, it's not. But the windows printer driver expects the client to do all the rendering and deliver only finalized printer instructions when it receives network jobs. I suppose I could change it to a generic PostScript driver and tell Windows to do the rendering... On lines 331 & 332: I [11/Feb/2021:13:08:36 -0700] [Job 11] Started filter /usr/libexec/cups/ filter/hpcups (PID 92258) I [11/Feb/2021:13:08:36 -0700] [Job 11] Started backend /usr/libexec/cups/ backend/smb (PID 92259) Although the CUPS back end on Athena is using SMB - as it should, the input filter is hpcups. Then on lines 461, 462 we have the outcome of using the wrong filter: D [11/Feb/2021:13:08:39 -0700] [Job 11] prnt/hpcups/HPCupsFilter.cpp 581: cupsRasterOpen failed, fd = 5 D [11/Feb/2021:13:08:39 -0700] [Job 11] PID 92258 (/usr/libexec/cups/filter/ hpcups) stopped with status 1. CUPS on athena can't use it and subsequently, the SMB connection fails too on lines 689, 690: E [11/Feb/2021:13:08:45 -0700] [Job 11] Connection failed: NT_STATUS_IO_TIMEOUT E [11/Feb/2021:13:08:45 -0700] [Job 11] SMB connection failed! I suggest you configure CUPS in Janus to use a different print driver: First try 'IPP everywhere' the latest /driverless/ printing option. With 'IPP everywhere' CUPS will communicate with IPP enabled printers and interrogate them on the fly to generate and use the requisite PPD capabilities configuration. Hmmm. Didn't see IPP everywhere as a "driver" but i really didn't look past the HP drivers. But I question if even that will work. Sounds like when Athena tries to render the page into printer instructions it's dying, with the cupsRasterOpen failed (and what kind of an error message is that? Tell me something I might be able to use to FIX the issue!). If this doesn't work, then try 'RAW' and leave it to Athena's CUPS server to submit the raw data for printing to its back end (Windows Printer via SAMBA). The logs should indicate if there is a problem somewhere along the chain. I'll try this and let you know. I'm actually about to head for bed as I write this, so I'll check on it Tomorrow (Sunday). -- Dan Egli On my test server
RE: [gentoo-user] Beta test Gentoo with mdev instead of udev; version 5 - failure :-(
From: Alan Mackenzie [mailto:a...@muc.de] Sent: Tuesday, March 13, 2012 7:04 PM > Huh? What's that to do with udev? You're talking at far too high a level of > abstraction. The new hardware will "just work" if there are the correct > drivers built in. That's as true of udev as it is of mdev as it is of the old static > /dev with mknod. This idea works fine when your drivers are simple enough to go into a kernel, and can actually perform all of the functions your device needs. Many modern devices require "complex" things to happen before or after they appear in your /dev tree before they can *really* be useful. (Complex relative to the operations a kernel module is expected to perform). When I plug in my HP USB printer, the hplip system checks a locally installed database file to make sure I have support for that model before making it available as a device. When udev finds my Bluetooth keyboard or mouse, it launches bluetoothd so it will work. udev manages drives, sound cards and network cards that may appear and disappear in such a way that they are always given consistent names. I have custom rules that run when I plug an Android phone into my machine that preps it for being debugged via Eclipse, despite the kernel seeing it as just a generic USB device. The point is, udev suppors /arbitrary/ behaviors, defined by device vendors or even end users, which can be controlled and configured at runtime. Some of these operations would be hard to do safely from the kernel. Some of them may even trigger events to happen in userspace in the context of the logged-on user (such as automounting from GNOME.) Note that none of this is necessarily unique to udev; mdev could (and probably does, I don't know) provide userspace events for new devices just as easily as udev does. But in order for udev to maintain the broad level of complex hardware support that it has, it must make certain assumptions that may not hold true for /all/ cases, but are true in the /broadest general/ case: that it may be required to launch software or read data found in /usr or /home or wherever else a udev rule might point, and it may be required to do so before it has even seen the device nodes needed to mount non-root partitions. mdev's appeal here in this case is simply that it makes different, simpler assumptions: that it will /never/ need to access software or data that is not part of the root partition at boot time. If that assumption holds true for a given system, then mdev can behave as an effective drop-in replacement for udev. The choice is then to give up support for the broader case in exchange for a simpler system that supports "enough" to make all of your specific hardware function. --Mike
Re: Re: [gentoo-user] NEW idea: Kernel panics and more info
Dale writes: > OK. New theory here. This came about in another thread about the > shiney new kernel, that isn't new by the way. Anyway, look at this crap: > > root@fireball / # ls -al /home/dale/ > total 640 > drwxr-xr-x 61 dale users 2672 Jul 23 10:14 . > drwxr-xr-x 7 root root 208 Jun 17 03:01 .. > drwx-- 3 dale dale2 80 Sep 3 2010 .adobe > -rw-r--r-- 1 dale users 24 Apr 10 16:40 .aspell.en.prepl > -rw-r--r-- 1 dale users 29 Apr 10 16:40 .aspell.en.pws > drwxr-xr-x 3 dale users 96 Feb 25 2010 .avidemux [...] > By comparison, check this out for my test user: > > root@fireball / # ls -al /home/dale2/ > total 73 > drwx-- 13 dale2 users 544 Jul 11 01:59 . > drwxr-xr-x 7 root root208 Jun 17 03:01 .. > -rw--- 1 dale2 500 5 Jul 11 01:59 .bash_history > -rw-r--r-- 1 dale2 users 127 Apr 18 14:04 .bash_logout > -rw-r--r-- 1 dale2 users 193 Apr 18 14:04 .bash_profile > -rw-r--r-- 1 dale2 users 551 Apr 18 14:04 .bashrc > drwxr-xr-x 4 dale2 users 128 Jul 5 12:28 .config > drwx-- 3 dale2 users80 May 8 11:55 .dbus > drwx-- 2 dale2 users 144 May 8 11:55 Desktop > -rw--- 1 dale2 users24 Jul 6 22:18 .dmrc > drwxr-xr-x 2 dale2 500 112 Jul 5 15:59 .fontconfig > drwxr-xr-x 2 dale2 500 88 Jul 11 01:51 .gstreamer-0.10 > drwxr- 2 dale2 users 112 Jul 5 15:59 .hplip > drwxr-xr-x 4 dale2 users 200 Jul 5 12:16 .kde4 > drwxr-xr-x 3 dale2 users72 May 8 11:55 .local > drwx-- 5 dale2 500 136 Jul 11 01:56 .mozilla > drwx-- 2 dale2 users48 Apr 18 14:04 .ssh > drwx-- 3 dale2 50072 Jul 5 12:21 .thumbnails > -rw--- 1 dale2 500 0 Jul 11 01:59 .Xauthority > -rw--- 1 dale2 500 50596 Jul 11 01:59 .xsession-errors > root@fireball / # > > > Why are some using the group users and others using my test user dale2? And what is group 500? Did you use your $HOME directory from another OS maybe? > I don't think I have a group dale2. Could this be the cause? You have the group, or else it would not be shown by ls. But you once group, which is only known by its GID 500 now. You can check your IDs with the 'id ' command. > What > exactly tells Linux to give those permissions? I looked around in /etc > for some file that would set this but I can't find anything. Normally, files are created with your primary group. The one that is in the fourth column of your user in /etc/passwd, you set it with usermod -g. > Even if this isn't the cause, how do I go about fixing this? If you never intended to use different groups at all, chgrp -R users $HOME should do the trick. But I doubt it has anything to do with your kernel panics. Wonko
Re: [gentoo-user] What's with foomatic-filters and cups-filters?
ic lp, then came lprng, then something else I forget and finally an upstart crowd wrote CUPS (Common Unix Printing System), eventually bought by Apple. Ironically, there's now nothing common about it and it's for iOS not Unix. Such is life. With the latest major version update Apple ripped out all the bits we find so useful and still declare the software is "for Unix". Firms like Canon had developed big expensive network-enabled stand-alone printers. You'd think this is as easy as fitting an embedded OS with a print server to replace a dedicated PC with USB/parallel ports... I've had to deal with junk that despite being branded PostScript would only work with it's own Windows drivers. 50 Linux users of all sorts and different distros could not get this bitch to work. Enter the age of network printing protocols. We have IPP running on port 631, something else that is supposedly HTML with huge amounts of extra printer-specific stuff, JetDirect, and many more things I've long ago forgotten about. Plus Samba to share a printer the way Windows does it. Did I mention PPDs? Printer Definition files that describe how to drive a printer using a standard dscription file. Awesome. Where do you get these things? Oh I dunno there's foomatic, cups built-ins, gutenprint, magicfilter and some magic thing from HP called hplip that I once found worked for an Epson inkjet! Andreas did a fine job above of describing a map to get around this driver stuff, including all the many wonderful ways these driver ebuilds have to block each other to get installed at all. And I haven't even touched on CUPS' "feature" that requires you to delete and re-add back all your printers after any remerge. Ask Dale about this, he's the resident expert and he's even figured out how to get hplip to work. Are you still here, still listening? Ye gods, this mail is 5x longer than I thought it would be. I personally have given up on printing period. I either randomly hit useful looking buttons in KDE's config widget hoping it will work, or at work I print to PDF, put it on a USB dongle and wander over to my wife's desk saying please print this on your windows machine. I'm not surprised you felt pain dealing with CUPS, I feel your pain - I really honestly do. But sadly, I can't help you fix it, see previous para :-) [1] PostScript is still alive and well today in the form of PDF, and that's how PDF started out - in it basic form it is essentially compressed PostScript with hyperlinks! -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Re: Optional /usr merge in Gentoo
On 19/08/13 18:55, Neil Bothwick wrote: > On Mon, 19 Aug 2013 11:17:06 +0100, Stroller wrote: > >>Here's a short, very in-comprehensive list of software we are aware >> of that currently are not able to provide the full set of functionality >> when /usr is split off and not pre-mounted at boot: >> udev-pci-db/udev-usb-db and all rules depending on this (using the >> PCI/USB database in /usr/share), PulseAudio, NetworkManager, >> ModemManager, udisks, libatasmart, usb_modeswitch, gnome-color-manager, >> usbmuxd, ALSA, D-Bus, CUPS, Plymouth, LVM, hplip, multipath, Argyll, >> VMWare, the locale logic of most programs and a lot of other stuff. [1] > > How much of that is needed before the contents of /etc/fstab are > mounted? I certainly don't need to run a desktop, used a 3G modem, play > sounds or load a virtual machine before then. Yes, LVM may be needed, but > the needed parts are in /sbin anyway, so that is a red herring too. > > I understand the need, even desire, of binary distros to cover all bases > by taking the safer option, but Gentoo is about choice and all reasonable > choices should be permitted. It comes down to what the council means by > "not supported". If it means "will not work" that will cause problems for > some, but if it means "you have to work it out for yourself", well, > what's the point of a community if we can't work it out between us? > > I rather suspect that they are going after the cloud/VM market ... having VM's boot quickly and simply along with no desire/need to fault find and repair ... just rm it and spin up another instance. It makes sense in that market ... what doesn't is pushing it into areas that are not appropriate and people dont want it. I think that Fedora has largely dropped off peoples list of useful distros but more interesting is how Redhat will go when these ideas start to get included in RHE - last I heard that still has not happened. I did try Fedora as a choice on our networking machines for students but took it off as no one used it as it was just "not nice" - possibly the bad vibes of gnome3 contributing - the surprise was linuxmint being more popular than ubuntu. Gentoo is there but only as a specially configured command line only tool so its not in the running. I still have not seen an adequate explanation as to why systemd isn't a profile as its far more intrusive than a gnome/kde choice and they have profiles. That way some bad choices like polluting systems with systemd files because they are only small and insignificant might be avoided. I have used the mask method but did waste some time on chasing down odd errors due to missing file errors in the logs so I would rather not have them on the system at all. So why not a profile so those guys who want to play can get a configuration that better suits them? - and vice versa if the whole systemd push dies and Redhat drops it as I doubt anyone else big enough will pick it up (they have a foot in both camps at the moment). Smaller distros that jump entirely systemd will be in trouble until they move back. BillK
[gentoo-user] new system, printing suddenly fails for all printers
I've been wrangling with a new gentoo install, on an AMD X2 64 bit machine. It's been a problematic experience, but when the system works right, it works really right. Printing has suddenly failed. I had installed foo2zjs in support of an HP P1005 printer, but it was masked by ~amd64. Then foomatic-db collided, so I upped that to ~amd64. Meanwhile, and I'm not sure this was the problem, the printer that had been working, and the deskjet that had also been working both started to fail. I've been wrestling with many issues, including alsa. There isn't any sound, and I"ve finally compiled a genkernel but the sound isn't working, neither is printing. I've seen a plethora of messages about failure to print, often cups. I have reinstalled cups, new useflags, restarted, done several things, no change. The printers are ok. Ubuntu's install disk has sound. I thought maybe alsasound was causing a problem, because when I stop the machine, it stalls on stopping alsa. I need to print. Maybe tonight I'll get on irc. Meanwhile, can someone suggest anything? Print jobs show up both in the localhost:631 and the gnome cups interfaces. They show up, and show as having printed. No such luck. I'll try to # emerge -ua --newuse world after adding ~amd64 to make.conf. maybe I don't belong with gentoo. I have to USE the computer. I can't find a distro I want, though, that I feel confident I can install quickly and be up to speed. I've cherried out this system with most of the tools I need. Maybe gotten too crazy with USE flags: ngs were set by the catalyst build script that automatically # built this stage. # Please consult /etc/make.conf.example for a more detailed example. CFLAGS="-march=k8 -O2 -pipe" CXXFLAGS="-O2 -pipe" MAKEOPTS="-j3" # WARNING: Changing your CHOST is not something that should be done lightly. # Please consult http://www.gentoo.org/doc/en/change-chost.xml before changing. CHOST="x86_64-pc-linux-gnu" # These are the USE flags that were used in addition to what is provided by the # profile used for building. USE="mmx sse sse2 kpathsea gnome svg X avahi gtk hal dbus \ startup-notification xinerama cups xscreensaver nvidia usb truetype jpeg png \ raw tiff faac faad mp3 theora v4l2 vorbis x264 xvid encode \ pdf exif xml consolekit embedded kde qt3support" ACCEPT_KEYWORDS="~amd64" VIDEO_CARDS="nvidia" INPUT_DEVICES="keyboard mouse" FOO2ZJS_DEVICES="hpp1005" LINGUAS="en" # Does it work to have layman sourced after?AED PORTDIR_OVERLAY=/usr/local/portage source /usr/local/portage/layman/make.conf GENTOO_MIRRORS="ftp://ftp.ucsb.edu/pub/mirrors/linux/gentoo/"; SYNC="rsync://rsync.namerica.gentoo.org/gentoo-portage" Some use flages in package.use net-print/foo2zjs foomaticdb net-print/hplip cupsddk app-editors/emacs-cvs gif jpeg png tiff xft net-print/cups ppds dbus X net-dns/avahi mdnsresponder-compat app-text/texlive doc dvipdfm graphics png x11-base/xorg-x11 bitmap-fonts truetype-fonts type1-fonts app-editors/emacs-cvs xft gnome-base/gnome-volume-manager automount media-video/transcode dvd net-p2p/deluge libnotify net-dns/avahi qt3 dbus media-gfx/gimp pdf I am using a few overlays: science, dev-zero, emacs. Thank you for any ideas on now to troubleshoot this. Also with Alsa. Alan Davis "...can the human soul be glimpsed through a microscope? Maybe, but you'd definitely need one of those very good ones with two eyepieces." -- Woody Allen, quoted by B. A. Palevitz
Re: [gentoo-user] Re: Gentoo net0 - auto resetting - very impressed
On 16/09/2015 00:49, the...@sys-concept.com wrote: > On 09/15/2015 01:58 PM, Alan McKinnon wrote: >> On 15/09/2015 21:53, the...@sys-concept.com wrote: > [snip] >> >>>> Yea, I almost had mine working but I just got tired of hacking >>>> away at it. It would be more straightforward to take an rpm or deb >>>> package and use it. Folks have made specific models work, but, it >>>> is a bit of work. >>>> >>>> 'eix -R brother' shows quite a few overlays (ebuilds) that cover >>>> a range of brother printers, should you desire to hack that route. >>> >>> >>> To install brother printer just follow these steps from Gentoo forum: >>> https://forums.gentoo.org/viewtopic-t-909052-highlight-brother.html >> >> >> >> Or just don't install Brother printers. They are utter crap and why >> anyone gives them desk space is beyond me. It's not like they are >> expensive either, toss 'em and buy something real. >> >> Recent Samsung, Epson and everything supported by hplip all work great. > > I had a different experience with Samsung printers. I bought one model > and it had a big bold letters that it works with Linux. > When I try to install printer driver, it was impossible. It came with > some kind of script the relied on an old/obsolete library so it was > impossible to install it. Samsung did that once 10 years ago, and slashdot made them pay with ridicule. Samsung is a very unusual company, they take note of their mistakes and fix them very quickly. Their latest printers do not make that same stupid mistake; mine is a recent colour laser and the cheapest in the range. Doesn't even have a display or keyboard so it creates it's own ad-hoc wifi connection so you can connect and configure in a browser. Once it's on your real network, it all JustWorks(tm) and understands postscript, PCL, SPL and ipp. Drivers? What drivers? It's bog standard PCL so the generic ppds all work. None of this stupid bloody nonsense of the printer implementing a weird once-off control language that only works on one model and is a pain to set up. The value in a printer is fast, accurate printing with cost-effective inks/toners and that doesn't piss off the customer base. Samsung knows this and it's apparent in all there products for years now. Witness their Android phones > > On Fedora, script installs brother printer base on Brother source > web-page driver, it works perfectly. On Gentoo it is a manual/painful > setup if you doing it the first time. This has been explained to you several times already. Fedora takes pains to automate such things as-shipped as a convenience for their userbase. It's their contract with them and at the heart of the distro they build. Gentoo does not offer such a distro. Gentoo offers a highly customizable source-based distro where you can get what _you_ want, the price you pay is that you have to do the nice neat user-facing convenience parts yourself - things like drivers, icon themes, choice of wm and more. Gentoo has never, and never will, offer an ebuild like that brother printer by default. -- Alan McKinnon alan.mckin...@gmail.com
Re: [gentoo-user] Buying a low-cost printer for Linux
Mark Knecht wrote: > On Wed, Dec 3, 2008 at 11:52 PM, Dale <[EMAIL PROTECTED]> wrote: > >> Dominic Kexel wrote: >> >>> That's right, i totaly agree. If you buy a HP-printer, you (almost) can't >>> do something wrong. I am using a HP Deskjet F2180 (40€). Printing and >>> scanning both work without problems. >>> >>> On Wed, 3 Dec 2008 22:00:28 -0800 >>> "Manuel McLure" <[EMAIL PROTECTED]> wrote: >>> >>> >>> >>> >> I have a HP Deskjet D4260 that I got from newegg for less than $50.00. >> It works very well. Before that I had a little Deskjet 3820 which I had >> for years. It finally lost its head. Turn it on and it just goes from >> side to side until I cut it off. The 4260 also has the option of using >> the hi yield cartridges too. It can print for a long time without >> running out of ink. >> >> I think if you get a HP printer, you will do all right. I wouldn't get >> the latest thing unless I checked for drivers first tho. Also, to get >> my old 3820 to work, I googled for the ppd file and put it in the right >> place for cups. That was before hplip came out. I don't remember >> having to do that with the 4260. >> >> Hope that helps give you some ideas. >> >> Dale >> >> > > Thanks Dale, and everyone who suggests HP. This is probably the best > way to go if he decides to stay with an inexpensive ink-jet. > > I'm intrigued by Albert's suggestion to look for a $400 color laser > printer. It's not a great solution for my house by my Dad's flush so > he might like that sort of solution. > > A question I have about laser printers, from the old days whn I had > one, is aren't they really pretty bad reliability for low print volume > applications. My old laser printer, made by some off-brand company > that was early into the Postscript clone game, was that the rollers > very quickly got flat spots because we didn't print every day. When we > would print the paper wouldn't feed correctly and the quality was bad. > I don't think my Dad is going to print more than 2-3 pages/day on > average and since they travel now and again it could sit idle for a > week or two. > > I suppose I could make some sort of cron job that printed one page a > day if that was a reasonable solution. > > Very interested in your ideas and greatful for all the responses. > > Cheers, > Mark > I have a friend that owned a business that was closed on weekends. Every Monday we had to fan the paper and take out the toner cartridge and give it a little shake. I have heard that if it is a humid location that you either have to leave the printer on or print a lot. The claim was the toner would start to clump from the moister in the air. I have never seen that happen myself. That was a long time ago and surely by now they have fixed those "issues". Laser is good but also keep your light bill in mind. They do use a good bit more electricity. Dale :-) :-)
[gentoo-user] Imagemagick and gnome packages
I noticed a number of new gnome related packages dropping in all of a sudden as a result of the new svg USE flag in imagemagick: = # emerge -uptDv world These are the packages that would be merged, in reverse order: Calculating world dependencies... done! [nomerge ] net-print/hplip-2.7.10 USE="X ppds scanner -doc -fax -minimal -parport -snmp" [nomerge ] dev-python/PyQt-3.17.3 USE="-debug -doc -examples" [nomerge ] x11-libs/qscintilla-2.1-r1 [1.7.1] USE="python%* qt4%* -debug% -doc -examples%" [ebuild N]dev-python/qscintilla-python-2.1 USE="qt4" 1,824 kB [ebuild U ] x11-libs/qscintilla-2.1-r1 [1.7.1] USE="python%* qt4%* -debug% -doc -examples%" 0 kB [ebuild U ] www-client/mozilla-firefox-bin-2.0.0.12 [2.0.0.11] USE="-restrict-javascript" LINGUAS="el en_GB -af -ar -be -bg -ca -cs -da -de -es -es_AR -es_ES -eu -fi -fr -fy -fy_NL -ga -ga_IE -gu -gu_IN -he -hu -it -ja -ka -ko -ku -lt -mk -mn -nb -nb_NO -nl -nn -nn_NO -pa -pa_IN -pl -pt -pt_BR -pt_PT -ro -ru -sk -sl -sv -sv_SE -tr -uk -zh -zh_CN -zh_TW" 9,774 kB [nomerge ] dev-python/qscintilla-python-2.1 USE="qt4" [ebuild N] dev-python/PyQt4-4.3.3 USE="-debug -doc -examples" 6,047 kB [ebuild U ] media-libs/xine-lib-1.1.10.1 [1.1.10] USE="X a52 aac aalib alsa dts dvd flac imagemagick mad mng modplug musepack nls opengl oss real sdl speex theora truetype v4l vcd vidix vorbis win32codecs xcb xv xvmc (-altivec) -arts -debug -directfb -dxr3 -esd -fbcon -gnome -gtk -ipv6 -jack -libcaca -mmap -pulseaudio -samba -wavpack -xinerama" 7,264 kB [ebuild U ] media-gfx/imagemagick-6.3.7.9 [6.3.5.10] USE="X bzip2 jpeg perl png svg%* tiff truetype wmf xml zlib -djvu% -doc -fontconfig% -fpx -graphviz -gs -hdri -jbig -jpeg2k -lcms -nocxx -openexr -q32 -q8 (-mpeg%*)" 7,331 kB [ebuild N] gnome-base/librsvg-2.20.0 USE="zlib -debug -doc -gnome" 453 kB [ebuild U ] app-text/ghostscript-esp-8.15.4 [8.15.3] USE="X cups xml -cjk -djvu% -gtk -threads" 8,580 kB [ebuild U ] app-admin/testdisk-6.8-r1 [6.5] USE="jpeg ntfs reiserfs -static" 751 kB [ebuild U ] sys-fs/ntfsprogs-2.0.0 [1.13.1-r1] USE="crypt -debug -fuse -gnome" 883 kB [ebuild N] dev-libs/libconfig-1.2 494 kB [nomerge ] gnome-base/librsvg-2.20.0 USE="zlib -debug -doc -gnome" [ebuild N] gnome-extra/libgsf-1.14.7 USE="bzip2 python -debug -doc -gnome" 0 kB [nomerge ] net-print/cups-1.2.12-r4 USE="X dbus jpeg ldap nls pam png ppds ssl tiff -php -samba -slp" [nomerge ] net-libs/gnutls-2.0.4 USE="nls zlib -doc -guile -lzo" [ebuild U ] dev-libs/libtasn1-1.2 [0.3.5] USE="-doc" 1,476 kB [ebuild NS ] sys-kernel/gentoo-sources-2.6.23-r8 USE="-build -symlink" 280 kB [nomerge ] dev-python/PyQt4-4.3.3 USE="-debug -doc -examples" [ebuild U ] dev-python/sip-4.7.3 [4.7.1] USE="-debug" 436 kB [ebuild U ] sys-fs/dosfstools-2.11-r3 [2.11-r1] 0 kB [ebuild U ] www-client/mozilla-launcher-1.58 [1.56] 7 kB [nomerge ] net-print/cups-1.2.12-r4 USE="X dbus jpeg ldap nls pam png ppds ssl tiff -php -samba -slp" [ebuild U ] app-text/libpaper-1.1.23 [1.1.21] 343 kB Total: 18 packages (12 upgrades, 5 new, 1 in new slot), Size of downloads: 45,936 kB = Other than setting -svg for imagemagick is there anything else I could do to keep these additional gnome packages out? -- Regards, Mick signature.asc Description: This is a digitally signed message part.
Re: [gentoo-user] NEW idea: Kernel panics and more info
OK. New theory here. This came about in another thread about the shiney new kernel, that isn't new by the way. Anyway, look at this crap: root@fireball / # ls -al /home/dale/ total 640 drwxr-xr-x 61 dale users 2672 Jul 23 10:14 . drwxr-xr-x 7 root root 208 Jun 17 03:01 .. drwx-- 3 dale dale2 80 Sep 3 2010 .adobe -rw-r--r-- 1 dale users 24 Apr 10 16:40 .aspell.en.prepl -rw-r--r-- 1 dale users 29 Apr 10 16:40 .aspell.en.pws drwxr-xr-x 3 dale users 96 Feb 25 2010 .avidemux drwxr-xr-x 2 dale dale2 48 Feb 7 07:14 backup -rw--- 1 dale users 3685 Jul 23 01:59 .bash_history -rw-r--r-- 1 dale users127 Dec 8 2008 .bash_logout -rw-r--r-- 1 dale users193 Dec 8 2008 .bash_profile -rw-r--r-- 1 dale users551 Dec 8 2008 .bashrc drwxr-xr-x 4 dale users104 Apr 12 10:50 .cache drwxr-xr-x 10 dale users256 Jan 2 2010 .cddb drwx-- 16 dale users480 Jul 5 00:54 .config drwx-- 2 dale users 80 Aug 28 2009 .cups -rw-r--r-- 1 dale users263 Jan 25 2009 dalek1967.revoke -rw-r--r-- 1 dale users279 Oct 8 2006 dalek.revoke drwx-- 3 dale users 80 Dec 11 2008 .dbus -rw-r--r-- 1 dale ssmtp 20337 Mar 12 16:36 dead.letter drwx-- 3 dale users688 Jul 23 05:18 Desktop -rw--- 1 root root 119 Jun 17 03:03 .directory -rw--- 1 dale users 24 Jul 18 00:18 .dmrc -rw-r--r-- 1 dale users 40 Feb 10 2009 .dolphinview drwxr-xr-x 2 dale dale2 48 Jan 18 2011 Downloads drwxr-xr-x 2 dale dale2136 Jul 23 02:26 dwhelper -rw--- 1 dale users 16 Jan 26 2009 .esd_auth -rw-r--r-- 1 dale users 7669 Feb 16 2009 .face.icon -rwxr-xr-x 1 root root 786 Oct 30 2009 fahback drwxr-xr-x 6 dale dale2440 Jul 17 23:49 .fluxbox drwxr-xr-x 2 dale users 4912 Jul 18 00:15 .fontconfig drwxr-xr-x 2 dale users152 Dec 11 2008 .fonts -rw-r--r-- 1 dale users530 Feb 21 2010 .fonts.conf drwx-- 2 dale users 48 Jun 6 23:30 .gconf drwx-- 2 dale users 80 Jun 10 00:51 .gconfd drwx-- 4 dale users 96 Mar 29 2009 .gegl-0.0 drwxr-xr-x 22 dale users984 Jun 28 16:45 .gimp-2.6 drwxrwxr-x 6 dale users456 Jul 15 03:07 .gkrellm2 drwx-- 3 dale users 72 Sep 28 2009 .gnome2 drwx-- 2 dale users 48 Dec 11 2008 .gnome2_private drwx-- 3 dale users592 Jul 23 10:05 .gnupg drwx-- 6 dale users296 Jun 6 15:02 .googleearth drwx-- 2 dale users 72 Dec 25 2008 .gphoto drwxr-xr-x 5 dale users208 Mar 26 2010 .gqview drwxr-xr-x 2 dale users128 Jul 8 15:44 .gstreamer-0.10 -rw-r--r-- 1 dale users254 Jan 20 2011 .gtk-bookmarks -rw-r--r-- 1 dale dale2429 Jul 5 13:13 .gtkrc-2.0 lrwxrwxrwx 1 dale dale2 21 Jul 5 13:13 .gtkrc-2.0-kde4 -> /home/dale/.gtkrc-2.0 drwxr- 2 dale users112 Jul 2 19:14 .hplip -rw-r--r-- 1 dale dale2 4364 Jun 17 00:29 .hugin -rw--- 1 dale users 0 Mar 12 2010 .ICEauthority drwxr-xr-x 3 dale dale2 72 Mar 15 10:59 .icedtea drwxr-xr-x 3 dale dale2136 Jan 24 22:11 .icedteaplugin drwxr-xr-x 2 dale dale2 72 Jul 18 00:15 .icewm drwxr-xr-x 4 dale dale2112 Sep 4 2010 .java drwxr-xr-x 6 root root 568 Jul 8 17:05 .kde4 drwxr-xr-x 6 dale users568 Dec 13 2010 .kde4.old drwxr-xr-x 5 dale dale2120 Jun 26 15:28 kdenlive -rw--- 1 dale users521 Jul 19 21:32 .kderc drwxr--r-- 2 dale dale2 72 Mar 12 16:36 .linuxcounter drwx-- 3 dale users152 May 6 2010 .local drwx-- 3 dale dale2 80 Sep 3 2010 .macromedia drwxr-xr-x 3 dale users 72 May 15 2010 .marble drwxr-xr-x 3 dale users112 Dec 11 2008 .mcop -rw--- 1 dale users 31 Mar 12 2010 .mcoprc drwx-- 5 dale users136 Jul 11 02:06 .mozilla drwxr-xr-x 2 dale users 88 Jan 2 2009 .mp3splt-gtk drwxr-xr-x 2 dale users 96 Dec 12 2009 .mplayer drwxr-xr-x 3 dale dale2 72 Jan 18 2011 .netx drwxr-xr-x 2 dale users104 Oct 11 2009 .nvclock -rw-r--r-- 1 dale dale2 1204 Jun 6 03:00 .nvidia-settings-rc drwx-- 3 dale dale2 72 Jun 16 04:14 .ooo3 drwx-- 3 dale users 72 Nov 18 2010 .ooo3.old drwx-- 10 dale users992 May 21 2009 .opera drwxr-xr-x 2 dale users 80 Jan 9 2009 .porthole -rw-r--r-- 1 dale dale2172 Feb 12 02:33 .ptbt1 drwx-- 6 dale users304 Oct 10 2010 .purple drwxr-xr-x 7 dale users272 Mar 22 2010 .PySolFC drwxr-xr-x 2 dale users296 Mar 12 2010 .qt -rw-r--r-- 1 dale users280 May 17 2009 rdalek1967.revoke -rw--- 1 dale users 9131 Jun 16 04:14 .recently-used drwxr-xr-x 4 dale users320 Apr 10 16:55 .scribus drwx-- 2 dale users 48 Dec 8 2008 .ssh drwx-- 4 dale dale2 96 Jul 22 01:20 .thumbnails drwxr-xr-x 2 dale users 72 Feb 21 2010 .tkdvd -rw-r--r-- 1 dale users 1147 Feb 11 2010 .tuxcards -rw-r--r-- 1 dale dale2127 Jun 17 2010 .Wammu drwxr-xr-x 2 dale users 48 Jan 24 2009 .wapi -rw-r--r--
Re: [gentoo-user] NEW idea: Kernel panics and more info
Alex Schuster wrote: Dale writes: OK. New theory here. This came about in another thread about the shiney new kernel, that isn't new by the way. Anyway, look at this crap: root@fireball / # ls -al /home/dale/ total 640 drwxr-xr-x 61 dale users 2672 Jul 23 10:14 . drwxr-xr-x 7 root root 208 Jun 17 03:01 .. drwx-- 3 dale dale2 80 Sep 3 2010 .adobe -rw-r--r-- 1 dale users 24 Apr 10 16:40 .aspell.en.prepl -rw-r--r-- 1 dale users 29 Apr 10 16:40 .aspell.en.pws drwxr-xr-x 3 dale users 96 Feb 25 2010 .avidemux [...] By comparison, check this out for my test user: root@fireball / # ls -al /home/dale2/ total 73 drwx-- 13 dale2 users 544 Jul 11 01:59 . drwxr-xr-x 7 root root208 Jun 17 03:01 .. -rw--- 1 dale2 500 5 Jul 11 01:59 .bash_history -rw-r--r-- 1 dale2 users 127 Apr 18 14:04 .bash_logout -rw-r--r-- 1 dale2 users 193 Apr 18 14:04 .bash_profile -rw-r--r-- 1 dale2 users 551 Apr 18 14:04 .bashrc drwxr-xr-x 4 dale2 users 128 Jul 5 12:28 .config drwx-- 3 dale2 users80 May 8 11:55 .dbus drwx-- 2 dale2 users 144 May 8 11:55 Desktop -rw--- 1 dale2 users24 Jul 6 22:18 .dmrc drwxr-xr-x 2 dale2 500 112 Jul 5 15:59 .fontconfig drwxr-xr-x 2 dale2 50088 Jul 11 01:51 .gstreamer-0.10 drwxr- 2 dale2 users 112 Jul 5 15:59 .hplip drwxr-xr-x 4 dale2 users 200 Jul 5 12:16 .kde4 drwxr-xr-x 3 dale2 users72 May 8 11:55 .local drwx-- 5 dale2 500 136 Jul 11 01:56 .mozilla drwx-- 2 dale2 users48 Apr 18 14:04 .ssh drwx-- 3 dale2 50072 Jul 5 12:21 .thumbnails -rw--- 1 dale2 500 0 Jul 11 01:59 .Xauthority -rw--- 1 dale2 500 50596 Jul 11 01:59 .xsession-errors root@fireball / # Why are some using the group users and others using my test user dale2? And what is group 500? Did you use your $HOME directory from another OS maybe? I did copy a couple directories from the old install, emails and such, but most everything was done fresh when I installed Gentoo on this rig. I tend to let the permissions stay as they are. I do change some permissions on my /data directory sometimes tho. Usually to prevent me from doing something accidentally you know. I have no idea what group 500 is or where it came from. That is one goood question. I don't think I have a group dale2. Could this be the cause? You have the group, or else it would not be shown by ls. But you once group, which is only known by its GID 500 now. You can check your IDs with the 'id' command. What exactly tells Linux to give those permissions? I looked around in /etc for some file that would set this but I can't find anything. Normally, files are created with your primary group. The one that is in the fourth column of your user in /etc/passwd, you set it with usermod -g. That had 500 in it for the group. I guess that is how that happened but no idea how it got set that way. It's fixed now tho. Even if this isn't the cause, how do I go about fixing this? If you never intended to use different groups at all, chgrp -R users $HOME should do the trick. But I doubt it has anything to do with your kernel panics. Wonko It may not but while I am grasping at straws, I'll get this fixed too. Thanks for the reply. I got some of this sorted out now. Dale :-) :-)
Re: [gentoo-user] GNOME: Selecting shut down in the menu sometimes lands me back a gdm login screen.
Alan McKinnon wrote: > On Wednesday 03 February 2010 09:15:05 ubiquitous1980 wrote: > >> Daniel Troeder wrote: >> >>> On 02/02/2010 06:10 PM, ubiquitous1980 wrote: >>> >>>> Selecting shut down in the menu sometimes lands me back a gdm login >>>> screen. At other times, the computer shuts down normally. >>>> >>> When I had similar problems it was sometimes because of >>> permission-problems when talking to some service over the dbus. Check >>> your ~/.xsession-errors for "dbus-send" errors. >>> >>> Just a wild guess :) >>> Daniel >>> >> It hasn't done it in the last few reboots, but I have nopasted it: >> http://dpaste.com/154084/ to see if you might find any problems >> >> > > Please don't use short-lived URL shorteners here. This list is archived and > after a time your posted info goes away and cannot help any future user. > > The post was very small anyway and it's perfectly acceptable to insert it in- > line. > > No worries Alan. Here are the full details of that config file. /etc/X11/gdm/Xsession: Beginning session setup... which: no keychain in (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4:/usr/lib64/subversion/bin:/usr/games/bin) /etc/X11/gdm/Xsession: Setup done, will execute: gnome-session GNOME_KEYRING_SOCKET=/tmp/keyring-OaCPoA/socket SSH_AUTH_SOCK=/tmp/keyring-OaCPoA/socket.ssh shm_open() failed: Permission denied Window manager warning: Failed to read saved session file /home/ubiquitous1980/.config/metacity/sessions/10f50da8e07be8ee3112651893384549780046660017.ms: Failed to open file '/home/ubiquitous1980/.config/metacity/sessions/10f50da8e07be8ee3112651893384549780046660017.ms': No such file or directory (gnome-settings-daemon:4705): GLib-GObject-CRITICAL **: g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed (gnome-settings-daemon:4705): GLib-GObject-CRITICAL **: g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed ** Message: NumLock remembering disabled because hostname is set to "localhost" shm_open() failed: Permission denied shm_open() failed: Permission denied shm_open() failed: Permission denied shm_open() failed: Permission denied ** (gnome-volume-control-applet:4822): DEBUG: Disabling debugging shm_open() failed: Permission denied shm_open() failed: Permission denied shm_open() failed: Permission denied Failure: Module initalization failed ** (nm-applet:4811): WARNING **: request_name(): Could not acquire the session service as it is already taken. Return: 3 ** (nm-applet:4811): WARNING **: constructor(): Couldn't initialize the D-Bus manager. ** Message: Initializing gksu extension... (gnome-panel:4771): Gtk-WARNING **: gtk_widget_size_allocate(): attempt to allocate widget with width -9 and height 24 Unable to open desktop file epiphany.desktop for panel launcher Unable to open desktop file evolution.desktop for panel launcher ** (nautilus:4792): WARNING **: Unable to add monitor: Not supported ** (nautilus:4792): WARNING **: Unable to add monitor: Not supported error: option --qt not a unique prefix HP Linux Imaging and Printing System (ver. 2.8.6b) System Tray Status Service ver. 0.1 Copyright (c) 2001-8 Hewlett-Packard Development Company, LP This software comes with ABSOLUTELY NO WARRANTY. This is free software, and you are welcome to distribute it under certain conditions. See COPYING file for more details. Usage: hp-systray [OPTIONS] [OPTIONS] Force Qt3: --qt3 (default) Force Qt4: --qt4 Startup even if no -x or --force-startup hplip CUPS queues are present: Set the logging -l or --logging= level: : none, info*, error, warn, debug (*default) Run in debug mode: -g (same as option: -ldebug) This help -h or --help information: ** (gnome-settings-daemon:4705): WARNING **: No screensaver available No running windows found Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2200045 (Mozilla Fi) Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed. Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message with a timestamp of 0 for 0x2200045 (Mozilla Fi) Window manager warning: meta_window_activate called by a pager with a 0 timestamp; the pager needs to be fixed.
Re: [gentoo-user] How the HAL are you supposed to use these files?
On 2/8/2010 5:20 PM, Alan Mackenzie wrote: . Am I the only person that finds this semantic gibberish? Is there any explanation somewhere of what a "policy" aka "device rule" is? What is the semantic significance of a "device rule"? What does it mean, to "rule a device", or what sort of restrictions are being placed on this device? Given that one might desire a "basic working keyboard/mouse combination", what is the chain of reasoning that ends up selecting the file called "10-input-policy.fdi" from all the other ones? This file is an inpenetrable stanza of uncommented XML. Are its verbs documented somewhere? What do "" and"" mean, for example? The way HAL works, in a nutshell, is to scan your system for every known piece of hardware it can find, and stores the information in a tree-like database of key/value pairs. Software can then query this database for information about whatever hardware you have. The information includes things like the bus location of the hardware, the manufacturer information, state information, and a lists of known capabilities like "keyboard", "mouse", "disk", etc. Device Rules are simply ways for the user to change values in the database after a device has been detected. The XML files work in two steps: 1. an existing node in the database, 2. or For example, the hplip printer/scanner drivers include a set of HAL rules that match HP devices by their PCI device information, then append "scanner" to their list of capabilities. Other software can then scan the HAL database for "all scanners" and find them. The synaptics touchpad driver (if you build it +hal) includes a set of HAL rules that overrides the standard 'mouse' rules to make your touchpad more useful. That bit about you having to do anything to make a "basic working" setup function, though, is wrong. On Gentoo, at least, everything you need for a working keyboard and mouse in X should be installed properly for you by default. You'd only need to mess with the rules if something didn't work. But, see below. Can this new-style fragmented XML configuration do anything that a good old-fashioned, human-readable and compact xorg.conf can't? If so, what? What am I missing here? HAL manages a *lot* more than just your X configuration. It's intended to be a complete hardware management layer, one that was able to keep pace with new hardware more quickly than the kernel could. If you run the HAL database dump utility "lshal" you'll see more information about your hardware than you could ever possible care to know. Please, somebody, tell me all this HAL stuff is straightforwardly explained in an easily accessible Gentoo document, so that I can hang my head in shame and apologise for the noise! ;-) Oddly enough, the most complete explanation of HAL I've ever found was on the Gentoo wiki and I think the page may be lost. It was never really documented that well, though there are a number of places you can find specific ways to do specific things (like using a touchpad) with HAL. The key point here, though, is that HAL is going away. Not because it was hard to configure, though -- because the code is an "unmaintainable mess" and because other software, like udev, duplicated much of its purpose. At this point, if it's not working for you out of the box, turn it back off and revert to the old style configuration file.
Re: [gentoo-user] NEW idea: Kernel panics and more info
On Sat, Jul 23, 2011 at 10:26 AM, Dale wrote: > OK. New theory here. This came about in another thread about the shiney > new kernel, that isn't new by the way. Anyway, look at this crap: > > root@fireball / # ls -al /home/dale/ > total 640 > drwxr-xr-x 61 dale users 2672 Jul 23 10:14 . > drwxr-xr-x 7 root root 208 Jun 17 03:01 .. > drwx-- 3 dale dale2 80 Sep 3 2010 .adobe > -rw-r--r-- 1 dale users 24 Apr 10 16:40 .aspell.en.prepl > -rw-r--r-- 1 dale users 29 Apr 10 16:40 .aspell.en.pws > drwxr-xr-x 3 dale users 96 Feb 25 2010 .avidemux > drwxr-xr-x 2 dale dale2 48 Feb 7 07:14 backup > -rw--- 1 dale users 3685 Jul 23 01:59 .bash_history > -rw-r--r-- 1 dale users127 Dec 8 2008 .bash_logout > -rw-r--r-- 1 dale users193 Dec 8 2008 .bash_profile > -rw-r--r-- 1 dale users551 Dec 8 2008 .bashrc > drwxr-xr-x 4 dale users104 Apr 12 10:50 .cache > drwxr-xr-x 10 dale users256 Jan 2 2010 .cddb > drwx-- 16 dale users480 Jul 5 00:54 .config > drwx-- 2 dale users 80 Aug 28 2009 .cups > -rw-r--r-- 1 dale users263 Jan 25 2009 dalek1967.revoke > -rw-r--r-- 1 dale users279 Oct 8 2006 dalek.revoke > drwx-- 3 dale users 80 Dec 11 2008 .dbus > -rw-r--r-- 1 dale ssmtp 20337 Mar 12 16:36 dead.letter > drwx-- 3 dale users688 Jul 23 05:18 Desktop > -rw--- 1 root root 119 Jun 17 03:03 .directory > -rw--- 1 dale users 24 Jul 18 00:18 .dmrc > -rw-r--r-- 1 dale users 40 Feb 10 2009 .dolphinview > drwxr-xr-x 2 dale dale2 48 Jan 18 2011 Downloads > drwxr-xr-x 2 dale dale2136 Jul 23 02:26 dwhelper > -rw--- 1 dale users 16 Jan 26 2009 .esd_auth > -rw-r--r-- 1 dale users 7669 Feb 16 2009 .face.icon > -rwxr-xr-x 1 root root 786 Oct 30 2009 fahback > drwxr-xr-x 6 dale dale2440 Jul 17 23:49 .fluxbox > drwxr-xr-x 2 dale users 4912 Jul 18 00:15 .fontconfig > drwxr-xr-x 2 dale users152 Dec 11 2008 .fonts > -rw-r--r-- 1 dale users530 Feb 21 2010 .fonts.conf > drwx-- 2 dale users 48 Jun 6 23:30 .gconf > drwx-- 2 dale users 80 Jun 10 00:51 .gconfd > drwx-- 4 dale users 96 Mar 29 2009 .gegl-0.0 > drwxr-xr-x 22 dale users984 Jun 28 16:45 .gimp-2.6 > drwxrwxr-x 6 dale users456 Jul 15 03:07 .gkrellm2 > drwx-- 3 dale users 72 Sep 28 2009 .gnome2 > drwx-- 2 dale users 48 Dec 11 2008 .gnome2_private > drwx-- 3 dale users592 Jul 23 10:05 .gnupg > drwx-- 6 dale users296 Jun 6 15:02 .googleearth > drwx-- 2 dale users 72 Dec 25 2008 .gphoto > drwxr-xr-x 5 dale users208 Mar 26 2010 .gqview > drwxr-xr-x 2 dale users128 Jul 8 15:44 .gstreamer-0.10 > -rw-r--r-- 1 dale users254 Jan 20 2011 .gtk-bookmarks > -rw-r--r-- 1 dale dale2429 Jul 5 13:13 .gtkrc-2.0 > lrwxrwxrwx 1 dale dale2 21 Jul 5 13:13 .gtkrc-2.0-kde4 -> > /home/dale/.gtkrc-2.0 > drwxr- 2 dale users112 Jul 2 19:14 .hplip > -rw-r--r-- 1 dale dale2 4364 Jun 17 00:29 .hugin > -rw--- 1 dale users 0 Mar 12 2010 .ICEauthority > drwxr-xr-x 3 dale dale2 72 Mar 15 10:59 .icedtea > drwxr-xr-x 3 dale dale2136 Jan 24 22:11 .icedteaplugin > drwxr-xr-x 2 dale dale2 72 Jul 18 00:15 .icewm > drwxr-xr-x 4 dale dale2112 Sep 4 2010 .java > drwxr-xr-x 6 root root 568 Jul 8 17:05 .kde4 > drwxr-xr-x 6 dale users568 Dec 13 2010 .kde4.old > drwxr-xr-x 5 dale dale2120 Jun 26 15:28 kdenlive > -rw--- 1 dale users521 Jul 19 21:32 .kderc > drwxr--r-- 2 dale dale2 72 Mar 12 16:36 .linuxcounter > drwx-- 3 dale users152 May 6 2010 .local > drwx-- 3 dale dale2 80 Sep 3 2010 .macromedia > drwxr-xr-x 3 dale users 72 May 15 2010 .marble > drwxr-xr-x 3 dale users112 Dec 11 2008 .mcop > -rw--- 1 dale users 31 Mar 12 2010 .mcoprc > drwx-- 5 dale users136 Jul 11 02:06 .mozilla > drwxr-xr-x 2 dale users 88 Jan 2 2009 .mp3splt-gtk > drwxr-xr-x 2 dale users 96 Dec 12 2009 .mplayer > drwxr-xr-x 3 dale dale2 72 Jan 18 2011 .netx > drwxr-xr-x 2 dale users104 Oct 11 2009 .nvclock > -rw-r--r-- 1 dale dale2 1204 Jun 6 03:00 .nvidia-settings-rc > drwx-- 3 dale dale2 72 Jun 16 04:14 .ooo3 > drwx-- 3 dale users 72 Nov 18 2010 .ooo3.old > drwx-- 10 dale users992 May 21 2009 .opera > drwxr-xr-x 2 dale users 80 Jan 9 2009 .porthole > -rw-r--r-- 1 dale dale2172 Feb 12 02:33 .ptbt1 > drwx-- 6 dale users304 Oct 10 2010 .purple > drwxr-xr-x 7 dale users272 Mar 22 2010 .PySolFC > drwxr-xr-x 2 dale users296 Mar 12 2010 .qt > -rw-r--r-- 1 dale users280 May 17 2
[gentoo-user] Why is dhcpcd starting by itself?
On Thursday night, I emerged some packages Thu Feb 23 23:26:44 2012 >>> net-libs/webkit-gtk-1.6.3-r300 Thu Feb 23 23:29:44 2012 >>> www-client/midori-0.4.3 Thu Feb 23 23:45:36 2012 >>> sys-apps/portage-2.1.10.49 Thu Feb 23 23:52:50 2012 >>> media-libs/libpng-1.5.9 Thu Feb 23 23:53:45 2012 >>> sys-apps/openrc-0.9.9 Thu Feb 23 23:56:43 2012 >>> dev-libs/libgcrypt-1.5.0-r2 Thu Feb 23 23:58:35 2012 >>> media-libs/libmikmod-3.2.0_beta2-r5 Thu Feb 23 23:59:20 2012 >>> media-libs/vo-aacenc-0.1.2 Fri Feb 24 00:00:44 2012 >>> dev-libs/libevent-2.0.17 Fri Feb 24 00:06:11 2012 >>> dev-libs/libxml2-2.7.8-r5 Fri Feb 24 00:07:26 2012 >>> media-sound/alsa-utils-1.0.25-r1 Fri Feb 24 00:08:35 2012 >>> sys-apps/file-5.11 Fri Feb 24 00:10:28 2012 >>> media-libs/imlib2-1.4.5 Fri Feb 24 00:15:00 2012 >>> sys-apps/util-linux-2.20.1-r2 Fri Feb 24 00:15:18 2012 >>> dev-util/intltool-0.50.1 Fri Feb 24 00:19:57 2012 >>> net-print/hplip-3.12.2-r1 Fri Feb 24 00:23:30 2012 >>> media-sound/mpd-0.16.7 Fri Feb 24 00:23:47 2012 >>> dev-tex/latexmk-430a Fri Feb 24 00:24:20 2012 >>> dev-tex/latex-beamer-3.13 On Friday morning, I started having network problems. wicd would try to connect to the access point, and fail. [ 49.754744] r8169 :01:00.0: eth0: link down [ 50.958354] r8169 :01:00.0: eth0: link down [ 52.349167] wlan0: authenticate with 00:01:e3:4b:4a:6d (try 1) [ 52.355694] wlan0: authenticated [ 52.355762] wlan0: associate with 00:01:e3:4b:4a:6d (try 1) [ 52.358116] wlan0: RX AssocResp from 00:01:e3:4b:4a:6d (capab=0x411 status=0 aid=6) [ 52.358130] wlan0: associated [ 58.579496] wlan0: deauthenticating from 00:01:e3:4b:4a:6d by local choice (reason=3) [ 58.589726] cfg80211: Calling CRDA to update world regulatory domain [ 58.751572] r8169 :01:00.0: eth0: link down [ 59.954878] r8169 :01:00.0: eth0: link down [ 61.359184] wlan0: authenticate with 00:01:e3:4b:4a:6d (try 1) [ 61.365490] wlan0: authenticated [ 61.365561] wlan0: associate with 00:01:e3:4b:4a:6d (try 1) [ 61.367884] wlan0: RX AssocResp from 00:01:e3:4b:4a:6d (capab=0x411 status=0 aid=6) [ 61.367898] wlan0: associated [ 65.108874] wlan0: deauthenticating from 00:01:e3:4b:4a:6d by local choice (reason=3) [ 65.119716] cfg80211: Calling CRDA to update world regulatory domain [ 65.295639] r8169 :01:00.0: eth0: link down [ 262.492240] r8169 :01:00.0: eth0: link down A bit of tracking plus memories of bygone days led me to realise that, for some reason, the two copies of dhcpcd client were being run! One was started by wicd, after it associates to the AP. But how'bout the other one? Well, on boot up this morning, I saw that, for the first time in a *very long while* that DHCPCD is being started at boot time as a service. Now, I am sure I didn't include it as a service. Gee-Mi-Ni ~ # rc-update show alsasound | default bootmisc | boot consolefont | boot dbus | default devfs |sysinit dmesg |sysinit fsck | boot gpm | default hostname | boot hwclock | boot keymaps | boot killprocs |shutdown local | default nonetwork localmount | boot metalog | boot modules | boot mount-ro |shutdown mtab | boot net.lo | boot netmount | default procfs | boot root | boot savecache |shutdown swap | boot swapfiles | boot sysctl | boot termencoding | boot udev |sysinit udev-postmount | default urandom | boot wicd | boot Okay, on the other hand rc-status showed something I haven't seen before Dynamic Runlevel: needed sysfs[started] dhcpcd [started] Huh, simple enough, some other service needs dhcpcd to be running. Okay. Let me see which one it is: Gee-Mi-Ni init.d # grep dhcpcd /etc/init.d/* /etc/init.d/dhcpcd:command=/sbin/dhcpcd /etc/init.d/dhcpcd:pidfile=/var/run/dhcpcd.pid /etc/init.d/wpa_supplicant: before dns dhcpcd net uh, apparently none of them? Can someone help me figure out how to find the offending initscript that is needlessly calling dhcpcd? Cheers, W -- Data aequatione quotcunque fluentes quantitae involvente fluxiones invenire et vice versa ~~~ I. Newton
Re: [gentoo-user] GNOME: Selecting shut down in the menu sometimes lands me back a gdm login screen.
On 02/03/2010 05:50 PM, ubiquitous1980 wrote: > Alan McKinnon wrote: >> On Wednesday 03 February 2010 09:15:05 ubiquitous1980 wrote: >> >>> Daniel Troeder wrote: >>> >>>> On 02/02/2010 06:10 PM, ubiquitous1980 wrote: >>>> >>>>> Selecting shut down in the menu sometimes lands me back a gdm login >>>>> screen. At other times, the computer shuts down normally. >>>>> >>>> When I had similar problems it was sometimes because of >>>> permission-problems when talking to some service over the dbus. Check >>>> your ~/.xsession-errors for "dbus-send" errors. >>>> >>>> Just a wild guess :) >>>> Daniel >>>> >>> It hasn't done it in the last few reboots, but I have nopasted it: >>> http://dpaste.com/154084/ to see if you might find any problems >>> >>> >> >> Please don't use short-lived URL shorteners here. This list is archived and >> after a time your posted info goes away and cannot help any future user. >> >> The post was very small anyway and it's perfectly acceptable to insert it in- >> line. >> >> > No worries Alan. Here are the full details of that config file. > > /etc/X11/gdm/Xsession: Beginning session setup... > which: no keychain in > (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4:/usr/lib64/subversion/bin:/usr/games/bin) > /etc/X11/gdm/Xsession: Setup done, will execute: gnome-session > GNOME_KEYRING_SOCKET=/tmp/keyring-OaCPoA/socket > SSH_AUTH_SOCK=/tmp/keyring-OaCPoA/socket.ssh > shm_open() failed: Permission denied > Window manager warning: Failed to read saved session file > /home/ubiquitous1980/.config/metacity/sessions/10f50da8e07be8ee3112651893384549780046660017.ms: > Failed to open file > '/home/ubiquitous1980/.config/metacity/sessions/10f50da8e07be8ee3112651893384549780046660017.ms': > No such file or directory > > (gnome-settings-daemon:4705): GLib-GObject-CRITICAL **: > g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed > > (gnome-settings-daemon:4705): GLib-GObject-CRITICAL **: > g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed > ** Message: NumLock remembering disabled because hostname is set to > "localhost" > shm_open() failed: Permission denied > shm_open() failed: Permission denied > shm_open() failed: Permission denied > shm_open() failed: Permission denied > ** (gnome-volume-control-applet:4822): DEBUG: Disabling debugging > shm_open() failed: Permission denied > shm_open() failed: Permission denied > shm_open() failed: Permission denied > Failure: Module initalization failed > > ** (nm-applet:4811): WARNING **: request_name(): Could not > acquire the session service as it is already taken. Return: 3 > > > ** (nm-applet:4811): WARNING **: constructor(): Couldn't > initialize the D-Bus manager. > > ** Message: Initializing gksu extension... > > (gnome-panel:4771): Gtk-WARNING **: gtk_widget_size_allocate(): attempt > to allocate widget with width -9 and height 24 > Unable to open desktop file epiphany.desktop for panel launcher > Unable to open desktop file evolution.desktop for panel launcher > > ** (nautilus:4792): WARNING **: Unable to add monitor: Not supported > > ** (nautilus:4792): WARNING **: Unable to add monitor: Not supported > error: option --qt not a unique prefix > > HP Linux Imaging and Printing System (ver. 2.8.6b) > System Tray Status Service ver. 0.1 > > Copyright (c) 2001-8 Hewlett-Packard Development Company, LP > This software comes with ABSOLUTELY NO WARRANTY. > This is free software, and you are welcome to distribute it > under certain conditions. See COPYING file for more details. > > > > Usage: hp-systray [OPTIONS] > > [OPTIONS] > Force Qt3: --qt3 (default) > Force Qt4: --qt4 > Startup even if no -x or --force-startup > hplip CUPS queues > are present: > Set the logging -l or --logging= > level: > : none, info*, error, warn, debug (*default) > Run in debug mode: -g (same as option: -ldebug) > This help -h or --help
Re: [gentoo-user] module woes
On 05/02/2014 18:50, James wrote: > Ok, > > So I'm running Grub2, openrc, and a gentoo patched kernel. This is > a new system I've been fiddling with, so the problem could easily > be my oversite. > > I'v build several kernels. I go into the advanced tab upon reboot > and boot up the latest kernel I've compiled, (3.13.1-gentoo). It > boot fine. Printing works. lp and lpr still do not work for printing > raw text files? I used cups and hplip (8600 pro officejet). All > other printing is find. > > > Here is what has me stumped.I started out with this kernel: > kernel-3.10.25-gentoo. Since I have built and successfully > ran (most things) on these kernels too: kernel-3.13.0-gentoo-r1 > and last: kernel-3.13.1-gentoo. > > I have built these kernels same way as all others > > cd /usr/src/ > ln -sf linux > cd linux > make && make modules && make modules_install > cp arch/x86_64/boot/bzImage /boot/kernel-3.13.1-gentoo > cp System.map /boot/System.map-3.13.1-gentoo > cp .config /boot/config-3.13.1-gentoo > grub2-mkconfig -o /boot/grub/grub.cfg > > So the new kernels work, but, besides permission problems, it only looks > to the original /lib/modules/ dir for modules (example): > > # /etc/init.d/cupsd restart > Stopping cupsd ... > /etc/init.d/../conf.d/modules: line 25: > /lib/modules/3.10.25-gentoo/kernel/drivers/char/kcopy/kcopy.ko: Permission > denied > > xt_LOG.ko, xt_nat.ko xt_mark.ko nf_nat.ko > nf_nat_ftp.ko ipt_MASQUERADE.ko iptable_nat.ko nf_nat_ipv4.ko> > > ERROR: modules failed to start > Starting cupsd ... > > So what should the perms. be and what do I need to do to get it to > point to the kernel I'm booting, 3.13.1-gentoo ? Ordinarily permissions should not apply as it's root doing the work (the kernel mostly pretends there are no permissions when root is involved). FWIW, the permissions on all modules files is 644: khamul modules # pwd /lib/modules khamul modules # ls -al total 36 drwxr-xr-x 7 root root 4096 Jan 27 09:36 . drwxr-xr-x 16 root root 12288 Feb 2 10:51 .. drwxr-xr-x 4 root root 4096 Feb 2 09:42 3.11.10-gentoo drwxr-xr-x 5 root root 4096 Feb 2 09:40 3.12.7-gentoo drwxr-xr-x 5 root root 4096 Feb 2 09:40 3.12.8-gentoo drwxr-xr-x 4 root root 4096 Feb 2 18:01 3.12.9-gentoo drwxr-xr-x 4 root root 4096 Feb 2 09:43 3.13.0-gentoo-r1 khamul modules # find /lib/modules -type f -not -perm 644 khamul modules # That's what I just get with make && make modules && make modules_install with no further intervention. But even your 600 permissions should also work as normal. > > It is a grub 2 thing or what? > /lib/modules/3.13.1-gentoo/kernel/net/netfilter > total 100K > -rw--- 1 root root 25K Feb 4 09:17 nf_nat.ko > -rw--- 1 root root 6.0K Feb 4 09:17 nf_nat_ftp.ko > -rw--- 1 root root 5.6K Feb 4 09:17 nf_nat_irc.ko > -rw--- 1 root root 15K Feb 4 09:17 nf_nat_sip.ko > -rw--- 1 root root 22K Feb 4 09:17 xt_LOG.ko > -rw--- 1 root root 4.5K Feb 4 09:17 xt_mark.ko > -rw--- 1 root root 5.5K Feb 4 09:17 xt_nat.ko > > /lib/modules/3.10.25-gentoo/kernel/net/netfilter > total 100K > -rw-r--r-- 1 root root 27K Jan 14 23:28 nf_nat.ko > -rw-r--r-- 1 root root 6.0K Jan 14 23:28 nf_nat_ftp.ko > -rw-r--r-- 1 root root 5.5K Jan 14 23:28 nf_nat_irc.ko > -rw-r--r-- 1 root root 16K Jan 14 23:28 nf_nat_sip.ko > -rw-r--r-- 1 root root 22K Jan 14 23:28 xt_LOG.ko > -rw-r--r-- 1 root root 4.5K Jan 14 23:28 xt_mark.ko > -rw-r--r-- 1 root root 5.5K Jan 14 23:28 xt_nat.ko > > > What did I miss, besides the permissions? Do you have some MAC system like SELinux configured? Necessary filesystems like /proc or /dev omitted in that problematic kernel? I can't think of anything else that could interfere with root's ability to do what root does. -- Alan McKinnon alan.mckin...@gmail.com
[gentoo-user] qt-dbus blocker
I just started getting this blocker yesterday (was away for the weekend) [blocks B ] >x11-libs/qt-dbus-4.5.1-r (">x11-libs/qt-dbus-4.5.1-r" is blocking x11-libs/qt-script-4.5.1, x11-libs/qt-test-4.5.1, x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1, x11-libs/qt-core-4.5.1) (the entire output from emerge world is below EMERGE_DEFAULT_OPTS="--ask --deep --tree --verbose --with-bdeps=y") I read the news article and was directed to http://www.linuxized.com/p192, which said to add dbus and qt3support to my USE flags. I already had dbus and adding qt3support did not change the result. The std handbook recommendation is to remove qt-dbus, but the news article suggests this one is more complicated. Should I perhaps mask qu-dbus-4.5.2 and if so do I then remove the mask when the rest has installed. This is a stable x86 box. thanks, allan ajglap gottlieb # emerge --newuse --update --with-bdeps=y world * IMPORTANT: 1 news items need reading for repository 'gentoo'. * Use eselect news to read news items. These are the packages that would be merged, in reverse order: Calculating dependencies... done! [nomerge ] net-print/hplip-2.8.6b USE="dbus ppds qt3 scanner snmp -cupsddk -doc -fax -minimal -parport -qt4" [ebuild U ] dev-python/imaging-1.1.6-r1 [1.1.6] USE="X scanner tk -doc -examples" 0 kB [nomerge ] gnome-extra/deskbar-applet-2.24.3 USE="-eds -spell -test" [nomerge ] dev-python/gnome-desktop-python-2.24.1 USE="-debug" [nomerge ] dev-python/gnome-python-desktop-base-2.24.1 USE="-debug" [nomerge ]dev-python/pygtk-2.14.1-r1 USE="X -doc -examples" [ebuild U ] dev-python/numpy-1.3.0-r1 [1.3.0] USE="-lapack -test" 0 kB [nomerge ] www-client/epiphany-2.26.3-r1 USE="python -avahi -debug -doc -networkmanager -spell" [nomerge ] dev-python/gnome-python-2.22.3 [nomerge ] dev-python/libgnome-python-2.22.3 USE="-debug -examples" [nomerge ]gnome-base/libgnomeui-2.24.1 USE="-doc" [nomerge ] gnome-base/libgnome-2.24.1 USE="esd -debug -doc" [ebuild U ] gnome-base/gvfs-1.0.3-r13 [1.0.3-r2] USE="gnome hal -archive -avahi -bash-completion -bluetooth -cdda -debug -doc -fuse -gnome-keyring -gphoto2 -samba" 0 kB [nomerge ] x11-libs/qt-test-4.5.1 USE="iconv -debug -pch" [blocks b ] >x11-libs/qt-dbus-4.5.1-r (">x11-libs/qt-dbus-4.5.1-r" is blocking x11-libs/qt-script-4.5.1, x11-libs/qt-test-4.5.1, x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1, x11-libs/qt-core-4.5.1) [blocks b ] >x11-libs/qt-gui-4.5.1-r (">x11-libs/qt-gui-4.5.1-r" is blocking x11-libs/qt-script-4.5.1, x11-libs/qt-dbus-4.5.1, x11-libs/qt-test-4.5.1, x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1, x11-libs/qt-core-4.5.1) [blocks b ] >x11-libs/qt-core-4.5.1-r (">x11-libs/qt-core-4.5.1-r" is blocking x11-libs/qt-script-4.5.1, x11-libs/qt-dbus-4.5.1, x11-libs/qt-test-4.5.1, x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1) [blocks b ] >x11-libs/qt-script-4.5.1-r (">x11-libs/qt-script-4.5.1-r" is blocking x11-libs/qt-dbus-4.5.1, x11-libs/qt-test-4.5.1, x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1, x11-libs/qt-core-4.5.1) [nomerge ] x11-libs/qt-sql-4.5.1 USE="iconv qt3support sqlite -debug -firebird -mysql -odbc -pch -postgres" [blocks b ] >x11-libs/qt-test-4.5.1-r (">x11-libs/qt-test-4.5.1-r" is blocking x11-libs/qt-script-4.5.1, x11-libs/qt-dbus-4.5.1, x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1, x11-libs/qt-core-4.5.1) [nomerge ] x11-libs/qt-sql-4.5.1 USE="iconv qt3support sqlite -debug -firebird -mysql -odbc -pch -postgres" [nomerge ] x11-libs/qt-script-4.5.2 [4.5.1] USE="iconv -debug -pch" [blocks b ]x11-libs/qt-dbus-4.5.1-r (">x11-libs/qt-dbus-4.5.1-r" is blocking x11-libs/qt-script-4.5.1, x11-libs/qt-test-4.5.1, x11-libs/qt-gui-4.5.1, x11-libs/qt-qt3support-4.5.1, x11-libs/qt-sql-4.5.1, x11-libs/qt-core-4.5.1) Total: 12 packages (12 upgrades, 2 uninstalls), Size of downloads: 115,616 kB Conflict: 11 blocks
[gentoo-user] ldap client authentication
Folks, I'm attempting to set up LDAP authentication against my OpenDS server on a Gentoo box. I've been struggling with this for several days now with no progress. Here's the rundown of how things are configured (fairly straight forward): - OpenDS server has the following entry (gathered directly from ldapsearch output), below. Note that clearly the LDAP server is properly configured if it's responding to an ldapsearch on the client with no problems. ldap ~ # ldapsearch -H ldap://auth.whatever.com "objectclass=posixAccount" dn: cn=tb,ou=it,dc=whatever,dc=com uid: tb initials: tb objectClass: person objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: posixAccount objectClass: top givenName: Thomas cn: tb sn: Bellview telephoneNumber: 333.555. homeDirectory: /home/tb uidNumber: 10001 mail: t...@whatever.com gidNumber: 10001 - /etc/ldap.conf base ou=it,dc=whatever,dc=com uri ldaps://auth.whatever.com ldap_version 3 tls_reqcert allow pam_password exop pam_filter objectclass=posixAccount pam_login_attribute uid pam_member_attribute memberUid nss_base_passwd ou=it,dc=whatever,dc=com nss_base_shadow ou=it,dc=whatever,dc=com nss_initgroups_ignoreusers avahi,avahi-autoipd,backup,bin,couchdb,daemon,games,gdm,gnats,hplip,irc,kernoops,libuuid,list,lp,mail,man,messagebus,news,proxy,pulse,root,rtkit,saned,speech-dispatcher,sshd,sync,sys,syslog,usbmux,uucp,www-data timelimit 5 bind_timelimit 5 - Likewise, /etc/openldap/ldap.conf BASE ou=it,dc=whatever,dc=com URI ldaps://auth.whatever.com TLS_REQCERT allow #SIZELIMIT 12 #TIMELIMIT 15 #DEREF never Simple problem: authentication fails. On the CLIENT I see the following in the log files: ==> auth.log <== Nov 3 06:26:03 s_dg...@client.whatever.com sshd[2650]: error: PAM: Authentication failure for tb from blah.whatever.com On the SERVER I see the following: [03/Nov/2010:06:27:05 -0400] CONNECT conn=314 from=10.1.1.166:44879 to= 10.1.1.115:389 protocol=LDAP [03/Nov/2010:06:27:05 -0400] BIND REQ conn=314 op=0 msgID=1 type=SIMPLE dn="" [03/Nov/2010:06:27:05 -0400] BIND RES conn=314 op=0 msgID=1 result=0 authDN="" etime=0 [03/Nov/2010:06:27:05 -0400] SEARCH REQ conn=314 op=1 msgID=2 base="ou=it,dc=whatever,dc=com" scope=wholeSubtree filter="(&(objectClass=posixAccount)(uid=tb))" attrs="uid,userPassword,uidNumber,gidNumber,cn,homeDirectory,loginShell,gecos,description,objectClass" [03/Nov/2010:06:27:05 -0400] SEARCH RES conn=314 op=1 msgID=2 result=0 nentries=1 etime=1 [03/Nov/2010:06:27:05 -0400] SEARCH REQ conn=314 op=2 msgID=3 base="ou=it,dc=whatever,dc=com" scope=wholeSubtree filter="(&(objectClass=posixAccount)(uid=tb))" attrs="uid,userPassword,uidNumber,gidNumber,cn,homeDirectory,loginShell,gecos,description,objectClass" [03/Nov/2010:06:27:05 -0400] SEARCH RES conn=314 op=2 msgID=3 result=0 nentries=1 etime=1 [03/Nov/2010:06:27:05 -0400] CONNECT conn=315 from=10.1.1.166:44879 to= 10.1.1.115:389 protocol=LDAP [03/Nov/2010:06:27:05 -0400] BIND REQ conn=315 op=0 msgID=1 type=SIMPLE dn="" [03/Nov/2010:06:27:05 -0400] BIND RES conn=315 op=0 msgID=1 result=0 authDN="" etime=0 [03/Nov/2010:06:27:05 -0400] SEARCH REQ conn=315 op=1 msgID=2 base="ou=it,dc=whatever,dc=com" scope=wholeSubtree filter="(&(objectclass=posixAccount)(uid=tb))" attrs="ALL" [03/Nov/2010:06:27:05 -0400] SEARCH RES conn=315 op=1 msgID=2 result=0 nentries=1 etime=0 [03/Nov/2010:06:27:05 -0400] BIND REQ conn=315 op=2 msgID=3 type=SIMPLE dn="" [03/Nov/2010:06:27:05 -0400] BIND RES conn=315 op=2 msgID=3 result=0 authDN="" etime=0 [03/Nov/2010:06:27:07 -0400] DISCONNECT conn=315 reason="Client Disconnect" [03/Nov/2010:06:27:07 -0400] DISCONNECT conn=314 reason="Client Disconnect" [03/Nov/2010:06:27:07 -0400] DISCONNECT conn=309 reason="Client Disconnect" Looks fine, right? Well not really. If I run an ldapsearch *exactly* as it appears in the SERVER's log, it returns the user. ldap ~ # ldapsearch -H ldap://auth.whatever.com -b "ou=it,dc=whatever,dc=com" "(&(objectclass=posixAccount)(uid=tb))" # extended LDIF # # LDAPv3 # base with scope subtree # filter: (&(objectclass=posixAccount)(uid=tb)) # requesting: ALL # # tb, it, whatever.com dn: cn=tb,ou=it,dc=whatever,dc=com uid: tb initials: tb objectClass: person objectClass: inetOrgPerson objectClass: organizationalPerson objectClass: posixAccount objectClass: top givenName: Thomas cn: tb sn: Bellview telephoneNumber: 333.555. homeDirectory: /home/tb uidNumber: 10001 mail: t...@whatever.com gidNumber: 10001 # search result search: 2 result: 0 Success # numResponses: 2 # numEntries: 1 This has me pulling my hairs out. Clearly the manual ldapsearch works. The only thing I can think of is the "scope=wholeSubtree" or the "attrs=ALL" breaking the query; clearly the applied filters work without any issues. Thoughts / ideas would be greatly appreciated. -james
Re: [gentoo-user] Re: Choosing between system profiles: hardened and desktop for desktop installation.
On 07/07/17 03:53, Martin Vaeth wrote: > R0b0t1 wrote: >> On Thu, Jul 6, 2017 at 1:33 AM, Martin Vaeth wrote: >>> Peter Humphrey wrote: >>>> On Tuesday 04 Jul 2017 10:14:23 Martin Vaeth wrote: >>>>> >>>>> With modern browsers and their complexity, you can expect that any >>>>> website (or the one who has hacked it) can do anything which the >>>>> user of that browser can do if he is sitting on your seat. >>>> >>>> Have you seen any reports of that kind of thing? >>> >>> Are you joking? Every CVE of the browser (or of any of its dependencies) >>> which eventually allows an "execution of arbitrary code" exploit is >>> such an example. >>> >>>> but I'd expect Linux to be less vulnerable. >>> >>> This has nothing to do with linux. It is the complexity of the >>> browser which is the problem. >> >> To be fair it is a bit more circuitous on Linux than it is on Windows. >> [...] you can't directly cause another process to start executing >> your code directly [...] On Windows there exists CreateRemoteThread. > > If you get your browser to do what you wish (e.g. calling > CreateRemoteThread on windows) you can usually let it directly execute > what you wish, anyway. > > So there is hardly a difference from the system. > > I agree that the number of possible exploits for the former was slightly > decreased if you had a correspondingly configured hardened kernel > (and provided, of course, that you have not other gapping security holes > like polkit, systemd, nepomuk/baloo, ... which all suffer from the > same problem than browsers due to the fact that they provide every user > access to a much too complex software stack.) Hmmm. OK, so I avoid systemd and nepomuk (actually all of KDE) but polkit? I try and run a minimized DE environment, but on a workstation, I'm constantly evaluating various codes, so how do I avoid polkit? # equery d polkit * These packages depend on polkit: app-emulation/libvirt-3.3.0 (policykit ? >=sys-auth/polkit-0.9) dev-util/sysprof-3.22.2 (gtk ? sys-auth/polkit) (systemd ? sys-auth/polkit) gnome-base/gconf-3.2.6-r4 (policykit ? sys-auth/polkit) gnome-base/gvfs-1.30.4 (policykit ? sys-auth/polkit) lxde-base/lxsession-0.5.2 (sys-auth/polkit) net-firewall/ufw-frontends-0.3.2-r5 (policykit ? sys-auth/polkit) net-print/hplip-3.16.3 (policykit ? sys-auth/polkit) sys-auth/consolekit-1.1.0-r1 (policykit ? >=sys-auth/polkit-0.110) sys-block/gparted-0.27.0 (policykit ? sys-auth/polkit) sys-fs/udisks-1.0.5-r1 (>=sys-auth/polkit-0.110) sys-fs/udisks-2.6.5 (>=sys-auth/polkit-0.110) skipper james # equery d udisks * These packages depend on udisks: gnome-base/gvfs-1.30.4 (udisks ? >=sys-fs/udisks-1.97:2) media-tv/kodi-17.3 (udisks ? sys-fs/udisks:0) sys-fs/udisks-glue-1.3.5 (>=sys-fs/udisks-1.0.4-r5:0) Take 'sysprof' for example. Sure I can remove it as nothing is dependent on it, but installing it does require polkit. So can you explicitly educate me on polkit, and some strategies to minimize any attack surfaces it may open? Reading and keyword searches so I can self-educate on such issues? So how do we (systematically) minimize or 'partition' such complex software stacks or follow alternate security strategies? Then, what is the set of pen_tools we need to run against our networks to see that it is indeed 'hardened' ? (workstation only atm, but small self-managed, static IP network in followup). 'Tails' revisited might be a solution, or at least a starting point, as wikipedia has this to say:: "Tails[1] was first released on 23 June 2009. It is the next iteration of development on Incognito, a Gentoo-based Linux distribution. " You know our current hardened leader, blueness, had a very interesting approach to quick hardened installs [2]. 'Tinhat' was a secure gentoo that ran completely 'in-ram' but is being scrubbed out of existence. Or a gentoo centric Whonix [3]? Or a stage-4 [4]? A common minimized and secure and minimized install for a gentoo (amd64), would be welcomed by many, rather than a thousand adhoc threads, imho. curiously, James [1] https://en.wikipedia.org/wiki/Tails_%28operating_system%29 [2] http://releases.freeharbor.net/ https://wiki.gentoo.org/wiki/Project:Hardened_musl/Bluedragon [3] https://www.whonix.org/wiki/HardenedGentooTG https://www.deepdotweb.com/2014/06/13/simple-whonix-installation-tutorial/ [4] https://blogs.gentoo.org/gsoc2016-native-clang/2016/07/24/a-new-gentoo-stage4-musl-clang/
Re: [gentoo-user] Print to cups printer from Windows - any good instructions?
On Sat, Dec 20, 2008 at 5:41 AM, Peter Humphrey wrote: > On Saturday 20 December 2008 11:37:32 Peter Humphrey wrote: > >> These are the USE flags I installed CUPS with: >> >> [ebuild R ] net-print/cups-1.3.9-r1 USE="acl dbus jpeg pam perl png >> python ssl tiff >> -X -avahi -gnutls -java -kerberos -ldap -php -ppds -samba -slp -static >> -xinetd -zeroconf" LINGUAS="en -de -es -et -fr -he -id -it -ja -pl -sv >> -zh_TW" > > Since writing that I reasoned that cups might want the ppds USE flag, so I > remerged it with that flag, after restoring the squeaky-clean system to a > new file-system. Three foomatic packages were pulled in: > > $ grep completed /var/log/emerge.log | tail -n 4 > 1229776693: ::: completed emerge (1 of 4) > net-print/foomatic-db-ppds-3.0.20060720 to / > 1229776708: ::: completed emerge (2 of 4) > net-print/foomatic-filters-3.0.20080507 to / > 1229776740: ::: completed emerge (3 of 4) > net-print/foomatic-filters-ppds-20070501 to / > 1229776821: ::: completed emerge (4 of 4) net-print/cups-1.3.9-r1 to / > > Then I let cups detect the printer for itself, and gave it a PPD file I got > from linuxprinting.org, and when I asked for a test page I > got "/usr/libexec/cups/filter/foomatic-rip failed" and the job list showed > it as Unknown Stopped. > > So I deleted the printer, let it redetect it, and this time gave it the PPD > file it offered me: a DJ200 file, which I wouldn't have thought to use. > This time on trying a test page I got "Printer is now on-line." but still > nothing appeared on the printer. > > I did have this printer working some months ago, both locally and over the > network, together with a Kyocera laser printer, but something has changed > and I haven't yet worked out what. > > -- > Rgds > Peter Hi Peter, So far I haven't used PPD files (at least by name) on any of the printers I've set up. All of our printers now are HP and I'm using hplip for them so possibly part of my luck is just that difference. My cups server here at the house has very little in the config file and the printer definition is very short so I'm copying them at the end. Upon review it does look like I have samba running and although I don't think it's being used it might be. It got turned on when I first started working on this last week and I forgot about it so it's still turned on. I've not done any configuration of samba so I don't see how it could be participating but maybe. It's possible... Sector9 cups # emerge -pv cups These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild R ] net-print/cups-1.3.9-r1 USE="X acl dbus jpeg ldap pam perl png ppds python samba ssl tiff -avahi -gnutls -java -kerberos -php -slp -static -xinetd -zeroconf" LINGUAS="en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW" 0 kB Sector9 cups # rc-update show | grep samba samba | default Sector9 cups # I did uncomment lines in /etc/cups/mime.convs and mime.types as per the numerous wikis around on configuring cups. If you need the specific lines let me know but all the wikis say to do it. I can't think of what else to suggest at this point but if there's something you want me to look at I'll be happy to do so. Let me know. Cheers, Mark Sector9 cups # cat /etc/cups/cupsd.conf LogLevel info SystemGroup lpadmin # Allow remote access Port 631 Listen /var/run/cups/cups.sock # Enable printer sharing and shared printers. Browsing On BrowseOrder allow,deny BrowseAllow all BrowseAddress @LOCAL DefaultAuthType Basic # Allow shared printing... Order allow,deny Allow @LOCAL Encryption Required # Restrict access to the admin pages... Order allow,deny AuthType Default Require user @SYSTEM # Restrict access to the configuration files... Order allow,deny Require user @OWNER @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow AuthType Default Require user @SYSTEM Order deny,allow Require user @OWNER @SYSTEM Order deny,allow Order deny,allow Sector9 cups # Sector9 cups # cat printers.conf # Printer configuration file for CUPS v1.3.9 # Written by cupsd on 2008-12-16 15:14 Info HP PSC 1600 series Location Local Printer DeviceURI hp:/usb/PSC_1600_series?serial=MY583F32PDL0 State Idle StateTime 1229469245 Accepting Yes Shared Yes JobSheets none none QuotaPeriod 0 PageLimit 0 KLimit 0 OpPolicy default ErrorPolicy stop-printer Sector9 cups #
Re: [gentoo-user] Sharing printers via Cups
On Thursday, 11 February 2021 20:32:47 GMT Dan Egli wrote: > On 2/11/2021 7:05 AM, Michael wrote: > > On Wednesday, 10 February 2021 23:03:18 GMT Dan Egli wrote: > >> On 2/10/2021 4:30 AM, Michael wrote: > >>> This is how I understand the printing process ought to work in your use > >>> case: > >>> > >>> The Samba server, Athena, will use the MSWindows Network Printer > >>> identified as "Windows Printer via SAMBA" in its CUPS GUI. > >>> > >>> Printing jobs will be submitted from Athena's CUPS to the MSWindows PC & > >>> its attached printer, via the corresponding smb:// URI. CUPS which will > >>> use the Samba server on Athena to authenticate and send the data for > >>> printing to the MSWindows PC and its shared printer. > >>> > >>> The same process will need to be followed by Janus; i.e. the CUPS server > >>> on Janus will have to use the same smb:// URI to submit the data to be > >>> printed to Athena's Samba server and as long as authentication is > >>> successful Athena will forward it to the Windows PC. > >> > >> Forgive me, but if I use the SAME url, then it's not Athena acting as > >> the print server, it's the windows client that the printer is hooked up > >> to. > > > > Sorry, I meant to say on Janus use the smb://Athena/ URI and see > > if Athena then forwards the request via the shared Samba printer service > > onward to the MSWindows PC. Of course if you try to print directly to > > the MSWindows PC with smb://IRIS/ it will work, just as it works > > from Athena - but that's not what you're after. > > That may work. I guess I'm just a bit worried about back and forth. i.e. > Janus tries to print, then Athena asks for permission to let it happen, > and that request goes right back to Janus. I'm VERY unfamiliar with AD > so I can't be 100% certain this will work. I can't see any reason why it > wouldn't, but that's not the same thing as saying there ISN'T a reason > why it wouldn't work. The transaction for AD authentication to access the domain is taking place over different applications, threads, protocols and ports to those used for printing. There should be no confusion. [snip ...] > > The shared printer advertised by CUPS in Athena should pop up on > > Janus as an available printer via mDNS. > > I know nothing of mDNS. mDNS (multicast DNS) is a protocol used to resolve hostnames to IP addresses in LANs without the need to use a local DNS server. Client devices trying to resolve a name send UDP multicasts using port 5353 over the LAN subnet to ask for a named host to identify itself. The target host responds with its IP address and the client updates its mDNS cache. Linux, Apple and Windows 10 use mDNS to discover printers. If you see zeroconf, avahi, or Apple's Bonjour service, they are all referring to this mechanism. If you use IP addresses to manually configure printer server/clients, then this service is not necessary. Samba uses the native MSWindows 'Active Directory Domain Services' over TCP port 445 to resolve IP addresses when printing over Samba. > I tried IPP to no avail, but then again perhaps > I formed the URLs wrong. I tried ipp://athena/ipp/ and it > didn't work. I tried http/https mode too. That ALMOST worked. When you select the HTTP protocol it still sends IPP packets in MIME format. I'm not sure of the difference between the two - I guess IPP is native to CUPS and most/all printers. > But I get > an error on Janus saying "Filter Failed" and a lot of messages in my > error_log (debug mode) that really make no sense to me. Here's a > sample. I'll put the full log on my web server if you want to see it. > It's 77k nearly with debug turned on and that's only for trying to print > ONE test page and failing. The url is > https://www.newideatest.site/cups_error_log I had a quick look, this is what I see: Your client sends IPP commands over HTTP to Athena. CUPS server on Athena accepts these and processes them. So the comms appear to be working fine between the two. :-) Then we have this on line 292: D [11/Feb/2021:13:08:36 -0700] [Job 11] hpcups (application/vnd.cups-raster to printer/ENVY, cost 0) This is the hplip printer driver in action, using a MIME format for CUPS to transmit and print raster imaged pages. Question: Why is this driver in play? Even if the physical printer is an HP, it is neither connected to Janus, nor Athena. On lines 331 & 332: I [11/Feb/2021:13:08:36 -0700] [Job 11] Started filter /usr/libexec/cups/ filter/hpcups (PID 922
[gentoo-user] blocking packages when emerge gnome-light
I am sure that this is all explained somewhere but I cannot find it easily. When running "emerge -av gnome-light" I get : [blocks B ] http://www.uktransplant.org.uk/ Below is make.conf and the output of the emerge command: # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example #CFLAGS="-O2 -pipe" #see http://gentoo-wiki.com/Safe_Cflags#Athlon_64_X2_.28AMD.29 ACCEPT_KEYWORDS="~amd64" #do not use -O2 as this caused segmentation faults in building gcc-4.1.2 CFLAGS="-march=k8 -pipe -msse3 -Wno-error " CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}" GENTOO_MIRRORS="http://www.mirorservice.org/sites/www.ibiblio.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"; SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" INPUT_DEVICES="evdev keyboard mouse" VIDEO_CARDS="fglrx" LINGUAS="en" # 2007 June 5 # For HPLIP added foomaticdb, scanner, snmp # For xsane added gimp USE="acl asf -kde qt4 dbus bluetooth gnome hal startup-notification X samba nsplugin acpi \ mp3 apm lm_sensors subversion java bzip2 fpx graphviz gs jbig jpeg \ jpeg2k mpeg png tiff truetype wmf opengl expat gtk \ xcomposite alsa -arts dvd dxr3 imagemagick encode ieee1394 ogg xvid vcd \ wavpack win32codecs cddb mng svg midi symlink vorbis slp usb dvb dvb_cards_usb-dib0700 \ foomaticdb scanner snmp gimp type1 mp3 flac ladspa \ libsamplerate 3dnow sndfile cairo nsplugin mysql opengl uk_rt uk_bleb " # put my own ebuilds into /usr/local/portage PORTDIR_OVERLAY="/usr/local/portage" # source the layman configuration tool that allow installation of overlays source /usr/portage/local/layman/make.conf # Setup Portage elog PORTAGE_ELOG_CLASSES="info warn error log" PORTAGE_ELOG_SYSTEM="save" # See HOWTO_Use_Portage_Correctly EMERGE_DEFAULT_OPTS=--deep # Now that I have 2 cpu core MAKEOPTS="-j3" APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd deflate dir disk_cache env expires ext_filter file_cache filter headers ident imagemap include info log_config logio mem_cache mime mime_magic negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http rewrite setenvif so speling status unique_id userdir usertrack vhost_alias" paul-gentoo ~ # emerge -av gnome-light These are the packages that would be merged, in order: Calculating dependencies... done! [ebuild U ] app-arch/unzip-5.52-r2 [5.52-r1] 0 kB [ebuild N] dev-util/gtk-doc-am-1.10-r1 395 kB [ebuild U ] www-client/mozilla-launcher-1.59 [1.58] 7 kB [ebuild U ] x11-libs/libxklavier-3.5 [3.3] USE="-doc" 439 kB [ebuild U ] media-libs/gstreamer-0.10.19 [0.10.17] USE="nls -debug -test" 2,168 kB [ebuild U ] dev-perl/XML-Parser-2.36 [2.34-r1] 225 kB [ebuild U ] x11-wm/metacity-2.22.0 [2.20.2] USE="-debug -xinerama" 2,024 kB [ebuild N] x11-themes/gtk-engines-2.14.1 USE="-accessibility -debug -static" 655 kB [ebuild U ] dev-perl/XML-LibXML-1.66 [1.65] 271 kB [ebuild U ] dev-libs/liboil-0.3.14 [0.3.12] USE="-doc" 801 kB [ebuild U ] x11-libs/libXv-1.0.4 [1.0.3] USE="-debug" 224 kB [ebuild U ] media-libs/libmad-0.15.1b-r5 [0.15.1b-r4] USE="-debug" 0 kB [ebuild U ] x11-libs/libXScrnSaver-1.1.3 [1.1.2] USE="-debug" 215 kB [ebuild U ] media-libs/gst-plugins-base-0.10.19 [0.10.17] USE="nls -debug" 1,866 kB [ebuild N] x11-themes/gnome-themes-2.22.0 USE="-accessibility -debug" 1,461 kB [ebuild U ] media-plugins/gst-plugins-gconf-0.10.7 [0.10.6] USE="-debug" 1,706 kB [ebuild N] media-plugins/gst-plugins-dvb-0.10.6 1,736 kB [ebuild N] media-plugins/gst-plugins-fluendo-mpegdemux-0.10.15 281 kB [ebuild N] media-libs/gst-plugins-bad-0.10.6 USE="-debug" 0 kB [ebuild U ] media-plugins/gst-plugins-esd-0.10.7 [0.10.6] 0 kB [ebuild N] media-libs/gst-plugins-ugly-0.10.7 USE="-debug" 848 kB [ebuild N] media-plugins/gst-plugins-a52dec-0.10.7 0 kB [ebuild N] media-plugins/gst-plugins-dvdread-0.10.7 0 kB [ebuild U ] media-plugins/gst-plugins-flac-0.10.7 [0.10.6] 0 kB [ebuild U ] media-libs/gst-plugins-good-0.10.7 [0.10.6] USE="-debug" 0 kB [ebuild U ] media-plugins/gst-plugins-mad-0.10.7 [0.10.6] 0 kB [ebuild U ] gnome-base/gnome-menus-2.22.1 [2.20.3] USE="python -debug" 452 kB [ebuild U ] x11-libs/vte-0.16.13 [0.16.12] USE="opengl python -debug -doc" 1,089 kB [ebuild U ] kde-base/arts-3.5.9 [3.5.
[gentoo-user] unclear (to me) errors from portage
uexec -threads" APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias authn_anon authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir disk_cache env expires ext_filter file_cache filter headers include info log_config logio mem_cache mime mime_magic negotiation rewrite setenvif speling status unique_id userdir usertrack vhost_alias -asis -authn_dbd -cern_meta -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http -proxy_scgi -reqtimeout -substitute -version" APACHE2_MPMS="-event -itk -peruser -prefork -worker" [ebuild U ] dev-libs/apr-util-1.5.3-r2:1 [1.5.3-r1:1] USE="berkdb gdbm ldap -doc -freetds -mysql -nss -odbc -openssl -postgres -sqlite -static-libs" 680 kB [nomerge ] net-print/hplip-3.14.1 USE="X fax hpcups libnotify policykit qt4 scanner snmp -doc -hpijs -kde -libusb0 -minimal -parport -static-ppds" PYTHON_SINGLE_TARGET="python2_7 (-python2_6)" PYTHON_TARGETS="python2_7 (-python2_6)" [ebuild U ] virtual/udev-215 [208-r2] USE="systemd%* (-gudev%*) (-introspection%*) (-static-libs%)" ABI_X86="(-32%) (-64%*) (-x32%)" 0 kB [nomerge ] gnome-base/gnome-extra-apps-3.12.0:3.0 USE="games shotwell tracker" [nomerge ] net-analyzer/gnome-nettool-3.8.1 USE="-debug" [nomerge ] net-analyzer/nmap-6.25 USE="gtk ipv6 lua nls ssl -ncat -ndiff -nmap-update -nping" LINGUAS="-de -es -fr -hr -hu -id -it -ja -pl -pt_BR -pt_PT -ro -ru -sk -zh" [ebuild R]net-libs/libpcap-1.5.3 USE="dbus ipv6 -bluetooth* -canusb -netlink -static-libs" 628 kB [ebuild NS] sys-kernel/gentoo-sources-3.14.14:3.14.14 [3.10.32:3.10.32, 3.11.1:3.11.1, 3.12.13:3.12.13, 3.12.20:3.12.20, 3.12.21-r1:3.12.21-r1] USE="-build -deblob -experimental -symlink" 76,945 kB [nomerge ] sys-apps/logwatch-7.4.0_p170-r1 [nomerge ] dev-perl/DateManip-6.410.0 USE="{-test}" [nomerge ] virtual/perl-Storable-2.450.0 [ebuild U ~]perl-core/Storable-2.450.0-r1 [2.450.0] 180 kB [nomerge ] app-text/texlive-2013 USE="X png truetype xml -cjk -context -detex -dvi2tty -dvipdfm -epspdf -extra -games -graphics -humanities -jadetex -luatex -metapost -music -omega -pdfannotextractor -pstricks -publishers -science -tex4ht -texi2html -xetex -xindy" LINGUAS="en -af -ar -as -bg -bn -br -ca -cs -cy -da -de -el -en_GB -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr -hsb -hu -hy -ia -id -is -it -ja -kn -ko -la -lo -lt -lv -ml -mn -mr -nb -nl -nn -no -or -pa -pl -pt -rm -ro -ru -sa_IN -sco -sk -sl -sq -sr -sv -ta -te -th -tk -tr -uk -vi -zh" [nomerge ] dev-texlive/texlive-genericrecommended-2013 USE="-doc -source" [nomerge ] app-text/texlive-core-2013-r1 USE="X -cjk -doc -source -tk -xetex" [nomerge ]virtual/perl-Getopt-Long-2.420.0-r1 [nomerge ] perl-core/Getopt-Long-2.420.0 [ebuild U ] virtual/perl-Pod-Parser-1.600.0 [1.510.0-r2] 0 kB [nomerge ] app-office/libreoffice-bin-4.2.5.2 USE="gnome (-aqua) -java -kde" PYTHON_SINGLE_TARGET="python2_7 -python3_3 (-python3_4)" PYTHON_TARGETS="python2_7 python3_3 (-python3_4)" [ebuild U ] dev-libs/boost-1.52.0-r7:0/1.52 [1.52.0-r6:0/1.52] USE="nls threads -debug -doc -icu -mpi -python -static-libs -tools" PYTHON_TARGETS="python2_7 python3_3 -python3_2" 53,147 kB [nomerge ] net-print/hplip-3.14.1 USE="X fax hpcups libnotify policykit qt4 scanner snmp -doc -hpijs -kde -libusb0 -minimal -parport -static-ppds" PYTHON_SINGLE_TARGET="python2_7 (-python2_6)" PYTHON_TARGETS="python2_7 (-python2_6)" [nomerge ] net-analyzer/net-snmp-5.7.3_pre3 USE="X bzip2 ipv6 ssl tcpd zlib -doc -elf -lm_sensors -mfd-rewrites -minimal -mysql -netlink -pci -perl -python -rpm (-selinux) -ucd-compat" PYTHON_SINGLE_TARGET="python2_7 (-python2_6)" PYTHON_TARGETS="python2_7 (-python2_6)" [nomerge ] dev-lang/perl-5.16.3:0/5.16 USE="berkdb gdbm -debug -doc -ithreads" [ebuild U ]app-admin/perl-cleaner-2.16 [2.15] 6 kB [nomerge ] media-plugins/gst-plugins-meta-0.10-r9:0.10 [1.0-r2:1.0] USE="X a52 aac alsa cdda dts dvd ffmpeg flac mp3 mpeg ogg pulseaudio vorbis x264 xv xvid -dv -dvb -http -jack -lame -libass -libvisual -mms -musepack -opus -oss -taglib -theora -v4l -vcd -vpx -wavpack" ABI_X86="(64) (-32) (-x32)" [ebuild NS] media-plugins/gst-plugins-cdparanoia-0.10.36-r1:0.10 [1.2.4-r1:1.0] ABI_X86="(64) (-32) (-x32)" 2,309 kB [nomerge ] gnome-base/gnome-extra-apps-3.12.0:3.0 USE=&qu
Re: [gentoo-user] unclear (to me) errors from portage
v-215-r1 [208] USE="introspection > systemd%* (-static-libs)" ABI_X86="(64) (-32) (-x32)" 0 kB > [ebuild U ] sys-apps/systemd-215-r3:0/2 [212-r5:0/2] > USE="acl filecaps firmware-loader gudev introspection kmod pam > policykit seccomp -audit -cryptsetup -doc -elfutils% -gcrypt -http > (-kdbus) -lzma -python -qrcode (-selinux) (-ssl) {-test} -vanilla > (-xattr%)" ABI_X86="(64) (-32) (-x32)" > PYTHON_SINGLE_TARGET="python2_7 -python3_2 -python3_3 (-python3_4)" > PYTHON_TARGETS="python2_7 python3_3 -python3_2 (-python3_4)" 2,821 kB > [ebuild U ] net-misc/dhcpcd-6.4.3 [6.2.0-r1] USE="ipv6 udev" 147 > kB [nomerge ] www-servers/apache-2.2.27-r4:2 [2.2.27:2] > USE="ldap ssl -debug -doc (-selinux) -static -suexec -threads" > APACHE2_MODULES="actions alias auth_basic auth_digest authn_alias > authn_anon authn_dbm authn_default authn_file authz_dbm authz_default > authz_groupfile authz_host authz_owner authz_user autoindex cache cgi > cgid dav dav_fs dav_lock deflate dir disk_cache env expires > ext_filter file_cache filter headers include info log_config logio > mem_cache mime mime_magic negotiation rewrite setenvif speling status > unique_id userdir usertrack vhost_alias -asis -authn_dbd -cern_meta > -charset_lite -dbd -dumpio -ident -imagemap -log_forensic -proxy > -proxy_ajp -proxy_balancer -proxy_connect -proxy_ftp -proxy_http > -proxy_scgi -reqtimeout -substitute -version" APACHE2_MPMS="-event > -itk -peruser -prefork -worker" [ebuild U ] > dev-libs/apr-util-1.5.3-r2:1 [1.5.3-r1:1] USE="berkdb gdbm ldap -doc > -freetds -mysql -nss -odbc -openssl -postgres -sqlite -static-libs" > 680 kB [nomerge ] net-print/hplip-3.14.1 USE="X fax hpcups > libnotify policykit qt4 scanner snmp -doc -hpijs -kde -libusb0 > -minimal -parport -static-ppds" PYTHON_SINGLE_TARGET="python2_7 > (-python2_6)" PYTHON_TARGETS="python2_7 (-python2_6)" [ebuild U > ] virtual/udev-215 [208-r2] USE="systemd%* (-gudev%*) > (-introspection%*) (-static-libs%)" ABI_X86="(-32%) (-64%*) (-x32%)" > 0 kB [nomerge ] gnome-base/gnome-extra-apps-3.12.0:3.0 > USE="games shotwell tracker" [nomerge ] > net-analyzer/gnome-nettool-3.8.1 USE="-debug" [nomerge ] > net-analyzer/nmap-6.25 USE="gtk ipv6 lua nls ssl -ncat -ndiff > -nmap-update -nping" LINGUAS="-de -es -fr -hr -hu -id -it -ja -pl > -pt_BR -pt_PT -ro -ru -sk -zh" [ebuild R] > net-libs/libpcap-1.5.3 USE="dbus ipv6 -bluetooth* -canusb -netlink > -static-libs" 628 kB [ebuild NS] > sys-kernel/gentoo-sources-3.14.14:3.14.14 [3.10.32:3.10.32, > 3.11.1:3.11.1, 3.12.13:3.12.13, 3.12.20:3.12.20, > 3.12.21-r1:3.12.21-r1] USE="-build -deblob -experimental -symlink" > 76,945 kB [nomerge ] sys-apps/logwatch-7.4.0_p170-r1 > [nomerge ] dev-perl/DateManip-6.410.0 > USE="{-test}" [nomerge ] virtual/perl-Storable-2.450.0 > [ebuild U ~]perl-core/Storable-2.450.0-r1 [2.450.0] 180 kB > [nomerge ] app-text/texlive-2013 USE="X png truetype xml -cjk > -context -detex -dvi2tty -dvipdfm -epspdf -extra -games -graphics > -humanities -jadetex -luatex -metapost -music -omega > -pdfannotextractor -pstricks -publishers -science -tex4ht -texi2html > -xetex -xindy" LINGUAS="en -af -ar -as -bg -bn -br -ca -cs -cy -da > -de -el -en_GB -eo -es -et -eu -fa -fi -fr -ga -gl -gu -he -hi -hr > -hsb -hu -hy -ia -id -is -it -ja -kn -ko -la -lo -lt -lv -ml -mn -mr > -nb -nl -nn -no -or -pa -pl -pt -rm -ro -ru -sa_IN -sco -sk -sl -sq > -sr -sv -ta -te -th -tk -tr -uk -vi -zh" [nomerge ] > dev-texlive/texlive-genericrecommended-2013 USE="-doc > -source" [nomerge ] app-text/texlive-core-2013-r1 USE="X > -cjk -doc -source -tk -xetex" [nomerge ] > virtual/perl-Getopt-Long-2.420.0-r1 [nomerge ] > perl-core/Getopt-Long-2.420.0 [ebuild U ] > virtual/perl-Pod-Parser-1.600.0 [1.510.0-r2] 0 kB [nomerge ] > app-office/libreoffice-bin-4.2.5.2 USE="gnome (-aqua) -java -kde" > PYTHON_SINGLE_TARGET="python2_7 -python3_3 (-python3_4)" > PYTHON_TARGETS="python2_7 python3_3 (-python3_4)" [ebuild U ] > dev-libs/boost-1.52.0-r7:0/1.52 [1.52.0-r6:0/1.52] USE="nls threads > -debug -doc -icu -mpi -python -static-libs -tools" > PYTHON_TARGETS="python2_7 python3_3 -python3_2" 53,147 kB > [nomerge ] net-print/hplip-3.14.1 USE="X fax hpcups libnotify > policykit qt4 scanner snmp -doc -hpijs -kde -libusb0 -minimal > -parport -static-ppds" PYTHON_SINGLE_TARGET="python2_7 (-python2_6)" >
Re: [gentoo-user] Does this drive need a funeral?
Dale wrote: Hi, For the first time in my life, I think I have a drive failing on me. Here is the info: <<<< SNIP >>>> What you folks think? Can I fix it somehow? I got a good shovel handy just in case. Dale :-) :-) OK. For those that have never seen this before, here is what messages looks like when a hard drive is going belly up: Nov 1 19:08:09 localhost kernel: ata4.01: exception Emask 0x0 SAct 0x0 SErr 0x0 action 0x6 frozen Nov 1 19:08:09 localhost kernel: ata4.01: failed command: WRITE DMA EXT Nov 1 19:08:09 localhost kernel: ata4.01: cmd 35/00:8c:7f:78:a8/00:03:04:00:00/f0 tag 0 dma 464896 out Nov 1 19:08:09 localhost kernel: res 40/00:01:00:4f:c2/00:00:00:00:00/10 Emask 0x4 (timeout) Nov 1 19:08:09 localhost kernel: ata4.01: status: { DRDY } Nov 1 19:08:14 localhost kernel: ata4: link is slow to respond, please be patient (ready=0) Nov 1 19:08:19 localhost kernel: ata4: device not ready (errno=-16), forcing hardreset Nov 1 19:08:19 localhost kernel: ata4: soft resetting link Nov 1 19:08:19 localhost kernel: ata4.01: failed to IDENTIFY (I/O error, err_mask=0x3) Nov 1 19:08:19 localhost kernel: ata4.01: revalidation failed (errno=-5) Nov 1 19:08:24 localhost kernel: ata4: soft resetting link Nov 1 19:08:24 localhost kernel: ata4.01: failed to IDENTIFY (I/O error, err_mask=0x3) Nov 1 19:08:24 localhost kernel: ata4.01: revalidation failed (errno=-5) Nov 1 19:08:29 localhost kernel: ata4: soft resetting link Nov 1 19:08:29 localhost kernel: ata4.01: failed to IDENTIFY (I/O error, err_mask=0x3) Nov 1 19:08:29 localhost kernel: ata4.01: revalidation failed (errno=-5) Nov 1 19:08:29 localhost kernel: ata4.01: disabled Nov 1 19:08:29 localhost kernel: ata4.01: device reported invalid CHS sector 0 Nov 1 19:08:29 localhost kernel: ata4: soft resetting link Nov 1 19:08:29 localhost kernel: ata4: EH complete Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] Unhandled error code Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] CDB: Write(10): 2a 00 04 a8 78 7f 00 03 8c 00 Nov 1 19:08:29 localhost kernel: end_request: I/O error, dev sdc, sector 78149759 Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] Unhandled error code Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] CDB: Write(10): 2a 00 04 a8 7c 1f 00 03 13 00 Nov 1 19:08:29 localhost kernel: end_request: I/O error, dev sdc, sector 78150687 Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] Unhandled error code Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] CDB: Read(10): 28 00 00 00 4a f2 00 00 01 00 Nov 1 19:08:29 localhost kernel: end_request: I/O error, dev sdc, sector 19186 Nov 1 19:08:29 localhost kernel: FAT: FAT read failed (blocknr 19123) Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] Unhandled error code Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] CDB: Read(10): 28 00 00 00 4a f2 00 00 01 00 Nov 1 19:08:29 localhost kernel: end_request: I/O error, dev sdc, sector 19186 Nov 1 19:08:29 localhost kernel: FAT: FAT read failed (blocknr 19123) Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] Unhandled error code Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] Result: hostbyte=DID_BAD_TARGET driverbyte=DRIVER_OK Nov 1 19:08:29 localhost kernel: sd 3:0:1:0: [sdc] CDB: Read(10): 28 00 00 00 4a f2 00 00 01 00 Nov 1 19:08:29 localhost kernel: end_request: I/O error, dev sdc, sector 19186 More info: /dev/sdc1 78112544 39098000 39014544 51% /mnt/media It won't accept any more files either. That looks like this: cp: cannot create directory `/mnt/media/home3/home/dale/.porthole': Input/output error cp: cannot create directory `/mnt/media/home3/home/dale/.adobe': Input/output error cp: cannot create directory `/mnt/media/home3/home/dale/.cache': Input/output error cp: cannot create directory `/mnt/media/home3/home/dale/.gconf': Input/output error cp: cannot create directory `/mnt/media/home3/home/dale/.fonts': Input/output error cp: cannot create directory `/mnt/media/home3/home/dale/.gnupg': Input/output error cp: cannot create directory `/mnt/media/home3/home/dale/.hplip': Input/output error cp: cannot create directory `/mnt/media/home3/home/dale/.local': Input/output error cp: cannot create directory `/mnt/media/home3/home/dale/.opera': Input/output error cp: cannot create directory `/mnt/media/home3/home/dale/.tkdvd': Input/output error cp: cannot create directory `/mnt/media/home3/home/dale/.fontconfig': In
Re: [gentoo-user] portage summary logs not rotated any more
On Sun, Apr 5, 2015 at 10:50 AM, Mick wrote: > On Sunday 05 Apr 2015 06:39:31 Alexander Kapshuk wrote: > > On Sun, Apr 5, 2015 at 1:18 AM, Mick wrote: > > > On Saturday 04 Apr 2015 20:35:31 Alexander Kapshuk wrote: > > > > My portage summary logs don't seem to be rotated any more. > > > > > > > > ls -lt `pwd`/summary.log* > > > > -rw-rw-r-- 1 portage portage 96581 Apr 3 19:47 > > > > /var/log/portage/elog/summary.log > > > > -rw-rw-r-- 1 portage portage 5927 Jan 10 07:50 > > > > /var/log/portage/elog/summary.log-20150112 > > > > -rw-rw-r-- 1 portage portage 2281 Jan 4 21:14 > > > > /var/log/portage/elog/summary.log-20150104.gz > > > > -rw-rw-r-- 1 portage portage 565 Dec 26 20:53 > > > > /var/log/portage/elog/summary.log-20141228.gz > > > > -rw-rw-r-- 1 portage portage 1842 Dec 22 17:52 > > > > /var/log/portage/elog/summary.log-20141222.gz > > > > > > > > grep Messages summary.log | sed '1h;$!d;x;G;q' > > > > > > > > >>> Messages generated by process 3399 on 2015-01-13 17:47:47 EET for > > > > > > > > package dev-python/reportlab-3.1.8-r2: > > > > >>> Messages generated by process 4080 on 2015-04-03 19:47:54 EEST > for > > > > > > > > package net-print/hplip-3.14.1: > > > > > > > > grep Messages summary.log-20150112 | sed '1h;$!d;x;G;q' > > > > > > > > >>> Messages generated by process 2637 on 2015-01-04 22:02:00 EET for > > > > > > > > package app-office/libreoffice-4.2.8.2: > > > > >>> Messages generated by process 3483 on 2015-01-10 07:50:04 EET for > > > > > > > > package dev-libs/openssl-1.0.1k: > > > > > > > > cat /etc/logrotate.d/elog-save-summary > > > > # Copyright 1999-2011 Gentoo Foundation > > > > # Distributed under the terms of the GNU General Public License v2 > > > > # Rotate the log created by the save_summary elog module. > > > > > > > > /var/log/portage/elog/summary.log { > > > > > > > > su portage portage > > > > missingok > > > > nocreate > > > > delaycompress > > > > > > > > } > > > > > > > > /etc/logrotate.conf:6,8 > > > > # rotate log files weekly. > > > > weekly > > > > #daily > > > > > > > > What could be wrong here? Or am I misreading something? > > > > > > > > Thanks. > > > > > > Is your logrotate running regularly as expected? What do you get when > > > > > > from: > > > grep logrotate /var/log/cron.log > > > > > > -- > > > Regards, > > > Mick > > > > Thanks for your response. > > > > I'm afraid I don't have the cron logging set up. I should probably go > ahead > > and do it, shouldn't I? > > > > grep logrotate /var/log/cron.log > > grep: /var/log/cron.log: No such file or directory > > > > The cron daemon is running though. > > > > ps auxwww|grep '[c]ron' > > root 2418 0.0 0.1 5464 1868 ?Ss 08:33 0:00 > > /usr/sbin/crond > > > > Thanks. > > Ah! I must have set this up myself. In /etc/syslog-ng/syslog-ng.conf I > have > among other settings: > > destination cron { file("/var/log/cron.log"); }; > filter f_cron { facility(cron); }; > log { source(src); filter(f_cron); destination(cron); }; > > This is not necessary though. You can search /var/log/messages for > logrotate. > > -- > Regards, > Mick > Understood. Thanks. Messages doesn't seem to have anything out of the ordinary to say about logrotate though. sed '/logrotate/!d' /var/log/messages Jan 13 17:50:02 localhost run-crons[7443]: (root) CMD (/etc/cron.daily/logrotate) Jan 14 18:00:02 localhost run-crons[4576]: (root) CMD (/etc/cron.daily/logrotate) Jan 15 18:10:02 localhost run-crons[1692]: (root) CMD (/etc/cron.daily/logrotate) Jan 16 18:20:01 localhost run-crons[4448]: (root) CMD (/etc/cron.daily/logrotate) An observation I've made, is that my log rotation seems to have effected all other logs in /var/log as well. It seems to have stopped working around January this year. ls -lt /var/log/messages* -rw--- 1 root root 9986127 Apr 5 16:10 /var/log/messages -rw--- 1 root root 173843 Jan 12 10:20 /var/log/messages-20150112.gz -rw--- 1 root root 277867 Jan 4
Re: [gentoo-user] portage summary logs not rotated any more
On Sunday 05 Apr 2015 14:19:16 Alexander Kapshuk wrote: > On Sun, Apr 5, 2015 at 10:50 AM, Mick wrote: > > On Sunday 05 Apr 2015 06:39:31 Alexander Kapshuk wrote: > > > On Sun, Apr 5, 2015 at 1:18 AM, Mick wrote: > > > > On Saturday 04 Apr 2015 20:35:31 Alexander Kapshuk wrote: > > > > > My portage summary logs don't seem to be rotated any more. > > > > > > > > > > ls -lt `pwd`/summary.log* > > > > > -rw-rw-r-- 1 portage portage 96581 Apr 3 19:47 > > > > > /var/log/portage/elog/summary.log > > > > > -rw-rw-r-- 1 portage portage 5927 Jan 10 07:50 > > > > > /var/log/portage/elog/summary.log-20150112 > > > > > -rw-rw-r-- 1 portage portage 2281 Jan 4 21:14 > > > > > /var/log/portage/elog/summary.log-20150104.gz > > > > > -rw-rw-r-- 1 portage portage 565 Dec 26 20:53 > > > > > /var/log/portage/elog/summary.log-20141228.gz > > > > > -rw-rw-r-- 1 portage portage 1842 Dec 22 17:52 > > > > > /var/log/portage/elog/summary.log-20141222.gz > > > > > > > > > > grep Messages summary.log | sed '1h;$!d;x;G;q' > > > > > > > > > > >>> Messages generated by process 3399 on 2015-01-13 17:47:47 EET > > > > > >>> for > > > > > > > > > > package dev-python/reportlab-3.1.8-r2: > > > > > >>> Messages generated by process 4080 on 2015-04-03 19:47:54 EEST > > > > for > > > > > > > package net-print/hplip-3.14.1: > > > > > > > > > > grep Messages summary.log-20150112 | sed '1h;$!d;x;G;q' > > > > > > > > > > >>> Messages generated by process 2637 on 2015-01-04 22:02:00 EET > > > > > >>> for > > > > > > > > > > package app-office/libreoffice-4.2.8.2: > > > > > >>> Messages generated by process 3483 on 2015-01-10 07:50:04 EET > > > > > >>> for > > > > > > > > > > package dev-libs/openssl-1.0.1k: > > > > > > > > > > cat /etc/logrotate.d/elog-save-summary > > > > > # Copyright 1999-2011 Gentoo Foundation > > > > > # Distributed under the terms of the GNU General Public License v2 > > > > > # Rotate the log created by the save_summary elog module. > > > > > > > > > > /var/log/portage/elog/summary.log { > > > > > > > > > > su portage portage > > > > > missingok > > > > > nocreate > > > > > delaycompress > > > > > > > > > > } > > > > > > > > > > /etc/logrotate.conf:6,8 > > > > > # rotate log files weekly. > > > > > weekly > > > > > #daily > > > > > > > > > > What could be wrong here? Or am I misreading something? > > > > > > > > > > Thanks. > > > > > > > > Is your logrotate running regularly as expected? What do you get > > > > when > > > > > > > > from: > > > > grep logrotate /var/log/cron.log > > > > > > > > -- > > > > Regards, > > > > Mick > > > > > > Thanks for your response. > > > > > > I'm afraid I don't have the cron logging set up. I should probably go > > > > ahead > > > > > and do it, shouldn't I? > > > > > > grep logrotate /var/log/cron.log > > > grep: /var/log/cron.log: No such file or directory > > > > > > The cron daemon is running though. > > > > > > ps auxwww|grep '[c]ron' > > > root 2418 0.0 0.1 5464 1868 ?Ss 08:33 0:00 > > > /usr/sbin/crond > > > > > > Thanks. > > > > Ah! I must have set this up myself. In /etc/syslog-ng/syslog-ng.conf I > > have > > among other settings: > > > > destination cron { file("/var/log/cron.log"); }; > > filter f_cron { facility(cron); }; > > log { source(src); filter(f_cron); destination(cron); }; > > > > This is not necessary though. You can search /var/log/messages for > > logrotate. > > > > -- > > Regards, > > Mick > > Understood. Thanks. > > Messages doesn't seem to have anything out of the ordinary to say about > logrotate
[gentoo-user] dbus-binding-tool: error while loading shared libraries: libexpat.so.0:
-avDuN world This successfully built the mime package that it previously could not build due to problem with gettext. dbus-binding-tool: error while loading shared libraries: libexpat.so.0: cannot open shared object file: No such file or directory make[3]: *** [notificationdaemon-dbus-glue.h] Error 127 Contents of /etc/portage/package.keywords: x11-drivers/ati-drivers =app-admin/eselect-1.0.9 dev-util/subversion ~amd64 mail-client/claws-mail-pdf-viewer ~amd64 rox-base/mime-editor=~amd64 rox-base/mime-editor ~amd64 dev-java/sun-jdk ~amd64 net-misc/ajaxterm ~amd64 dev-python/cherrypy ~amd64 www-servers/tomcat ~amd64 dev-java/tomcat-servlet-api ~amd64 dev-java/jakarta-jstl ~amd64 dev-python/django ~amd64 net-www/gnash amd64 net-www/gnash ~amd64 media-libs/libptp2 ~amd64 sys-fs/gphotofs ~amd64 gnome-extra/hal-device-manager ~amd64 media-gfx/f-spot ~amd64 dev-java/java-sdk-docs ~amd64 app-cdr/k3b ~amd64 app-misc/ddccontrol ~amd64 app-misc/ddccontrol-db ~amd64 mail-client/claws-mail ~amd64 Contents of /etc/make.conf: # These settings were set by the catalyst build script that automatically built this stage # Please consult /etc/make.conf.example for a more detailed example CFLAGS="-O2 -pipe" CHOST="x86_64-pc-linux-gnu" CXXFLAGS="${CFLAGS}" GENTOO_MIRRORS="http://www.mirorservice.org/sites/www.ibiblio.org/gentoo http://distfiles.gentoo.org http://www.ibiblio.org/pub/Linux/distributions/gentoo"; SYNC="rsync://rsync.europe.gentoo.org/gentoo-portage" INPUT_DEVICES="keyboard mouse" VIDEO_CARDS="fglrx" # 2007 June 5 # For HPLIP added foomaticdb, scanner, snmp # For xsane added gimp USE="doc asf kde qt4 dbus -gnome hal startup-notification X samba nsplugin acpi \ apm lm_sensors subversion java bzip2 fpx graphviz gs jbig jpeg \ jpeg2k mpeg png tiff truetype wmf xml opengl expat gtk \ xcomposite alsa dvd dxr3 imagemagick encode ieee1394 ogg xvid vcd \ wavpack win32codecs cddb mng svg midi symlink vorbis slp \ foomaticdb scanner snmp gimp type1 mp3 flac ladspa \ libsamplerate 3dnow sndfile cairo" # put my own ebuilds into /usr/local/portage PORTDIR_OVERLAY="/usr/local/portage" # source the layman configuration tool that allow installation of overlays source /usr/portage/local/layman/make.conf # Setup Portage elog PORTAGE_ELOG_CLASSES="info warn error log" PORTAGE_ELOG_SYSTEM="save" -- # ##### ## /###### /# / / ##### // /### ## / / ## ## ## ## ## /### ## ## ## ## ## / ### / ##### / ## [EMAIL PROTECTED] /### ## / / ###/ ## ###/ ## mobile: 07972184336 / ### ## / #### ## ## ## ## ##/ #### ## ## ## ## ## #### ## ## ## ## ## #### ## ## ## ## ## ##/# ## /# ## ## ##/ ## ##/ ## ### / ## ## ## ### ## # ## ##/ ### # / ###/ #/ ### Linux 2.6.20-gentoo-r8 x86_64 AMD Athlon(tm) 64 Processor 3000+ AuthenticAMD GNU/Linux -- [EMAIL PROTECTED] mailing list
[gentoo-user] Re: Minimal (fast and cool)
entoo.itw.lan gentoo" >> /etc/hosts # Setting the root password passwd abc123 abc123 # Install a syslogger, a cron daemon, mc and sshd emerge syslog-ng vixie-cron rc-update add syslog-ng default rc-update add vixie-cron default rc-update add sshd default env-update && source /etc/profile emerge mlocate emerge app-misc/mc emerge gentoolkit emerge app-admin/eclean-kernel emerge app-portage/diffmask emerge app-portage/flaggie emerge app-portage/install-mask emerge app-portage/portpeek emerge app-portage/smart-live-rebuild # Emerge grub and edit its configuration file emerge grub mkdir /boot/grub ls -l /boot/* # Write down the kernel and initramfs full file names and versions # nano -w /boot/grub/grub.conf echo "default 0" > /boot/grub/grub.conf echo "timeout 10" >> /boot/grub/grub.conf echo "" >> /boot/grub/grub.conf # Change "3.10.17" to your kernel version echo "title Gentoo Linux 3.10.17" >> /boot/grub/grub.conf echo "root (hd0,0)" >> /boot/grub/grub.conf # Change the kernel and initramfs filenames to your full name and versions echo "kernel /boot/kernel-genkernel-x86_64-3.10.17-gentoo net.ifnames=0 root=/dev/ram0 real_root=/dev/sda6" >> /boot/grub/grub.conf echo "initrd /boot/initramfs-genkernel-x86_64-3.10.17-gentoo" >> /boot/grub/grub.conf echo "" >> /boot/grub/grub.conf # Install grub grub --no-floppy # grub> root (hd0,0) # grub> setup (hd0) # grub> quit # Add your username useradd -m -G users,wheel,audio,CD -s /bin/bash username passwd abc123 abc123 # Poweroff exit umount -l /mnt/gentoo/dev{/shm,/pts,} umount -l /mnt/gentoo{/proc,/boot,/home,/sys,} poweroff # # End of basic installation # # Remove the Gentoo CD # This completes the installation of the Base System. # Boot your Gentoo VM, log in with your username, ping google.com to verify that it works. # Then login as root from your workstation terminal. Change directory to / cd / # Install X emerge xorg-server env-update source /etc/profile # Install Xfce emerge xfce env-update && source /etc/profile /etc/init.d/dbus start rc-update add dbus default rc-update add xdm default # Editing /etc/conf.d/xdm nano -wc /etc/conf.d/xdm DISPLAYMANAGER="slim" # Optionally install Samba emerge net-fs/samba emerge net-print/hplip #- # End of Xfce installation # reboot # if all is well, you should now see the Slim login screen # Login as root # emerge your favorite Xfce and other applications like: # porthole # leafpad # midori # claws mail # webmin # avoid Gnome and KDE applications. They pull in tons of dependencies # Happy computing!
Re: [gentoo-user] Trying KDE-4
a" INPUT_DEVICES="-wacom" 0 kB [ebuild N]x11-libs/qt-dbus-4.4.2 USE="-debug -pch" 0 kB [ebuild N]x11-libs/qt-script-4.4.2 USE="-debug -pch" 0 kB [ebuild N] kde-base/automoc-0.9.84 8 kB [ebuild N] x11-libs/qt-test-4.4.2 USE="-debug -pch" 0 kB [ebuild N] x11-libs/qt-core-4.4.2 USE="qt3support ssl -debug -doc -glib -pch" 0 kB [nomerge ] dev-db/mysql-gui-tools-5.0_p12-r2 USE="administrator nls query-browser" [nomerge ] gnome-extra/gtkhtml-3.18.3 USE="-debug -static" [nomerge ] gnome-base/libbonoboui-2.22.0 USE="X -debug -doc" [ebuild R ]gnome-base/gnome-vfs-2.22.0 USE="acl fam ipv6 ssl -avahi -debug -doc -gnutls -hal* -kerberos -samba" 0 kB [nomerge ] gnome-extra/gtkhtml-3.18.3 USE="-debug -static" [nomerge ] gnome-base/libgnomeui-2.22.1 USE="jpeg -debug -doc" [ebuild R ] gnome-base/gnome-keyring-2.22.3 USE="pam -debug -doc -hal* -test" 0 kB [ebuild R ] net-irc/xchat-2.8.6-r1 USE="dbus* ipv6 nls perl python spell ssl xchatdccserver -debug -libnotify (-mmx) -tcl -xchatnogtk -xft" 0 kB [ebuild R ] app-office/openoffice-3.0.0 USE="cups dbus* gtk java kde mono nsplugin opengl pam -debug -eds -gnome -gstreamer -ldap -odk -templates" LINGUAS="en_GB -af -ar -as_IN -be_BY -bg -bn -br -bs -ca -cs -cy -da -de -dz -el -en -en_US -en_ZA -eo -es -et -fa -fi -fr -ga -gl -gu_IN -he -hi_IN -hr -hu -it -ja -km -ko -ku -lt -lv -mk -ml_IN -mr_IN -nb -ne -nl -nn -nr -ns -or_IN -pa_IN -pl -pt -pt_BR -ru -rw -sh -sk -sl -sr -ss -st -sv -sw_TZ -ta_IN -te_IN -tg -th -ti_ER -tn -tr -ts -uk -ur_IN -ve -vi -xh -zh_CN -zh_TW -zu" 0 kB [ebuild R ] net-print/hplip-2.8.6b USE="cupsddk dbus* doc qt3 qt4* -fax -minimal -parport -ppds -scanner -snmp" 0 kB [ebuild R ] net-news/liferea-1.4.15 USE="dbus* firefox -debug -gnutls -gtkhtml -libnotify -lua -networkmanager -seamonkey -xulrunner" 0 kB [ebuild R ] media-video/vlc-0.8.6i-r2 USE="X a52 alsa arts cdda cddb dc1394 dvd httpd libnotify live mp3 mpeg ncurses nsplugin ogg opengl png rtsp sdl sdl-image stream svg truetype vcd vorbis x264 xml xv (-3dfx) -aalib (-altivec) -avahi -bidi -corba -daap -debug -directfb -dts -dvb -esd -fbcon -flac -ggi -gnome -gnutls -hal* -jack -libcaca -lirc -matroska -modplug -musepack -optimisememory -oss -samba -seamonkey -shout -skins -speex (-svga) -theora -upnp -v4l -vlm (-win32codecs) -wxwindows -xinerama -xosd -xulrunner" 0 kB [ebuild R ] media-gfx/gimp-2.4.6 USE="alsa curl dbus* doc exif gtkhtml lcms mmx mng pdf png python smp sse svg tiff wmf -aalib (-altivec) -debug -gnome -hal*" 0 kB [nomerge ] net-print/hplip-2.8.6b USE="cupsddk dbus* doc qt3 qt4* -fax -minimal -parport -ppds -scanner -snmp" [nomerge ] dev-python/PyQt-3.17.4 USE="-debug -doc -examples" [nomerge ] x11-libs/qscintilla-2.1-r1 USE="python qt4* -debug -doc -examples" [ebuild R ]dev-python/qscintilla-python-2.1 USE="qt4*" 0 kB [ebuild N] dev-python/PyQt4-4.3.3 USE="-debug -doc -examples" 0 kB [nomerge ] media-gfx/inkscape-0.46-r5 USE="doc lcms perl spell wmf -debug -dia -gnome -inkjar -jabber (-mmx) -postscript" [ebuild R ] app-text/poppler-bindings-0.8.7 USE="cairo gtk qt3 qt4* -test" 0 kB [nomerge ] kde-base/kate-4.1.2 [3.5.9] USE="plasma -debug -htmlhandbook -kdeprefix" [nomerge ] kde-base/libplasma-4.1.2 USE="opengl -debug -kdeprefix -test -xinerama" [ebuild N] app-misc/strigi-0.5.11 USE="clucene dbus exif fam qt4 -debug -hyperestraier -inotify -log -test" 857 kB [nomerge ] kde-base/dragonplayer-4.1.2 USE="-kdeprefix" [ebuild N] media-libs/xine-lib-1.1.15-r1 USE="X a52 alsa arts dts dvd gtk ipv6 mad mng modplug musepack nls opengl sdl theora truetype v4l vcd vorbis xcb xv -aac -aalib (-altivec) -debug -directfb -dxr3 -esd -fbcon -flac -gnome -imagemagick -jack -libcaca -mmap -oss -pulseaudio -real -samba -speex (-vidix) (-vis) -wavpack (-win32codecs) -xinerama -xvmc" 7,304 kB [ebuild R ] net-print/cups-1.3.8-r2 USE="X acl dbus* java jpeg pam perl png python ssl tiff -avahi -gnutls -kerberos -ldap -php -ppds -samba -slp -static -xinetd -zeroconf" LINGUAS="en -de -es -et -fr -he -id -it -ja -pl -sv -zh_TW" 0 kB [nomerge ] kde-base/dolphin-4.1.2 USE="semantic-desktop -debug -htmlhandbook -kdeprefix" [nomerge ] dev-libs/soprano-2.1 USE="clucene sesame2 -debug -doc -redland" [ebuild N] media-libs/raptor-1.4.16 USE="curl unicode xml" 1,476 kB [ebuild U ] dev-util/cmake-2.4.8 [2.4.6-r1] USE="-emacs -vim-syntax" 2,548 kB [ebuild N
Re: [gentoo-user] portage summary logs not rotated any more
On Sun, Apr 5, 2015 at 5:36 PM, Mick wrote: > On Sunday 05 Apr 2015 14:19:16 Alexander Kapshuk wrote: > > On Sun, Apr 5, 2015 at 10:50 AM, Mick wrote: > > > On Sunday 05 Apr 2015 06:39:31 Alexander Kapshuk wrote: > > > > On Sun, Apr 5, 2015 at 1:18 AM, Mick > wrote: > > > > > On Saturday 04 Apr 2015 20:35:31 Alexander Kapshuk wrote: > > > > > > My portage summary logs don't seem to be rotated any more. > > > > > > > > > > > > ls -lt `pwd`/summary.log* > > > > > > -rw-rw-r-- 1 portage portage 96581 Apr 3 19:47 > > > > > > /var/log/portage/elog/summary.log > > > > > > -rw-rw-r-- 1 portage portage 5927 Jan 10 07:50 > > > > > > /var/log/portage/elog/summary.log-20150112 > > > > > > -rw-rw-r-- 1 portage portage 2281 Jan 4 21:14 > > > > > > /var/log/portage/elog/summary.log-20150104.gz > > > > > > -rw-rw-r-- 1 portage portage 565 Dec 26 20:53 > > > > > > /var/log/portage/elog/summary.log-20141228.gz > > > > > > -rw-rw-r-- 1 portage portage 1842 Dec 22 17:52 > > > > > > /var/log/portage/elog/summary.log-20141222.gz > > > > > > > > > > > > grep Messages summary.log | sed '1h;$!d;x;G;q' > > > > > > > > > > > > >>> Messages generated by process 3399 on 2015-01-13 17:47:47 EET > > > > > > >>> for > > > > > > > > > > > > package dev-python/reportlab-3.1.8-r2: > > > > > > >>> Messages generated by process 4080 on 2015-04-03 19:47:54 > EEST > > > > > > for > > > > > > > > > package net-print/hplip-3.14.1: > > > > > > > > > > > > grep Messages summary.log-20150112 | sed '1h;$!d;x;G;q' > > > > > > > > > > > > >>> Messages generated by process 2637 on 2015-01-04 22:02:00 EET > > > > > > >>> for > > > > > > > > > > > > package app-office/libreoffice-4.2.8.2: > > > > > > >>> Messages generated by process 3483 on 2015-01-10 07:50:04 EET > > > > > > >>> for > > > > > > > > > > > > package dev-libs/openssl-1.0.1k: > > > > > > > > > > > > cat /etc/logrotate.d/elog-save-summary > > > > > > # Copyright 1999-2011 Gentoo Foundation > > > > > > # Distributed under the terms of the GNU General Public License > v2 > > > > > > # Rotate the log created by the save_summary elog module. > > > > > > > > > > > > /var/log/portage/elog/summary.log { > > > > > > > > > > > > su portage portage > > > > > > missingok > > > > > > nocreate > > > > > > delaycompress > > > > > > > > > > > > } > > > > > > > > > > > > /etc/logrotate.conf:6,8 > > > > > > # rotate log files weekly. > > > > > > weekly > > > > > > #daily > > > > > > > > > > > > What could be wrong here? Or am I misreading something? > > > > > > > > > > > > Thanks. > > > > > > > > > > Is your logrotate running regularly as expected? What do you get > > > > > when > > > > > > > > > > from: > > > > > grep logrotate /var/log/cron.log > > > > > > > > > > -- > > > > > Regards, > > > > > Mick > > > > > > > > Thanks for your response. > > > > > > > > I'm afraid I don't have the cron logging set up. I should probably go > > > > > > ahead > > > > > > > and do it, shouldn't I? > > > > > > > > grep logrotate /var/log/cron.log > > > > grep: /var/log/cron.log: No such file or directory > > > > > > > > The cron daemon is running though. > > > > > > > > ps auxwww|grep '[c]ron' > > > > root 2418 0.0 0.1 5464 1868 ?Ss 08:33 0:00 > > > > /usr/sbin/crond > > > > > > > > Thanks. > > > > > > Ah! I must have set this up myself. In /etc/syslog-ng/syslog-ng.conf I > > > have > > > among
Re: [gentoo-user] Installing outside of Portage & cruft removal
/) || (/^dir/)) { push (@packagefile, "$2\n") if (/(\w+\s)(\S+)/); } if (/^obj/) { push (@packagefile, "$2\n") if (/(\w+\s)(.+)(\s\w+\s\d+$)/); } } } @packagefile = sort (@packagefile); $prev = "not equal to $packagefile[0]"; @packagefile = grep($_ ne $prev && ($prev = $_, 1), @packagefile); # Compares the list of the files in the system with the files controlled by # portage to get unmanaged files. print "[INFO]\tComparing to get unmanaged files ...\n"; open (CRUFT,">$destdir/$cruft") || die ("$cruft: $!"); @packagefileche...@packagefile} = (); foreach $_ (@systemfile) { push (@cruft, $_) unless exists $packagefilecheck{$_}; } @cruft = sort (@cruft); print CRUFT @cruft; print "[INFO]\tList containing cruft written to $destdir/$cruft\n"; # Compares the list of found cruft files with a list of files found in an # older search. if (-f "$destdir/$oldcruft" && -s _ && -T _) { print "[INFO]\tComparing cruft with old results ...\n"; #open (OLDCRUFT,"<$destdir/$oldcruft") || die ("$oldcruft: $!"); #my @oldcruft = ; #print "[INFO]\tUsing previous results from $destdir/$oldcruft\n"; #open (DIFFCRUFT,">$destdir/$diffcruft") || die ("$diffcruft: $!"); #diff \...@oldcruft, \...@cruft, {OUTPUT => \*DIFFCRUFT}; system "diff -u $destdir/oldcruft.txt $destdir/cruft.txt >$destdir/diffcruft.txt"; print "[INFO]\tDifferences to previous run written to $destdir/$diffcruft\n"; } else { print "[INFO]\tThe file $oldcruft does not exist in\n"; print "[INFO]\t$destdir\n[INFO]\tor has no contents.\n"; print "[INFO]\tNote: For later comparisons you can move $cruft to $oldcruft\n"; print "[INFO]\tto catch the differences in the file $diffcruft.\n"; print "[INFO]\tSkipping comparison with old results ...\n\n"; } # Write debug files. &debug() if defined $debug; # Subroutines # Print usage message. sub usage() { print "USAGE: $0 [options]\n"; print " -d|--destdir=DIR\tdirectory for analysis and debug output\n"; print "\t\t\t[$destdir]\n"; print " -c|--confdir=DIR\tdirectory containing $ignorelist\n"; print "\t\t\t[$confdir]\n"; #print " -s|--searchdir=DIR\tbase directory for searching\n"; #print "\t\t\t[$searchdir]\n"; #print " -v|--vdb_path=DIR\tpath to the portage database\n"; #print "\t\t\t[$vdb_path]\n"; print " -b|--debug\t\tgenerate debug output\n"; print " -?|-h|--help\t\tprint this lot out\n"; print $help; exit; } # Subroutine to generate debug output. sub debug() { open (SYS,">$destdir/$systemfile") || die ("$systemfile: $!"); print SYS @systemfile; print "\e[1;35m[DEBUG]\tAll files from the system excluding the ignored files written to $destdir/$systemfile\e[m\n"; open (CONTENT,">$destdir/$contentlist") || die ("$contentlist: $!"); print CONTENT @contentlist; print "\e[1;35m[DEBUG]\tPath to files containing package contents written to $destdir/$contentlist\e[m\n"; open (PACKAGE,">$destdir/$packagefile") || die ("$packagefile: $!"); print PACKAGE @packagefile; print "\e[1;35m[DEBUG]\tAll files controlled by the package manager written to $destdir/$packagefile\e[m\n"; # For reference list the files which are controlled by portage but not in the # system maybe because they are deleted or ignored by the ignorefile. print "\e[1;35m[DEBUG]\tComparing to get negcruft files ...\n"; @systemfileche...@systemfile} = (); foreach $_ (@packagefile) { push (@negcruft, $_) unless exists $systemfilecheck{$_}; } @negcruft = sort (@negcruft); open (NEGCRUFT,">$destdir/$negcruft") || die ("$negcruft: $!"); print NEGCRUFT @negcruft; print "\e[1;35m[DEBUG]\tNegative list of cruft written to $destdir/$negcruft\e[m\n"; } # Directories and files which should always be ignored. /boot /dev /home /lost+found /media /mnt /proc /root /sys /tmp /usr/src /lib/modules /usr/tmp /var # Directories and files created by the user or in pkg_post_install plus other # non cruft. /etc/portage /etc/runlevels /etc/ssl/certs /lib/rc/console /lib/rc/init.d /lib/splash/cache /usr/i686-pc-linux-gnu/bin /usr/i686-pc-linux-gnu/lib /usr/include/GL /usr/lib/openoffice/
Re: [gentoo-user] Re: LVM, /usr and really really bad thoughts.
a -de -el -en_GB -eo -es -et -eu -fa -fi -fo -fr -fy -ga -gl -ha -he -hi -hr -hsb -hu -id -is -it -ja -ka -kk -km -ko -ku -lb -lo -lt -lv -mi -mk -mn -ms -mt -nb -nds -ne -nl -nn -nso -oc -pa -pl -pt -pt_BR -ro -ru -rw -se -sk -sl -sq -sr -sr@Latn -ss -sv -ta -te -tg -th -tr -tt -uk -uz -uz@cyrillic -ven -vi -wa -xh -zh_CN -zh_HK -zh_TW -zu" 53,254 kB [ebuild R] media-fonts/font-bh-ttf-1.0.3 USE="X" 455 kB [ebuild R] sys-power/nut-2.6.0-r1 USE="bash-completion ssl tcpd xml -cgi -snmp -usb" 1,664 kB [ebuild R] media-fonts/font-bh-type1-1.0.3 USE="X" 623 kB [ebuild R ~] app-office/scribus-1.4.0-r1 USE="examples minimal pdf spell templates -cairo -debug" LINGUAS="en_US -af -ar -bg -br -ca -cs_CZ -cy -da_DK -de -de_1901 -de_CH -el -en_AU -en_GB -es_ES -et -eu -fi -fr -gl -hu -id -it -ja -ko -lt_LT -nb_NO -nl -pl_PL -pt -pt_BR -ru -sa -sk_SK -sl -sq -sr -sv -th_TH -tr -uk -zh_CN -zh_TW" 41,147 kB [ebuild R] media-fonts/font-adobe-utopia-type1-1.0.4 USE="X" 263 kB [ebuild R] sys-apps/smartmontools-5.42 USE="-caps -minimal -static" 725 kB [ebuild R] app-admin/syslog-ng-3.2.5 USE="ipv6 pcre ssl tcpd -caps -hardened (-selinux) -spoof-source -sql" 1,415 kB [ebuild R] sys-apps/usbutils-004 USE="zlib -network-cron -python" 0 kB [ebuild R] x11-wm/icewm-1.2.37 USE="nls truetype xinerama -debug (-esd) -gnome -imlib -minimal (-uclibc)" 823 kB [ebuild R] media-gfx/kphotoalbum-4.1.1-r1 USE="exif geolocation kipi raw semantic-desktop (-aqua) -debug" LINGUAS="-ar -be -bg -ca -cs -da -de -el -en_GB -eo -es -et -fi -fr -ga -gl -hi -hne -is -it -ja -km -lt -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -se -sk -sv -tr -uk -vi -zh_CN -zh_TW" 7,968 kB [ebuild R ~] media-video/h264enc-9.4.1 USE="aac dvd flac mp4 vorbis -lame -matroska -ogm" 118 kB [ebuild R] app-backup/kbackup-0.7.1 USE="handbook (-aqua) -debug" LINGUAS="-cs -de -es -fr -it -pt -pt_BR -ru -sk -sv" 493 kB [ebuild R] media-video/kaffeine-1.2.2 USE="(-aqua) -debug" LINGUAS="-ar -ast -be -bg -ca -ca@valencia -cs -da -de -el -en_GB -eo -es -et -fi -fr -ga -gl -hr -hu -it -ja -km -ko -ku -lt -mai -nb -nds -nl -nn -pa -pl -pt -pt_BR -ro -ru -se -sk -sr@ijekavian -sr@ijekavianlatin -sr@latin -sv -th -tr -uk -zh_CN -zh_TW" 0 kB [ebuild R] x11-apps/mesa-progs-8.0.1 9,766 kB [ebuild R] app-cdr/k3b-2.0.2-r1 USE="dvd encode ffmpeg flac handbook mad vcd vorbis wav (-aqua) -debug -emovix -lame -musepack -musicbrainz -sndfile -sox -taglib" LINGUAS="-ast -be -bg -ca -ca@valencia -cs -csb -da -de -el -en_GB -eo -es -et -eu -fi -fr -ga -gl -he -hi -hne -hr -hu -is -it -ja -km -ko -ku -lt -mai -nb -nds -nl -nn -oc -pa -pl -pt -pt_BR -ro -ru -se -sk -sl -sv -th -tr -uk -zh_CN -zh_TW" 12,533 kB [ebuild R] media-fonts/font-bitstream-type1-1.0.3 USE="X" 407 kB [ebuild R] media-fonts/font-adobe-utopia-100dpi-1.0.4 USE="X nls" 346 kB [ebuild R] kde-misc/tellico-2.3.4 USE="cddb handbook pdf semantic-desktop -addressbook (-aqua) -debug -musicbrainz -scanner -taglib -v4l -xmp -yaz" LINGUAS="-bg -bs -ca -ca@valencia -cs -da -de -el -en_GB -eo -es -et -eu -fi -fr -ga -gl -hu -ia -it -ja -lt -ms -nb -nds -nl -nn -pl -pt -pt_BR -ro -ru -sk -sv -tr -ug -uk -zh_CN -zh_TW" 2,843 kB [ebuild R] www-plugins/adobe-flash-11.1.102.62 USE="64bit kde (multilib) -32bit -vdpau" 0 kB [ebuild R] www-client/links-2.5 USE="X bzip2 gpm jpeg lzma ssl tiff unicode zlib -directfb -fbcon -livecd (-suid) (-svga)" 0 kB [ebuild R] media-fonts/font-misc-misc-1.1.2 USE="X nls" 1,889 kB [ebuild R] x11-themes/fluxbox-styles-fluxmod-20050128-r1 1,250 kB [ebuild R] media-video/mkvtoolnix-4.9.1 USE="bzip2 -debug -lzo -pch -wxwidgets" 2,045 kB [ebuild R] media-sound/amarok-2.4.3-r1 USE="cdda embedded opengl semantic-desktop utils -daap -debug -ipod -lastfm -mp3tunes -mtp" LINGUAS="-bg -ca -cs -da -de -en_GB -es -et -eu -fi -fr -it -ja -km -nb -nds -nl -pa -pl -pt -pt_BR -ru -sl -sr -sr@latin -sv -th -tr -uk -wa -zh_TW" 17,059 kB [ebuild R ~] media-video/smplayer2-0.7.0_pre2020 USE="download-subs -debug" LINGUAS="en_US -ar -bg -ca -cs -da -de -el -es -et -eu -fi -fr -gl -hu -it -ja -ka -ko -ku -lt -mk -nl -pl -pt -pt_BR -ro -ru -sk -sl -sr -sv -tr -uk -vi -zh_CN -zh_TW" 1,139 kB [ebuild R] media-fonts/font-adobe-100dpi-1.0.3 USE="X nls" 1,088 kB [ebuild R] net-analyzer/wireshark-1.6.4 USE="caps gtk ipv6 pcap ssl threads zlib -adns -ares -doc -doc-pdf -gcrypt -geoip -kerberos -lua -portaudio -profile -python (-selinux) -smi" 20,962 kB [ebuild R] kde-misc/krename-4.0.7 USE="exif pdf truetype (-aqua) -debug -taglib" LIN
Re: [gentoo-user] Re: Well, I went about updating my system again. (day 6)
3_4 python3_5 -pypy -pypy3% (-python3_3%)" 184 KiB [ebuild U ] kde-plasma/kwayland-integration-5.8.4:5::gentoo [5.7.5:5::gentoo] USE="-debug" 18 KiB [ebuild R] dev-python/service_identity-16.0.0::gentoo USE="-doc {-test}" PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy (-python3_3%)" 0 KiB [ebuild U ] kde-apps/kdebugsettings-16.08.3:5::gentoo [16.08.1:5::gentoo] USE="-debug {-test}" 28 KiB [ebuild U ] dev-qt/qtlocation-5.6.2:5/5.6::gentoo [5.6.1:5/5.6::gentoo] USE="-debug {-test}" 0 KiB [ebuild U ] kde-frameworks/kemoticons-5.28.0:5/5.28::gentoo [5.26.0:5/5.26::gentoo] USE="-debug {-test}" 1,655 KiB [ebuild U ] kde-frameworks/kdesu-5.28.0:5/5.28::gentoo [5.26.0:5/5.26::gentoo] USE="X -debug" 44 KiB [ebuild U ] dev-python/requests-2.12.3::gentoo [2.11.1::gentoo] USE="{-test}" PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy" 535 KiB [ebuild R] dev-python/ssl-fetch-0.4::gentoo PYTHON_TARGETS="python2_7 python3_4 python3_5 -pypy (-python3_3%)" 0 KiB [ebuild R] app-portage/mirrorselect-2.2.2-r2::gentoo PYTHON_TARGETS="python2_7 python3_4 (-python3_3%)" 0 KiB [ebuild N ] dev-qt/qtwebkit-4.8.7:4::gentoo USE="gstreamer icu jit pch (-aqua) -debug -exceptions" ABI_X86="32 (64) (-x32)" 0 KiB [ebuild R] dev-util/cppcheck-1.75::gentoo USE="pcre qt4 -htmlreport" PYTHON_TARGETS="python2_7 python3_4 python3_5 (-python3_3%)" 0 KiB [ebuild U ] media-gfx/imagemagick-6.9.6.6:0/6.9.6.6::gentoo [6.9.5.10:0/6.9.5.10::gentoo] USE="X bzip2 cxx fftw fontconfig graphviz jpeg jpeg2k lcms opencl openexr openmp pango perl png svg tiff truetype xml zlib -autotrace -corefonts -djvu -fpx -hdri -jbig -lqr -lzma -postscript -q32 -q64 -q8 -raw -static-libs {-test} -webp -wmf" 8,582 KiB [ebuild U ] gnome-extra/libgsf-1.14.41:0/114::gentoo [1.14.40:0/114::gentoo] USE="bzip2 gtk introspection" 603 KiB [ebuild U ] net-misc/tor-0.2.9.6_rc::gentoo [0.2.9.3_alpha-r1::gentoo] USE="seccomp -libressl -scrypt (-selinux) -systemd {-test} -tor-hardening -web (-bufferevents%)" 5,365 KiB [ebuild U ] sci-libs/gdal-2.0.3:0/2::gentoo [2.0.2-r3:0/2::gentoo] USE="aux_xml curl gif java jpeg jpeg2k mysql opencl pdf perl png python sqlite threads -armadillo -debug -doc -fits -geos -gml -hdf5 -mdb -netcdf -odbc -ogdi -oracle% -postgres -spatialite -xls" PYTHON_TARGETS="python2_7 python3_4 python3_5%*" 11,318 KiB [ebuild U ] kde-frameworks/kpeople-5.28.0:5/5.28::gentoo [5.26.0:5/5.26::gentoo] USE="-debug {-test}" 59 KiB [ebuild U #] sci-geosciences/googleearth-7.1.7.2606::gentoo [7.1.4.1529::gentoo] USE="-bundled-libs" 44,605 KiB [ebuild U ] www-servers/apache-2.4.23-r2:2::gentoo [2.4.23-r1:2::gentoo] USE="ldap ssl threads -debug -doc -libressl (-selinux) -static -suexec" APACHE2_MODULES="actions alias auth_basic authn_alias authn_anon authn_core authn_dbm authn_file authz_core authz_dbm authz_groupfile authz_host authz_owner authz_user autoindex cache cgi cgid dav dav_fs dav_lock deflate dir env expires ext_filter file_cache filter headers include info log_config logio mime mime_magic negotiation rewrite setenvif socache_shmcb speling status unique_id unixd userdir usertrack vhost_alias -access_compat -asis -auth_digest -authn_dbd -authz_dbd -cache_disk -cern_meta -charset_lite -dbd -dumpio -http2 -ident -imagemap -lbmethod_bybusyness -lbmethod_byrequests -lbmethod_bytraffic -lbmethod_heartbeat -log_forensic -macro -proxy -proxy_ajp -proxy_balancer -proxy_connect -proxy_fcgi -proxy_ftp -proxy_html -proxy_http -proxy_scgi -proxy_wstunnel -ratelimit -remoteip -reqtimeout -slotmem_shm -substitute -version" APACHE2_MPMS="-event -prefork -worker" 2 KiB [ebuild U ] dev-lang/ruby-2.3.3:2.3::gentoo [2.3.1:2.3::gentoo] USE="berkdb gdbm ipv6 ncurses rdoc readline ssl tk -debug -doc -examples -jemalloc -libressl -rubytests -socks5 -xemacs" 11,179 KiB [ebuild U ] x11-libs/libnotify-0.7.7::gentoo [0.7.6-r3::gentoo] USE="introspection {-test}" ABI_X86="32 (64) (-x32)" 279 KiB [ebuild R] dev-libs/protobuf-3.0.0_beta3_p1:0/10b3::gentoo USE="java python zlib -emacs -examples -static-libs {-test} -vim-syntax" ABI_X86="32 (64) (-x32)" PYTHON_TARGETS="python2_7 python3_4 python3_5 (-python3_3%)" 0 KiB [ebuild R] dev-python/protobuf-python-3.0.0_beta3_p1:0/10b3::gentoo PYTHON_TARGETS="python2_7 python3_4 python3_5 (-python3_3%)" 0 KiB [ebuild U ] dev-ruby/rubygems-2.6.8::gentoo [2.6.7::gentoo] USE="server {-test}" RUBY_TARGETS="ruby21 ruby23 (-ruby20*) -ruby22" 737 KiB [ebuild R] virtual/rubygems-11::gentoo RUBY_TARGETS="ruby21 ruby23 (-rbx) (-ruby20*) -ruby22 (-ruby19%)" 0 KiB [ebuild N ] de