[gentoo-user] Re: Printer

2018-03-01 Thread Grant Edwards
On 2018-03-01, Neil Bothwick <n...@digimed.co.uk> wrote:
> On Thu, 1 Mar 2018 15:10:58 + (UTC), Grant Edwards wrote:
>
>> I despise all inkjets, but maybe that's just me.
>
> It's not.
>  
>> I'd pick mono laser over any inkjet.
>
> That depends on your printing needs. I've now got an HP colour laser AIO
> device. It was expensive but it does everything I need with minimal fuss.

Here's my HP testimonial: I've had an HP LaserJet 1320 printer (mono)
for almost 15 years.  It's brilliant: 1200DPI, Postscript, Duplexing.
It still works like it did when it was new.  

I've had to by _one_ toner cartridge, it's still got many miles left
on it.

I don't print much, and the one Canon ink-jet printer I had before the
HP LaserJet had an operating cost of about $10/page.  Yes, dollars.
Once every couple months, I'd need to print a few pages -- and I'd
have to by yet another new cartridge and thow out the 99% full one
that had stopped working.



> The only point I'd make about HP AIO devices is that while the hplip
> package is free and open source, to use it with a scanner it downloads a
> non-free binary blob. Whether this matters depends on whether you are a
> pragmatist or zealot ;-)

If I cared about scanning, I'd be very tempted to spend enough money
to get a network-connected printer that just e-mails me a PDF document
or writes it to a network file server.

-- 
Grant Edwards   grant.b.edwardsYow! We just joined the
  at   civil hair patrol!
  gmail.com




Re: [gentoo-user] Scanners, sane and driver support question

2018-11-12 Thread Jack

On 2018.11.12 05:08, Wols Lists wrote:

On 12/11/18 08:36, Neil Bothwick wrote:
> I bought an HP_Color (their spelling, not mine!) LaserJet MFP  
M476dw a
> few years ago. It does duplex printing and scanning and just works.  
A

> full set of toner cartridges isn't cheap, but they last well.

Looking at the front of mine, it's a Color LaserJet Pro MFP M477fdn.

Nice beast, but a full set of cartridges costs more than the printer
did! I went for that over its cheaper brother because when I factored  
in
the extra life of the starter cartridges, that seemed to cover the  
extra

cost.

So far it looks good. Just two niggles - this machine is well
out-of-date so CUPS doesn't seem to know about this model, and for  
some

reason I've set up scanning for three accounts successfully, but the
fourth just doesn't want to work :-(
Have you tried installing hplip?  It seems to have more models covered  
than the basic CUPS or even gutenprint.


Again, went for HP because they seem solid and reliable. Used to have  
a
Dell, but it was a "get a free printer if you buy 3 sets of  
cartridges".

Very good deal but the first one broke before it used all its
cartridges, and its replacement (fortunately, used the same  
cartridges)
broke shortly after it had run through all the cartridges. So I  
thought

"sod it, go for an HP with maintenance etc".

Cheers,
Wol







Re: [gentoo-user] Re: Picking out a printer. Questions.

2019-04-27 Thread Frank Steinmetzger
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] Network printing

2009-01-07 Thread BRM
- Original Message 

From: Peter Humphrey pe...@humphrey.ukfsn.org
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] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-22 Thread ubiquitous1980
On 21/04/10 01:26, Daniel Pielmeier wrote:
 Paul Hartman schrieb am 20.04.2010 17:03:
   
 On Tue, Apr 20, 2010 at 5:58 AM, ubiquitous1980 nixuser1...@gmail.com 
 wrote:
 
 Hello Daniel

 The all-in-one printer is connected via USB.  The following versions are
 installed:

 net-print/hplip-3.9.12-r1
 net-print/cups-1.3.11-r1
   
 Try to blacklist  rmmod the usblp module. I had to do that for my HP
 USB printer to work. Whenever usblp module was loaded, printing
 failed... I don't know if it applies to your printer as well, but it's
 something easy to try. :)


 
 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?

   

Paul,

I checked for lsusb and could not find it...therefore I checked my
kernel source, and found usb printer support, which I removed.  This has
not fixed the problem.

Daniel,

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.

Damien




[gentoo-user] Trying to set up HP printer with foo2zjs

2014-10-17 Thread Frank Steinmetzger
Dear knowledgables

I am trying to set up an HP LaserJet 1000 printer with foo2zjs. I had been
using hplip in the past (which did work), but for several (mostly non-
techical) reasons, I don’t want to use that. I was happy with foo2zjs back
in the day when it was still “stable” in portage.

So I downloaded foo2zjs from its website, compiled it and installed it into
/usr/local. Then I had to copy over an udev rules file and the firmware
helper into /etc/hotplug/usb/hplj1000.

I plugged the printer in -- nothing. That would have been too easy. On a
hunch, I removed the KERNEL==lp* test from the udev rule. Now the udev
rule matched and the firmware loader was triggered and did its job
(confirmed by the printer spinning up after receiving the firmware).

I could set up the printer in Cups, which did find the foo2zjs files. Its
details are:
| Driver:  HP LaserJet 1000 Foomatic/foo2zjs (recommended) (grayscale, 
2-sided printing)
| Connection:  usb://HP/LaserJet%201000
But here my journey ends. If I try to print something, nothing happens.

I tried it in a quite fresh Xubuntu in VirtualBox, which came with a basic
hplip installed (without the GUI stuff). Using hp-doctor, I set up the printer,
which mostly constisted of downloading the firmware from the web, and possibly
some other file setup. Afterwards, the printer worked.

So I compared my Gentoo and that Xubuntu. As it turned out, Xubuntu uses usblp,
which everywhere I read I’m told to disable if I want to use cups with USB.
ls -l /dev/hp* gives me:

Ubuntu:
lrwxrwxrwx 1 root root   7 Okt 18 00:52 /dev/hplj1000-0 - usb/lp0
lrwxrwxrwx 1 root root  15 Okt 18 00:52 /dev/hplj1000-2 - bus/usb/002/003

Gentoo:
lrwxrwxrwx 1 root root  15 18. Okt 01:35 /dev/hplj1000-9 - bus/usb/003/012


So what’s my next option? What could I be missing? Thanks for your insight.
PS.: I’m away over Saturday and probably won’t be able to reply until Sunday.


dmesg from Xubuntu when plugging in the printer:
| usb 2-2: new full-speed USB device number 3 using ohci-pci
| usb 2-2: New USB device found, idVendor=03f0, idProduct=0517
| usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
| usb 2-2: Product: hp LaserJet 1000
| usb 2-2: Manufacturer: Hewlett-Packard
| WARNING! power/level is deprecated; use power/control instead
| usblp 2-2:1.0: usblp0: USB Bidirectional printer dev 3 if 0 alt 0 proto 2 vid 
0x03F0 pid 0x0517
| usbcore: registered new interface driver usblp

syslog from my Gentoo:
| [kernel] [21569.964698] usb 3-9: new full-speed USB device number 12 using 
xhci_hcd
| [kernel] [21570.131930] usb 3-9: New USB device found, idVendor=03f0, 
idProduct=0517
| [kernel] [21570.131942] usb 3-9: New USB device strings: Mfr=1, Product=2, 
SerialNumber=0
| [kernel] [21570.131944] usb 3-9: Product: hp LaserJet 1000
| [kernel] [21570.131945] usb 3-9: Manufacturer: Hewlett-Packard
| [mtp-probe] checking bus 3, device 12: 
/sys/devices/pci:00/:00:14.0/usb3/3-9_
| [mtp-probe] bus: 3, device: 12 was not an MTP device_
| [/etc/hotplug/usb/hplj1000] foo2zjs: loading HP LaserJet 1000 firmware 
/usr/local/share/foo2zjs/firmware/sihp1000.dl to CUPS USB device ...
| [/etc/hotplug/usb/hplj1000] foo2zjs: usb://HP/LaserJet%201000... download 
successful.

-- 
Gruß | Greetings | Qapla’
Please do not share anything from, with or about me with any Facebook service.

”Yeah so if you ever need info about anyone at Harvard, just ask.
I have over 4,000 emails, pictures, addresses, SNS.” – Why? –
”People just submitted it. I don't know why. They trust me. Dumb fucks.”
– Mark Zuckerberg, founder of facebook


signature.asc
Description: Digital signature


Re: [gentoo-user] Picking out a printer. Questions.

2019-04-20 Thread Manuel McLure
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 Ghostscript->PCL with black and white. I don't know exactly what
issues there might be with color 

Re: [gentoo-user] Re: CUPS: Need help setting up my parallel port printer [SOLVED, but new problem now]

2008-03-07 Thread Michael Sullivan

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



Re: [gentoo-user] Re: CUPS: Need help setting up my parallel port printer [SOLVED, but new problem now] [SOLVED]

2008-03-07 Thread Michael Sullivan

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



Re: [gentoo-user] help with the dreaded mount: RPC: Program not registered

2007-09-22 Thread John Blinka
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


[gentoo-user] xdm login problems after recent emerge

2008-01-01 Thread Mick
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] Buying a low-cost printer for Linux

2008-12-04 Thread Mark Knecht
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] Re: new system, printing suddenly fails for all printers

2009-07-03 Thread eamjr56
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 lngn...@gmail.com

Date: Sat, 4 Jul 2009 01:48:57 
To: gentoo-user@lists.gentoo.org
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 w41...@gmail.com 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] copy-paste no longer works with (g)vim + OpenOffice

2010-02-17 Thread Philip Webb
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] chicken -- egg (NFS tty video)

2011-05-14 Thread Mike Edenfield

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] Beta test Gentoo with mdev instead of udev; version 5 - failure :-(

2012-03-13 Thread Bruce Hill, Jr.



On March 13, 2012 at 4:27 PM Canek Peláez Valdés can...@gmail.com
wrote:
snip

 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 bullmanure. :-)}

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] Re: udev-197 moves from /usr/lib to /lib

2013-01-11 Thread Stefan G. Weichinger
Am 11.01.2013 16:14, schrieb Nikos Chantziaras:

 Running this command (all in one line):
 
 emerge -p1 $(for p in $(qfile -Cvq $(find /usr/lib/udev/) | sort -u); do
 echo =$p; done)
 
 should re-emerge all packages that still have files there.  After that,
 /usr/lib/udev should no longer exist.  If it still does, then there are
 files in it that don't belong to any package.  Check them manually and
 delete them as needed or move them over.  Then delete /usr/lib/udev.

phew, that lists quite a list of packages here:

[ebuild   R] sys-fs/fuse-2.9.2
[ebuild   R] media-gfx/sane-backends-1.0.23
[ebuild   R] sys-apps/hwids-20130108
[ebuild   R] media-sound/alsa-utils-1.0.26-r1
[ebuild   R] media-libs/libmtp-1.1.5
[ebuild   R] media-libs/libgphoto2-2.5.0
[ebuild   R] sys-fs/ntfs3g-2012.1.15-r2
[ebuild   R] sys-libs/libosinfo-0.2.2
[ebuild   R] net-wireless/crda-1.1.2-r4
[ebuild   R] sys-fs/mdadm-3.2.6
[ebuild   R] x11-drivers/nvidia-drivers-310.19
[ebuild   R] sys-auth/consolekit-0.4.5_p20120320-r1
[ebuild   R] x11-misc/colord-0.1.26-r1
[ebuild   R] sys-power/upower-0.9.19
[ebuild   R] sys-fs/udisks-1.0.4-r4
[ebuild   R] app-admin/system-config-printer-common-1.3.12
[ebuild   R] sys-fs/udisks-2.0.91
[ebuild   R] net-print/hplip-3.12.11
[ebuild   R] net-wireless/bluez-4.101-r5
[ebuild   R] net-misc/networkmanager-0.9.6.4
[ebuild   R] sys-fs/udev-init-scripts-19
[ebuild   R] net-wireless/gnome-bluetooth-3.6.1
[ebuild   R] media-sound/pulseaudio-3.0  USE=(-neon)
[ebuild   R] app-emulation/qemu-1.2.1  USE=(-selinux)
[ebuild   R] app-emulation/vmware-modules-271.1-r1

Stefan



Re: [gentoo-user] Re: Optional /usr merge in Gentoo

2013-08-19 Thread Dale
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] Re: Optional /usr merge in Gentoo

2013-08-19 Thread joost
Dale rdalek1...@gmail.com 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] portage summary logs not rotated any more

2015-04-04 Thread Mick
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] Possible heads up: Digest verification failed

2016-10-29 Thread Adam Carter
On Sat, Oct 29, 2016 at 6:20 PM, Andrew Lowe <a...@wht.com.au> 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



[gentoo-user] new printer

2017-05-01 Thread Philip Webb
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 TypeMonochrome
Print Resolution   2400 x 600 DPI
Black Print Speed  30 PPM
Color Print Speed  No
Connectivity   USB
Duplex Yes
Max. Duty Cycle1 Pages / Month
Input Capacity 250 Sheet
Media Size Letter, Legal, Executive, A4, A5, A6, B5, B6
Processor  266 MHz
Memory 8 MB
Function   Print
Copy   No
Fax Capability No
ScannerNo
Scan ResolutionN/A
Auto Doc FeederN/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

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Sharing printers via Cups

2021-02-14 Thread Michael
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] Re: The hopeless futility of printing.

2024-01-29 Thread Dale
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] What's with foomatic-filters and cups-filters?

2014-06-09 Thread Alan Mackenzie
Hi, Alan.

On Sun, Jun 08, 2014 at 11:47:32PM +0200, Alan McKinnon wrote:
 For Alan Mackenzie's benefit, a little back story:

 The whole topic of printing is a mess, no single mere mortal can wrap
 their wits around it.

 Long long ago a printer was a piece of hardware you plugged into a
 serial or parallel port, the kernel found it and you were good to go.
 Whoopee!

 Because more than one user could use the printer and this causes
 conflicts, print servers were written: the server controlled the printer
 hardware and you submitted your print job to the server, and that took
 care of all the messy parts. To do it over the network was just as easy,
 modify the print server to also listen on a network port.

 This server was the classic lp suite of tools.

 Many years ago, HP developed a fancy printing language for their laser
 printers called PostScript[1].

Wasn't it Adobe?

 Think of it as a giant image format, it doesn't describe what the
 printed page looks like, it really is simple code that tells the
 printer how to print the page, including graphics and such. And so the
 era of complicated drivers was begun.

 These laser printers needed gobs of memory and big cpus to deal with
 PostScript, in the 386 era it was common to have a printer much more
 powerful than your computer.

 Enter other vendors and Windows. Just like with sound cards, vendors
 wrote their own drivers adding features done in software. This makes
 sense if you can't get PostScript to do double-sided printing or scale
 down so two pages fit on one page, doesn't make so much sense if you
 just want to avoid paying HP a PostScript license.

 After a while, HP got around to updating PostScript (or maybe it was
 Apple's code all long - I forget...) and called it PCL (Printer Control
 Language), needing new drivers.

 meanwhile, printers shifted over to USB away from parallel ports  and
 this needed new drivers. Plus there's two way to do it: do the USB part
 of the printing in userspace and only use the kernel for regular USB
 work, or put the whole thing in the kernel. Needing more drivers. last I
 looked, there were still some serious issues with the options to have it
 all in the kernel.

This is the CONFIG_USB_PRINTER, which if I remember correctly, must be
either on or off depending on other things you might have configured.  I
have been confused about this in the past.  Incidentally, my printer has
a parallel port which was still in use until I got my new box in 2009.

 On the print server side, the devs were getting real busy. We had
 classic 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.

I wasn't aware of that.  This is a variant of MS's Embrace, extend and
shows the dangers inherent in allowing commercial firms like Apple (or
Redhat?) to take control of infrastructure bits of the system.  I used
lprng until ~2 years ago, when libreoffice stopped supporting classical
print spoolers.  lprng just worked, unlike all the kerfuffle with cups.

 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.

Presumably, there'll be a PostScript validation suite which probably
costs much more than the printer you wanted to validate.

 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.

Yes.  Lots of complication, with no benefit for users like me.  :-(

 Did I mention PPDs? Printer something 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.

Indeed.

 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.

I don't seem to need hplip at the moment

Re: [gentoo-user] Buying a low-cost printer for Linux

2008-12-04 Thread Dale
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] network scanning with gentoo / hplip / hpaio

2007-01-24 Thread Allan Gottlieb
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] How the HAL are you supposed to use these files?

2010-02-09 Thread Mike Edenfield

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 match ... andappend  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. match an existing node in the database,
2. append or merge new values into those nodes.

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] hplip recompiled with scanner use flag now scanning works, printing does not.

2010-04-22 Thread Daniel Pielmeier
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] Beta test Gentoo with mdev instead of udev; version 5 - failure :-(

2012-03-14 Thread Mike Edenfield
 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: [gentoo-user] Re: network scanner not seen by xsane on *some* systems

2012-07-07 Thread Allan Gottlieb
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

2012-10-05 Thread Hinnerk van Bruinehsen
-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 path/to/foobar.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 overlayname. 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] Re: Optional /usr merge in Gentoo

2013-08-19 Thread William Kenworthy
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





Re: [gentoo-user] Re: Optional /usr merge in Gentoo

2013-08-20 Thread Alan McKinnon
On 20/08/2013 06:00, jo...@antarean.org wrote:
 Dale rdalek1...@gmail.com 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




[gentoo-user] module woes

2014-02-05 Thread James
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 target kernel 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

same for these modules: nf_nat_sip.ko, nf_nat_irc.ko
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 ?

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] portage summary logs not rotated any more

2015-04-04 Thread Alexander Kapshuk
On Sun, Apr 5, 2015 at 1:18 AM, Mick michaelkintz...@gmail.com 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] portage summary logs not rotated any more

2015-04-05 Thread Mick
On Sunday 05 Apr 2015 06:39:31 Alexander Kapshuk wrote:
 On Sun, Apr 5, 2015 at 1:18 AM, Mick michaelkintz...@gmail.com 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.


Re: [gentoo-user] Re: Gentoo net0 - auto resetting - very impressed

2015-09-16 Thread Alan McKinnon
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] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]

2015-09-18 Thread Rich Freeman
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] BTRFS problem? [WAS Quick check on net-print/hplip-3.14.10]

2015-09-18 Thread Mick
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] new printer

2017-05-01 Thread thelma
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=en=hll5200dw_us_eu_as=127=dlf102556_000=4=560

If you need extra help, email me.

Ps. Stay away from Brother Network Scanner. 

--
Thelma



 



Re: [gentoo-user] new printer

2017-05-01 Thread J. Roeleveld
On May 1, 2017 4:23:54 PM GMT+02:00, Philip Webb <purs...@ca.inter.net> 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

2021-02-13 Thread Dan Egli

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] What's with foomatic-filters and cups-filters?

2014-06-08 Thread Alan McKinnon
 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 something 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] slot conflict for media-libs/x264-0.0

2018-06-18 Thread allan gottlieb
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.12-r1]
[nomerge

Re: [gentoo-user] Picking out a printer. Questions.

2019-04-21 Thread Dale
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 printer that supports neither of these
> languages - those are generally known as Winprinters an

[gentoo-user] Imagemagick and gnome packages

2008-02-11 Thread Mick
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.


[gentoo-user] new system, printing suddenly fails for all printers

2009-07-02 Thread Alan E. Davis
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 Ive 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] GNOME: Selecting shut down in the menu sometimes lands me back a gdm login screen.

2010-02-03 Thread ubiquitous1980
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 **: WARN  request_name(): Could not
acquire the session service as it is already taken.  Return: 3


** (nm-applet:4811): WARNING **: WARN  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 -llevel or --logging=level   
  level:   
  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] GNOME: Selecting shut down in the menu sometimes lands me back a gdm login screen.

2010-02-03 Thread Daniel Troeder
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 **: WARN  request_name(): Could not
 acquire the session service as it is already taken.  Return: 3
 
 
 ** (nm-applet:4811): WARNING **: WARN  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 -llevel or --logging=level   
   level:   
   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.
 It hasn't done it in the last few reboots

Re: Re: [gentoo-user] NEW idea: Kernel panics and more info

2011-07-23 Thread Alex Schuster
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 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 user' 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] NEW idea: Kernel panics and more info

2011-07-23 Thread Dale

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 'iduser' 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

:-)  :-)



[gentoo-user] Why is dhcpcd starting by itself?

2012-02-26 Thread Willie WY Wong
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] module woes

2014-02-05 Thread Alan McKinnon
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 target kernel 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
 
 same for these modules: nf_nat_sip.ko, nf_nat_irc.ko
 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




Re: [gentoo-user] Re: Choosing between system profiles: hardened and desktop for desktop installation.

2017-07-07 Thread james
On 07/07/17 03:53, Martin Vaeth wrote:
> R0b0t1 <r03...@gmail.com> wrote:
>> On Thu, Jul 6, 2017 at 1:33 AM, Martin Vaeth <mar...@mvath.de> wrote:
>>> Peter Humphrey <pe...@prh.myzen.co.uk> 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] NEW idea: Kernel panics and more info

2011-07-23 Thread Dale
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--  1 dale dale2

Re: [gentoo-user] NEW idea: Kernel panics and more info

2011-07-23 Thread Mark Shields
On Sat, Jul 23, 2011 at 10:26 AM, Dale rdalek1...@gmail.com 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  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

Re: [gentoo-user] Print to cups printer from Windows - any good instructions?

2008-12-20 Thread Mark Knecht
On Sat, Dec 20, 2008 at 5:41 AM, Peter Humphrey
pe...@humphrey.ukfsn.org 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
Location /
  # Allow shared printing...
  Order allow,deny
  Allow @LOCAL
/Location
Location /admin
  Encryption Required
  # Restrict access to the admin pages...
  Order allow,deny
/Location
Location /admin/conf
  AuthType Default
  Require user @SYSTEM
  # Restrict access to the configuration files...
  Order allow,deny
/Location
Policy default
  Limit Send-Document Send-URI Hold-Job Release-Job Restart-Job
Purge-Jobs Set-Job-Attributes Create-Job-Subscription
Renew-Subscription Cancel-Subscription Get-Notifications Reprocess-Job
Cancel-Current-Job Suspend-Current-Job Resume-Job CUPS-Move-Job
Require user @OWNER @SYSTEM
Order deny,allow
  /Limit
  Limit CUPS-Add-Modify-Printer CUPS-Delete-Printer
CUPS-Add-Modify-Class CUPS-Delete-Class CUPS-Set-Default
AuthType Default
Require user @SYSTEM
Order deny,allow
  /Limit
  Limit Pause-Printer Resume-Printer Enable-Printer Disable-Printer
Pause-Printer-After-Current-Job Hold-New-Jobs Release-Held-New-Jobs
Deactivate-Printer Activate-Printer Restart-Printer Shutdown-Printer
Startup-Printer Promote-Job Schedule-Job-After CUPS-Accept-Jobs
CUPS-Reject-Jobs
AuthType Default
Require user @SYSTEM
Order deny,allow
  /Limit
  Limit Cancel-Job CUPS-Authenticate-Job
Require user @OWNER @SYSTEM
Order deny,allow
  /Limit
  Limit All
Order deny,allow
  /Limit
/Policy
Sector9 cups #




Sector9 cups # cat printers.conf
# Printer configuration file for CUPS v1.3.9
# Written by cupsd

[gentoo-user] ldap client authentication

2010-11-03 Thread James
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 ou=it,dc=whatever,dc=com 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] Sharing printers via Cups

2021-02-12 Thread Michael
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 92258)
I [11/Feb/2021:13:08:36 -0700] [Job 11] Started backend /usr/libexec/cups/
backend/smb (PID 92259)

Although th

[gentoo-user] blocking packages when emerge gnome-light

2008-05-05 Thread paul
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 ] gnome-base/control-center-2.22 (is blocking
gnome-base/gnome-settings-daemon-2.22.1)
[blocks B ] dev-util/gtk-doc-am (is blocking
dev-util/gtk-doc-1.8-r2)


I am not asking anyone to wade through my make.conf and various portage
files but if someone who knows the system obviously better than I do
could please point me in the direction of how to fix this issue I would
be grateful.

My requirements are install gnome-light 2.22.0 or later. 


Thanks

Paul
-- 
Transplants Save Lives - 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

[gentoo-user] dbus-binding-tool: error while loading shared libraries: libexpat.so.0:

2007-08-25 Thread Paul Gibbons
 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] qt-dbus blocker

2009-10-13 Thread Allan Gottlieb
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-qt3support-4.5.2 
(x11-libs/qt-qt3support-4.5.2 is blocking x11-libs/qt-test-4.5.2, 
x11-libs/qt-gui-4.5.2-r2, x11-libs/qt-core-4.5.2, x11-libs/qt-dbus-4.5.2, 
x11-libs/qt-script-4.5.2)
[uninstall] x11-libs/qt-qt3support-4.5.1  USE=accessibility -debug 
-kde -pch -phonon 
[blocks b ]x11-libs/qt-sql-4.5.2 (x11-libs/qt-sql-4.5.2 is blocking 
x11-libs/qt-test-4.5.2, x11-libs/qt-gui-4.5.2-r2, x11-libs/qt-core-4.5.2, 
x11-libs/qt-dbus-4.5.2, x11-libs/qt-script-4.5.2)
[uninstall] 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.2 (x11-libs/qt-test-4.5.2 is 
blocking x11-libs/qt-gui-4.5.2-r2, x11-libs/qt-core-4.5.2, 
x11-libs/qt-dbus-4.5.2, x11-libs/qt-script-4.5.2)
[ebuild U ] x11-libs/qt-test-4.5.2 [4.5.1] USE=iconv -debug -pch 
113,297 kB
[blocks b ]  x11-libs/qt-gui-4.5.2 (x11-libs/qt-gui-4.5.2 is 
blocking x11-libs/qt-test-4.5.2, x11-libs/qt-core-4.5.2, 
x11-libs/qt-dbus-4.5.2, x11-libs/qt-script-4.5.2)
[ebuild U ]   x11-libs/qt-gui-4.5.2-r2 [4.5.1] USE=accessibility cups 
dbus glib

Re: [gentoo-user] Does this drive need a funeral?

2011-11-01 Thread Dale

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': 
Input/output error
cp: cannot create directory `/mnt/media/home3/home/dale/.macromedia': 
Input

Re: [gentoo-user] portage summary logs not rotated any more

2015-04-05 Thread Alexander Kapshuk
On Sun, Apr 5, 2015 at 10:50 AM, Mick michaelkintz...@gmail.com wrote:

 On Sunday 05 Apr 2015 06:39:31 Alexander Kapshuk wrote:
  On Sun, Apr 5, 2015 at 1:18 AM, Mick michaelkintz...@gmail.com 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 22:00 /var/log/messages-20150104.gz
-rw--- 1 root root  132157 Dec 28 20:30 /var/log/messages-20141228.gz
-rw--- 1 root root  142911 Dec 22 19:30 /var/log/messages-20141222.gz

sed '1h;$!d;x;G;q' /var/log/messages
Jan 12 10:20:02 localhost syslog-ng[2321]: Configuration reload request
received, reloading configuration;
Apr  5 16:10:01 box1 CROND[2265]: pam_unix(crond:session): session closed
for user root

ls -lt /var/log/|sort -k9
total 16064
drwxr-xr-x 2 rootroot   4096 Feb 15 00:42 ConsoleKit
-rw-r--r-- 1 rootsasha 33914 Apr  5 08:34 Xorg.0.log
-rw-r--r-- 1 rootsasha 34515 Apr  4 23:17 Xorg.0.log.old
-rw-r--r-- 1 rootsasha 28290 Sep 22  2014 Xorg.1.log
drwxr-xr-x 2 rootroot   4096 Jan 12 10:20 chrony
drwxr-xr-x 2 rootroot   4096 Feb  7 12:26 cups
-rw-r- 1 rootroot  50378 Apr  5 08:33 dmesg
-rw-rw 1 portage portage6268 Apr  1 19:35 emerge-fetch.log
-rw-rw 1 portage portage 2687784 Apr  5 09:04 emerge.log
-rw-r--r-- 1 rootroot 292292 Apr  5 08:34 lastlog
-rw--- 1 rootroot9986127 Apr  5 16:10 messages
-rw--- 1 rootroot 142911 Dec 22 19:30 messages-20141222.gz
-rw--- 1 rootroot 132157 Dec 28 20:30 messages-20141228.gz
-rw--- 1 root

Re: [gentoo-user] portage summary logs not rotated any more

2015-04-05 Thread Mick
On Sunday 05 Apr 2015 14:19:16 Alexander Kapshuk wrote:
 On Sun, Apr 5, 2015 at 10:50 AM, Mick michaelkintz...@gmail.com wrote:
  On Sunday 05 Apr 2015 06:39:31 Alexander Kapshuk wrote:
   On Sun, Apr 5, 2015 at 1:18 AM, Mick michaelkintz...@gmail.com 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 22:00 /var/log/messages-20150104.gz
 -rw--- 1 root root  132157 Dec 28 20:30 /var/log/messages-20141228.gz
 -rw--- 1 root root  142911 Dec 22 19:30 /var/log/messages-20141222.gz
 
 sed '1h;$!d;x;G;q' /var/log/messages
 Jan 12 10:20:02 localhost syslog-ng[2321]: Configuration reload request
 received, reloading configuration;
 Apr  5 16:10:01 box1 CROND[2265]: pam_unix(crond:session): session closed
 for user root
 
 ls -lt /var/log/|sort -k9
 total 16064
 drwxr-xr-x 2 rootroot   4096 Feb 15 00:42 ConsoleKit
 -rw-r--r-- 1 rootsasha 33914 Apr  5 08:34 Xorg.0.log
 -rw-r--r-- 1 rootsasha 34515 Apr  4 23:17 Xorg.0.log.old
 -rw-r--r-- 1 rootsasha 28290 Sep 22  2014 Xorg.1.log
 drwxr-xr-x 2 rootroot   4096 Jan 12 10:20 chrony
 drwxr-xr-x 2 rootroot   4096 Feb  7 12:26 cups
 -rw-r- 1 rootroot  50378 Apr  5 08:33 dmesg
 -rw-rw 1 portage portage6268 Apr  1 19:35 emerge-fetch.log
 -rw-rw 1 portage portage 2687784 Apr  5 09:04 emerge.log
 -rw-r--r-- 1 rootroot

[gentoo-user] unclear (to me) errors from portage

2014-08-07 Thread gottlieb
 -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=games shotwell 
tracker 
[nomerge   ]  gnome-extra/gnome-documents-3.12.1 
[nomerge   ]   app-misc/tracker-1.0.2:0/100  USE=exif flac gif gstreamer 
gtk iso jpeg miner-fs mp3 nautilus pdf tiff upower%* vorbis xml -cue (-eds) 
-ffmpeg -firefox-bookmarks -gsf -iptc -networkmanager -playlist -rss {-test} 
-thunderbird -upnp-av -xmp -xps (-laptop%) 
[ebuild U  ]app-i18n/enca-1.14-r2 [1.14-r1] USE=recode -doc 
ABI_X86=(64) -32 (-x32) 548 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-flac-0.10.31-r1:0.10 [1.2.4-r1:1.0] 
ABI_X86=(64) (-32) (-x32) 0 kB
[ebuild  N ]  media-plugins/gst-plugins-vorbis-0.10.36-r1:0.10  
ABI_X86=(64) (-32) (-x32) 0 kB
[ebuild  NS]  media-plugins/gst-plugins-a52dec-0.10.19-r1:0.10 
[1.2.4-r1:1.0] USE=orc

Re: [gentoo-user] unclear (to me) errors from portage

2014-08-07 Thread Gevisz
 -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=games shotwell
 tracker [nomerge   ]  gnome-extra/gnome-documents-3.12.1
 [nomerge   ]   app-misc/tracker-1.0.2:0/100  USE=exif flac gif
 gstreamer gtk iso jpeg miner-fs mp3 nautilus pdf tiff upower%* vorbis
 xml -cue (-eds) -ffmpeg -firefox-bookmarks -gsf -iptc -networkmanager
 -playlist -rss {-test} -thunderbird -upnp-av -xmp -xps
 (-laptop%) [ebuild U  ]app-i18n/enca-1.14-r2 [1.14-r1]
 USE=recode -doc ABI_X86=(64) -32 (-x32) 548 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-flac-0.10.31-r1:0.10 [1.2.4-r1:1.0]
 ABI_X86=(64) (-32) (-x32) 0 kB [ebuild  N ]
 media-plugins/gst-plugins-vorbis-0.10.36-r1:0.10  ABI_X86

[gentoo-user] Re: Minimal (fast and cool)

2014-02-03 Thread Hans
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

2008-10-20 Thread Peter Humphrey
-plugins-4.1.2  USE=-debug -kdeprefix 
0 kB
[ebuild  N]  kde-base/kcmshell-4.1.2  USE=-debug -kdeprefix 0 kB
[ebuild  N]  kde-base/phonon-xine-4.1.2  USE=xcb -debug -kdeprefix 0 
kB
[ebuild  N]  kde-base/kde-menu-icons-4.1.2  USE=-kdeprefix 0 kB
[ebuild  NS   ]  kde-base/kscreensaver-4.1.2 [3.5.9] USE=opengl 
pam -debug -kdeprefix 0 kB
[ebuild  NS   ]  kde-base/kdialog-4.1.2 [3.5.9-r1] USE=-debug -kdeprefix 0 
kB
[ebuild  NS   ]  kde-base/kfind-4.1.2 [3.5.9] 
USE=-debug -htmlhandbook -kdeprefix 0 kB
[ebuild  NS   ]  kde-base/kcontrol-4.1.2 [3.5.9] 
USE=-debug -htmlhandbook -kdeprefix 0 kB
[ebuild  NS   ]  kde-base/kdepasswd-4.1.2 [3.5.9] USE=-debug -kdeprefix 0 
kB
[ebuild  NS   ]  kde-base/kcheckpass-4.1.2 [3.5.9] USE=pam -kdeprefix 0 kB
[nomerge  ] kde-base/kontactinterfaces-4.1.2  
USE=-debug -htmlhandbook -kdeprefix
[ebuild  N]  kde-base/kode-4.1.2  USE=-debug -kdeprefix 0 kB
[nomerge  ] kde-base/kscd-4.1.2 [3.5.9] 
USE=-debug -htmlhandbook -kdeprefix
[ebuild  N]  kde-base/libkcompactdisc-4.1.2  
USE=alsa -debug -htmlhandbook -kdeprefix 0 kB
[ebuild  NS   ]  kde-base/libkcddb-4.1.2 [3.5.9] 
USE=-debug -htmlhandbook -kdeprefix -musicbrainz 0 kB
[nomerge  ] kde-base/ksmserver-4.1.2 [3.5.9] USE=-debug -kdeprefix
[nomerge  ]  kde-base/libplasma-4.1.2  
USE=opengl -debug -kdeprefix -test -xinerama
[ebuild  N]   kde-base/libtaskmanager-4.1.2  
USE=-debug -kdeprefix -xcomposite 0 kB
[nomerge  ] kde-base/krunner-4.1.2  
USE=opengl -debug -kdeprefix -xcomposite -xscreensaver
[ebuild  NS   ]  kde-base/kdebase-data-4.1.2 [3.5.9] USE=-kdeprefix 0 kB
[nomerge  ] sys-apps/qtparted-0.4.5  USE=jfs kde ntfs reiserfs 
xfs -gnome
[ebuild  NS   ]  kde-base/kdesu-4.1.2 [3.5.9] 
USE=-debug -htmlhandbook -kdeprefix 0 kB
[nomerge  ] kde-base/ksmserver-4.1.2 [3.5.9] USE=-debug -kdeprefix
[ebuild  N]  kde-base/libkworkspace-4.1.2  USE=-debug -kdeprefix 0 kB
[nomerge  ] kde-base/kdebase-meta-4.1.2 [3.5.9]
[nomerge  ]  kde-base/dolphin-4.1.2  
USE=semantic-desktop -debug -htmlhandbook -kdeprefix
[ebuild  NS   ]   kde-base/libkonq-4.1.2 [3.5.9] 
USE=-debug -kdeprefix -test 0 kB
[ebuild  N]kde-base/kdepimlibs-4.1.2  
USE=sasl -debug -htmlhandbook -kdeprefix -ldap -test 1,844 kB
[ebuild  N] app-office/akonadi-server-1.0.0  USE=mysql 120 kB
[ebuild  NS   ] kde-base/kdelibs-4.1.2-r1 [3.5.9-r4] USE=acl alsa bzip2 
fam jpeg2k mmx nls opengl semantic-desktop spell sse sse2 ssl -3dnow 
(-altivec) -bindist -debug -doc -htmlhandbook -kdeprefix -kerberos -openexr 
-test -zeroconf 
8,899 kB
[ebuild  N]  x11-libs/qt-qt3support-4.4.2  
USE=accessibility -debug -pch 0 kB
[ebuild  N]   x11-libs/qt-sql-4.4.2  USE=mysql odbc qt3support 
sqlite -debug (-firebird) -pch -postgres 0 kB
[ebuild  N]  dev-libs/soprano-2.1  USE=clucene 
sesame2 -debug -doc -redland 1,789 kB
[ebuild  N]  media-sound/phonon-4.2.0  USE=-debug -gstreamer 392 
kB
[ebuild  N]  x11-libs/qt-opengl-4.4.2  USE=qt3support -debug -pch 
0 kB
[ebuild  N]  x11-libs/qt-svg-4.4.2  USE=-debug -pch 0 kB
[ebuild  N]   x11-libs/qt-gui-4.4.2  USE=accessibility cups dbus 
mng qt3support tiff -debug -glib -nas -nis -pch -xinerama 
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

Re: [gentoo-user] Installing outside of Portage cruft removal

2009-01-26 Thread Daniel Pielmeier
) {
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 = 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/share/dict
/usr/share/mime

/usr/lib/perl5/site_perl/5.8.8/i686-linux

/usr/lib/gentoolkit/pym
/usr/lib/gimp/2.0/plug-ins
/usr/lib/portage/pym
/usr/lib/scons-1.0.0/SCons
/usr/share/dia/python
/usr/share/hplip
/usr/share/javatoolkit/pym

/usr/lib/python2.5/site-packages
/
/bin/sh
/etc/.pwd.lock
/etc/adjtime
/etc/asound.state
/etc/blkid.tab
/etc/blkid.tab.old
/etc/conf.d/lm_sensors
/etc/conf.d/net
/etc/csh.env
/etc/cups/ppd/HP_Business_Inkjet_1000.ppd
/etc/cups/printers.conf
/etc/cups/printers.conf.O
/etc/eix-sync.conf
/etc/env.d/02ccache
/etc/env.d/02locale
/etc/env.d/03opengl
/etc/env.d/05binutils
/etc/env.d/05gcc-i686-pc-linux-gnu
/etc/env.d/20java
/etc/env.d/90games
/etc/env.d/99local
/etc/env.d/binutils/config-i686-pc-linux-gnu
/etc/env.d/gcc/.NATIVE
/etc/env.d/gcc/config-i686-pc-linux-gnu
/etc/fstab
/etc/gre.d/gre.conf
/etc/group
/etc/group-
/etc/gshadow
/etc/gshadow-
/etc/gtk-2.0/gdk-pixbuf.loaders
/etc/gtk-2.0/gtk.immodules
/etc/init.d/net.eth0
/etc/java-config-2/current-system-vm
/etc/ld.so.cache
/etc/ld.so.conf
/etc/locale.gen
/etc/localtime
/etc/make.conf
/etc/make.profile
/etc/modprobe.conf
/etc/mtab
/etc/openldap
/etc/openldap/ssl
/etc/openldap/ssl/ldap.crt
/etc/openldap/ssl/ldap.csr
/etc/openldap/ssl/ldap.key
/etc/openldap/ssl/ldap.pem
/etc/pango

Re: [gentoo-user] portage summary logs not rotated any more

2015-04-05 Thread Alexander Kapshuk
On Sun, Apr 5, 2015 at 5:36 PM, Mick michaelkintz...@gmail.com wrote:

 On Sunday 05 Apr 2015 14:19:16 Alexander Kapshuk wrote:
  On Sun, Apr 5, 2015 at 10:50 AM, Mick michaelkintz...@gmail.com wrote:
   On Sunday 05 Apr 2015 06:39:31 Alexander Kapshuk wrote:
On Sun, Apr 5, 2015 at 1:18 AM, Mick michaelkintz...@gmail.com
 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 22:00 /var/log/messages-20150104.gz
  -rw--- 1 root root  132157 Dec 28 20:30 /var/log/messages-20141228.gz
  -rw--- 1 root root  142911 Dec 22 19:30 /var/log/messages-20141222.gz
 
  sed '1h;$!d;x;G;q' /var/log/messages
  Jan 12 10:20:02 localhost syslog-ng[2321]: Configuration reload request
  received, reloading configuration;
  Apr  5 16:10:01 box1 CROND[2265]: pam_unix(crond:session): session closed
  for user root
 
  ls -lt /var/log/|sort -k9
  total 16064
  drwxr-xr-x 2 rootroot   4096 Feb 15 00:42 ConsoleKit
  -rw-r--r-- 1 rootsasha 33914 Apr  5 08:34 Xorg.0.log
  -rw-r--r-- 1 rootsasha 34515 Apr  4 23:17 Xorg.0.log.old
  -rw-r--r-- 1 rootsasha 28290 Sep 22  2014 Xorg.1.log
  drwxr-xr-x 2 rootroot   4096 Jan 12 10:20 chrony
  drwxr-xr-x 2 rootroot   4096 Feb  7 12:26 cups
  -rw-r- 1 rootroot

Re: [gentoo-user] Re: LVM, /usr and really really bad thoughts.

2012-03-14 Thread Dale
 -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 LINGUAS=-bs -cs -de -el -es -fr -hu -it -ja -nl -pl -pt
-ru -sl -sv -tr -uk -zh_CN 232 kB
[ebuild   R   ~] net-print/hplip-3.12.2-r2  USE=X hpcups kde libnotify
parport (policykit) qt4 -acl -doc -fax -hpijs -minimal -scanner -snmp
-static-ppds 0 kB
[ebuild   R] app-admin/logrotate-3.8.1  USE=-acl (-selinux) 48 kB
[ebuild   R   ~] media-video/bombono-dvd-1.2.1  USE=-gnome -test 4,015 kB
[ebuild   R] media-fonts/font-ibm-type1-1.0.3  USE=X 369 kB
[ebuild   R   ~] media-video/avidemux-2.5.6  USE=aac aften alsa gtk mp3
nls opengl qt4 sdl truetype vorbis x264 xv xvid -amr -dts (-esd) -jack
-libsamplerate -oss -pulseaudio LINGUAS=-bg -ca -cs -de -el -es -fr
-it -ja -pt_BR -ru -sr -sr@latin -tr -zh_TW 0 kB
[ebuild   R   ~] media-gfx/hugin-2011.4.0  USE=sift -lapack -python
LINGUAS=-bg -ca -cs -da -de -en_GB -es -fi -fr -hu -it -ja -ko -nl -pl
-pt_BR -ro -ru -sk -sl -sv -uk -zh_CN -zh_TW 11,466 kB
[ebuild   R   ~] media-gfx/gtkam-0.1.18  USE=debug nls -gimp -gnome 0 kB
[ebuild   R] media-video/kdenlive-0.8.2.1  USE=handbook
semantic-desktop (-aqua) -debug LINGUAS=-ca -cs -da -de -el -es -et
-fi -fr -gl -he -hr -hu -it -nl -pl -pt -pt_BR -ru -sl -tr -uk -zh
-zh_CN -zh_TW 5,016 kB
[ebuild   R] x11-drivers/xf86-video-vesa-2.3.0  USE=-debug 259 kB
[ebuild   R   ~] media-video/devede-3.21.0  USE=ffmpeg 2,478 kB
[ebuild   R] app-misc/screen-4.0.3-r4  USE=pam -debug -multiuser
-nethack (-selinux) 821 kB
[ebuild   R] sys-devel/gcc-4.5.3-r2  USE=cxx fortran gtk mudflap
(multilib) nls nptl openmp (-altivec) -bootstrap -build -doc
(-fixed-point) -gcj -graphite (-hardened) (-libssp) -lto -multislot
-nocxx -nopie -nossp -objc -objc++ -objc-gc -test -vanilla 0 kB
[ebuild   R] sys-fs/e2fsprogs-1.42  USE=nls -static-libs 0 kB
[ebuild   R] virtual/package-manager-0  0 kB
[ebuild   R] sys-devel/gcc-4.4.6-r1  USE=cxx fortran gtk mudflap
(multilib) nls nptl openmp (-altivec) -bootstrap -build -doc
(-fixed-point) -gcj -graphite (-hardened

[gentoo-user] Something is pulling in gnome-base

2013-12-07 Thread Mick
=python2_7%* -
python2_6% 872 kB
[ebuild U  ]   app-admin/system-config-printer-common-1.4.3 [1.3.12] 
USE=policykit -doc PYTHON_SINGLE_TARGET=python2_7%* -python2_6% 
PYTHON_TARGETS=python2_7%* -python2_6% 0 kB
[nomerge   ] net-im/pidgin-2.10.7-r5 [2.10.7-r4] USE=dbus gstreamer gtk 
ncurses nls spell xscreensaver (-aqua) -debug -doc -eds -gadu -gnutls -
groupwise -idn -meanwhile -mxit -networkmanager -perl -prediction -python -
sasl -silc -tcl -tk -zephyr -zeroconf PYTHON_SINGLE_TARGET=python2_7 
PYTHON_TARGETS=python2_7 
[nomerge   ]  net-libs/farsight2-0.0.31  USE=-msn -python -upnp 
[nomerge   ]   net-libs/libnice-0.1.4  USE=upnp 
[nomerge   ]net-libs/gupnp-igd-0.2.1  USE=introspection -python 
[ebuild U  ] net-libs/gupnp-0.20.8:0/4 [0.18.4:0/0] USE=connman 
introspection -networkmanager PYTHON_TARGETS=python2_7%* -python2_6% 373 kB
[ebuild U  ]  net-libs/gssdp-0.14.6:0/3 [0.12.2.1:0/0] 
USE=introspection -gtk 277 kB
[ebuild U  ]   net-libs/libsoup-2.42.3.1:2.4 [2.38.1:2.4] 
USE=introspection ssl -debug -samba {-test} 723 kB
[ebuild U  ]net-libs/glib-networking-2.36.2 [2.32.3] USE=libproxy 
ssl -gnome -smartcard {-test} 345 kB
[ebuild U  ] net-libs/libproxy-0.4.11-r1 [0.4.10-r1] USE=kde -
gnome -mono -networkmanager -perl -python -spidermonkey {-test} -webkit 
PYTHON_TARGETS=python2_7%* -python2_6% 92 kB
[nomerge   ] net-im/pidgin-2.10.7-r5 [2.10.7-r4] USE=dbus gstreamer gtk 
ncurses nls spell xscreensaver (-aqua) -debug -doc -eds -gadu -gnutls -
groupwise -idn -meanwhile -mxit -networkmanager -perl -prediction -python -
sasl -silc -tcl -tk -zephyr -zeroconf PYTHON_SINGLE_TARGET=python2_7 
PYTHON_TARGETS=python2_7 
[nomerge   ]  media-plugins/gst-plugins-gconf-0.10.31:0.10 
[ebuild U  ]   gnome-base/gconf-3.2.6-r1:2 [2.32.4-r1:2] 
USE=introspection ldap policykit -debug -gtk -orbit% 
PYTHON_TARGETS=python2_7%* -python2_6% 1,524 kB
[nomerge   ] app-admin/system-config-printer-gnome-1.4.3 [1.3.12] USE=-
gnome-keyring LINGUAS=en_GB -ar -as -bg -bn -bn_IN -br -bs -ca -cs -cy -da -
de -el -es -et -fa -fi -fr -gu -he -hi -hr -hu -hy -id -is -it -ja -ka -kn -ko 
-lo -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt -pt_BR -ro -ru -si -
sk -sl -sr -sr@latin -sv -ta -te -th -tr -uk -vi -zh_CN -zh_TW 
PYTHON_SINGLE_TARGET=python2_7%* -python2_6% PYTHON_TARGETS=python2_7%* -
python2_6% 
[ebuild  NS]  x11-libs/gtk+-3.8.7:3 [2.24.17:2] USE=X cups introspection 
(-aqua) -colord -debug -examples (-packagekit) {-test} -vim-syntax (-wayland) 
-xinerama 13,523 kB
[nomerge   ] net-print/hplip-3.13.9  USE=X hpcups hpijs kde libnotify 
policykit qt4 -doc -fax -libusb0 -minimal -parport -scanner -snmp -static-
ppds PYTHON_SINGLE_TARGET=python2_7 -python2_6 PYTHON_TARGETS=python2_7 -
python2_6 
[nomerge   ]  dev-python/notify-python-0.1.1-r3  USE=-examples 
PYTHON_TARGETS=python2_7 -python2_6 
[ebuild U  ]   dev-python/pygtk-2.24.0-r4:2 [2.24.0-r3:2] USE=-doc -
examples {-test} PYTHON_TARGETS=python2_7 -python2_6 0 kB
[ebuild U  ]x11-libs/gtk+-2.24.22:2 [2.24.17:2] USE=cups 
introspection (-aqua) -debug -examples {-test} -vim-syntax -xinerama 13,063 
kB
[nomerge   ] x11-libs/gtk+-3.8.7:3 [2.24.17:2] USE=X cups introspection 
(-aqua) -colord -debug -examples (-packagekit) {-test} -vim-syntax (-wayland) 
-xinerama 
[ebuild  N ]  app-accessibility/at-spi2-atk-2.8.1:2  USE={-test} 261 kB
[ebuild  N ]   app-accessibility/at-spi2-core-2.8.0:2  USE=introspection 
427 kB
[nomerge   ] media-gfx/imagemagick-6.8.6.8:0/6.8.6.8  USE=X bzip2 cxx 
jpeg lcms openmp pango png svg tiff truetype xml zlib -autotrace -corefonts -
djvu -fftw -fontconfig -fpx -graphviz -hdri -jbig -jpeg2k -lqr -lzma -opencl -
openexr -perl -postscript -q32 -q64 -q8 -raw -static-libs {-test} -webp -wmf 
[ebuild U  ]  gnome-base/librsvg-2.39.0:2 [2.36.4-r1:2] USE=introspection 
-gtk -tools -vala 507 kB
[nomerge   ] app-admin/system-config-printer-gnome-1.4.3 [1.3.12] USE=-
gnome-keyring LINGUAS=en_GB -ar -as -bg -bn -bn_IN -br -bs -ca -cs -cy -da -
de -el -es -et -fa -fi -fr -gu -he -hi -hr -hu -hy -id -is -it -ja -ka -kn -ko 
-lo -lv -mai -mk -ml -mr -ms -nb -nl -nn -or -pa -pl -pt -pt_BR -ro -ru -si -
sk -sl -sr -sr@latin -sv -ta -te -th -tr -uk -vi -zh_CN -zh_TW 
PYTHON_SINGLE_TARGET=python2_7%* -python2_6% PYTHON_TARGETS=python2_7%* -
python2_6% 
[ebuild  NS]  dev-python/pygobject-3.8.3:3 [2.28.6-r53:2] USE=cairo 
threads -examples {-test} PYTHON_TARGETS=python2_7 python3_3 -python2_6 -
python3_2 642 kB
[nomerge   ] app-accessibility/at-spi2-atk-2.8.1:2  USE={-test} 
[ebuild U  ]  dev-libs/atk-2.8.0 [2.6.0] USE=introspection nls {-test%} 
620 kB
[nomerge   ] media-video/vlc-2.0.7  USE=X a52 aac alsa avcodec avformat 
cdda cddb dbus dts dvbpsi dvd encode ffmpeg flac gcrypt kde libnotify live mmx 
mp3 mpeg ncurses ogg opengl png postproc qt4 sdl shout sqlite sse svg swscale 
truetype udev vaapi vorbis x264 xcb xml xv

Re: [gentoo-user] Re: Well, I went about updating my system again. (day 6)

2016-12-07 Thread Alan Grimes
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 ] dev-qt/qtwebkit-5.6.2:5/5.6::gen

<    1   2   3   4   5