[gentoo-user] Re: emerge -avt xfce4-meta; haven't got startxfce4. Help, please!

2010-02-09 Thread Harry Putnam
Mark Knecht  writes:

> Possibly you installed something other than xfce4-meta?
>
> firefly ~ # emerge -ep xfce4-meta | grep xfce | grep utils
> [ebuild   R   ] xfce-base/xfce-utils-4.6.1
> firefly ~ #

I'm just seconding fireflys' report.  I suspect xfce4 expects you to
be starting X from a system script under /etc/X11 somewhere instead of
startx.  So may consider that method a secondary thing and therefor
not install xfce-base/xfce-utils by default. (just a guess)

I use the startx method too and don't recall doing anything special to
get it to work.  

But maybe just installing or reinstalling xfce-base/xfce-utils will
take care of the problem.

Is xfce-base/xfce-utils already installed?




[gentoo-user] log messages

2010-02-16 Thread Harry Putnam
Hundreds, maybe thousands of lines like this (wrapped for mail):

  Feb 16 09:38:47 reader kernel: [162289.090685] usb 4-2.1:1.1: uevent

  Feb 16 09:38:48 reader kernel: [162289.467065] hdc: status error:
  status=0x00 { }

  Feb 16 09:38:48 reader kernel: [162289.467071] hdc: possibly failed
  opcode: 0xa0

  Feb 16 09:38:48 reader kernel: [162289.467079] ide-atapi: hdc:
  Strange, packet command initiated yet DRQ isn't asserted

When I noticed this output involving the cdrom I wondered if I might
have left something in it but that was not the case.





[gentoo-user] Re: log messages

2010-02-16 Thread Harry Putnam
Alan McKinnon  writes:

> On Wednesday 17 February 2010 00:36:42 Harry Putnam wrote:
>> Hundreds, maybe thousands of lines like this (wrapped for mail):
>> 
>>   Feb 16 09:38:47 reader kernel: [162289.090685] usb 4-2.1:1.1: uevent
>> 
>>   Feb 16 09:38:48 reader kernel: [162289.467065] hdc: status error:
>>   status=0x00 { }
>> 
>>   Feb 16 09:38:48 reader kernel: [162289.467071] hdc: possibly failed
>>   opcode: 0xa0
>> 
>>   Feb 16 09:38:48 reader kernel: [162289.467079] ide-atapi: hdc:
>>   Strange, packet command initiated yet DRQ isn't asserted
>> 
>> When I noticed this output involving the cdrom I wondered if I might
>> have left something in it but that was not the case.
>
> Do you have hal configured to poll your cdrom drive every two seconds, to see 
> if a disk is inserted? And if so, is the verbosity logging cranked up way 
> higher than it should be?
>
> I haven't personally had to fix this myself (so can't give pointers on where 
> to fix it), but it seems to be a common occurrence judging from posts I see 
> here and at other forums.

I do have hald running, but made no special config regarding cdrom
polling.  At least not on purpose.

The messages do appear to be continuous.  I will execute a reboot soon
but don't want to right now.

Why I'm pondering and following this up, is that I experience a
serious freeze after some unspecified amount of uptime.  Mouse and
keyboard become unresponsive... and eventually the OS cannot be
accessed at all.  

SSH appears to stop and cannot contact remotely either.

This began happening quite some time ago... on a different earlier
install.  I never could see anything in the logs that gave a clue to
why.  

I created a script that ran from cron.  It pinged a remote host, and
logged a unique easily findable string into the log using `logger',
every 5 minutes.  With that I was able to narrow down the time frame
of freeze to within the last 5 minutes (of log lines).

Even then, there was nothing to indicate a problem.  This was an OS
that had been running a very long time with upgrade after upgrade.

Though I hated having to rebuild all the customizations etc, I finally
completely reinstalled from scratch hoping to catch the problem with
the shotgun approach.

In that earlier OS there were no log messages regarding hdc being
generated (by the way).

Shortly after completing the new install and a couple of weeks of
getting setup the way I wanted, I began to experience the freezes
again.

I have caught the freeze in the early stages before completely losing
the network when just mouse and keyboard became unresponsive, was able
to ssh in and noticed that restarting hald held off the freeze for
some (again unspecified) amount of time.

So cutting the lengthy narrative down a bit, and briefly put, I'm
looking for anything unusual that is causing this.  The hdc messages
is the only odd thing I'm seeing.

Something appears to be jamming up the hal layer somehow, but not
leaving findable tracks.  At least not findable by an someone with
many yrs experience with linux but not much real debugging of
complicated problems under his belt.




[gentoo-user] Re: log messages

2010-02-17 Thread Harry Putnam
Alan McKinnon  writes:

> Remote logging and just leave it till the machine freezes again will
> hopefully give you the useful logs you need to identify the
> problem. To save disk space you can configure logrotate on the
> remote logger to delete the previous days stuff - you don't need
> logs from days where the box was working fine.

Thanks, that may be worth a try... I wonder if with rsyslog (my logger
of choice) it may be possible to log to localhost as well as remote?
I think I'll look into that too.

> Another option is to look at the pattern here: one day out of the
> blue a stable system developed problems and they still surface at
> random times. This is one of the characteristics of failing
> hardware. Have you done a full thorough hardware test, including
> such things as memtest and smart?

I agree that it sounds like hardware but even then some log tracks
should appear right? (Maybe I'll see them with the remote logging
suggestion)

> . . . . . . . . . . . . . . . . . . . . . .Have you done a full 
> thorough hardware test
Haven't done the memtest or smart

But far as `full'; what other tests might I try?

ps - I did find some reiserfs errors and currently running 
   reiserfsck --rebuild-tree 

On that (now umounted) disk after a full backup, so maybe that is
related and will cure the problem (fingers crossed hard)




[gentoo-user] [OT] Choice of Photo gallery tools

2010-02-17 Thread Harry Putnam
I wondered if anyone here can speak on the various photo and gallery
generating tools available on linux.  

I have photos on smugmug.com   and wondered if there is do it yourself
tools that come anywhere close the sophisticated handling they do.




[gentoo-user] Re: [OT] Choice of Photo gallery tools

2010-02-18 Thread Harry Putnam
Iain Buchanan  writes:

> On Wed, 2010-02-17 at 17:14 -0600, Harry Putnam wrote:
>> I wondered if anyone here can speak on the various photo and gallery
>> generating tools available on linux.  
>> 
>> I have photos on smugmug.com   and wondered if there is do it yourself
>> tools that come anywhere close the sophisticated handling they do.
>
>
> never tried smugmug and don't know what your requirements are, but I
> push JAlbum.  You can create some pretty good looking albums and run
> them from CD / HD / webserver (I especially like the fact that you don't
> need a webserver).  It can synchronise to your website.  There are a
> plethora of options and free + commercial skins, plus plug-ins to let
> you sell them online.

I'll look into JAlbum

One main requirement is that user/viewer be able to download full
resolution original photos.  No commercial (shopping cart) type stuff
is required just a family operation.

> Unfortunately it's just the generation tool, you have to find your own
> hosting.

Yeah thats what I'm after.




[gentoo-user] Re: [OT] Choice of Photo gallery tools

2010-02-18 Thread Harry Putnam
Mick  writes:

> On Thursday 18 February 2010 01:35:12 Iain Buchanan wrote:
>> On Wed, 2010-02-17 at 17:14 -0600, Harry Putnam wrote:
>> > I wondered if anyone here can speak on the various photo and
>> > gallery generating tools available on linux.
>> >
>> > I have photos on smugmug.com and wondered if there is do it
>> > yourself tools that come anywhere close the sophisticated
>> > handling they do.
>> 
>> never tried smugmug and don't know what your requirements are, but I
>> push JAlbum.  You can create some pretty good looking albums and run
>> them from CD / HD / webserver (I especially like the fact that you don't
>> need a webserver).  It can synchronise to your website.  There are a
>> plethora of options and free + commercial skins, plus plug-ins to let
>> you sell them online.
>> 
>> Unfortunately it's just the generation tool, you have to find your own
>> hosting.
>
> A really low-tech solution that was more than enough for me was the
> ability of Konqueror 3.x to generate an html page with thumbnails
> and link it to the folder with all your chosen photos.  With KDE4 I
> had to install kim4 for editing my pics and creating an html
> gallery.

That does sound close to what I need, but it involves jacking around
with KDE, something I swore off of a while back.




[gentoo-user] Re: [OT] Choice of Photo gallery tools

2010-02-18 Thread Harry Putnam
Neil Bothwick  writes:

> On Thu, 18 Feb 2010 11:05:12 +0930, Iain Buchanan wrote:
>
>> never tried smugmug and don't know what your requirements are, but I
>> push JAlbum.  You can create some pretty good looking albums and run
>> them from CD / HD / webserver (I especially like the fact that you don't
>> need a webserver).  It can synchronise to your website.  There are a
>> plethora of options and free + commercial skins, plus plug-ins to let
>> you sell them online.
>> 
>> Unfortunately it's just the generation tool, you have to find your own
>> hosting.
>
> If you want to host it yourself, there's Gallery. It too has plenty of
> options and can take a little tweaking to get it just as you want.

Neil, do you know off hand if gallery offers user/viewer the ability
to download original (full res) images?  Or does it generate the php
versions but leave the originals out of what is viewed?




[gentoo-user] strange one with gentoo guest in vmware

2010-02-18 Thread Harry Putnam
I'm trying to get a gentoo guest running in vmware app on windowsxp.

I just installed a prebuilt appliance (gentoo 2008) and am now
updating it.

I got the kernel rebuilt and updated to 2.6.32-r5 and rebooted into
that.

I now have all uppercase at the cmdline.  The actual keyboard is not
in uppercase mode... and oddly the gentoo install apparently is not
seeing uppercase at the cmdline since cmds that are supposed to be in
lower case all work.

typing what I see as `LS' at the command line does what `ls' is supposed
to do and lists the directory, so gentoo is seeing lowercase where I
see uppercase.

Anyone have a clue what this might be about?

I typed dmesg thinking to maybe append it here.  I saw `DMESG', when
the printout flashed by it was all uppercas then the OS froze...

Will now have to hard reboot it to see if I can see whats going on.

Prior to booting the new kernel it ran on 2.6.24-r8 and seemed to run
normally. 




[gentoo-user] Re: [OT] Choice of Photo gallery tools

2010-02-18 Thread Harry Putnam
[ Note for fellow searchers: The topic here is the image/photo Gallery
  software available on portage as: www-apps/gallery
]

"J. Roeleveld"  writes:

> I use Gallery myself for my picture collection and this can be configured 
> easily.
> As in, you can allow users access to all versions or just the 'resized' 
> versions.
> This can be done through groups or specific users.
>
> I usually only allow people to access the resized versions. It does support 
> resizing on-the-fly, but only to the sizes you actually configured for that 
> particular photo/album/...
>
> the on-the-fly bit is only done if the requested size doesn't exist yet, eg. 
> it will only do it once (unless you clear the derivatives folder ;) )


Neil Bothwick  writes:

> On Thu, 18 Feb 2010 08:53:15 -0600, Harry Putnam wrote:
>
>> > If you want to host it yourself, there's Gallery. It too has plenty of
>> > options and can take a little tweaking to get it just as you want.  
>> 
>> Neil, do you know off hand if gallery offers user/viewer the ability
>> to download original (full res) images?  Or does it generate the php
>> versions but leave the originals out of what is viewed?
>
> It's your choice, you can allow specified resolution or full size too. I
> only allow full size to logged in users, to stop web spiders eating up
> all my bandwidth by crawling over the original image links.

Great info fellas... thanks, I reposted it here for the ease of any
searchers who may stumble on it.




[gentoo-user] Re: strange one with gentoo guest in vmware

2010-02-18 Thread Harry Putnam
Harry Putnam  writes:

> I'm trying to get a gentoo guest running in vmware app on windowsxp.
>
> I just installed a prebuilt appliance (gentoo 2008) and am now
> updating it.
>
> I got the kernel rebuilt and updated to 2.6.32-r5 and rebooted into
> that.
>
> I now have all uppercase at the cmdline.  The actual keyboard is not
> in uppercase mode... and oddly the gentoo install apparently is not
> seeing uppercase at the cmdline since cmds that are supposed to be in
> lower case all work.

[...]

Never mind... I've trashed that bagvapp gentoo appliance and built my
vmware gentoo guest from livecd.

  I tried the (now aged) bagvapp vmware gentoo appliance because I've
  had big troubles in the past getting a kernel to boot inside vmware.
  I thought it might be easier to update the bagvapp appliance.

  This time, after piddling with the latest kernel, I got it to boot
  right on the first try  (chest swelling to new dimensions)
  But that Uppercase thing was a corker...




[gentoo-user] How to get text only console on livecd install

2010-02-19 Thread Harry Putnam
How can I force a text only console when installing from live cd?

(This is the most recent livecd for x86 on www.gentoo.org)

There appears only gentoo or gentoo-nofb...as boot choices and either
of those ends in a gui.

I always find it takes me 10 minutes to find a terminal once the gui
comes up.  So prefer the text console.

Looking thru the F2 options.. as well, I don't see a choice that looks
like it might give me a text only console to work in.

I realize I can do something once I find a command terminal to either
kill X or just use that terminal... but why have to dick around like that?




[gentoo-user] Re: How to get text only console on livecd install

2010-02-19 Thread Harry Putnam
Dale  writes:

> Unless it has changed, it is "gentoo nox" at the prompt.  Whatever
> option you want to use, you have to put the gentoo first.  At least it

Yup, sorry for missing it in the options (F7).  Iain B. nailed right off
the bat.




[gentoo-user] When copying an os to new disk

2010-02-19 Thread Harry Putnam
I'm currently rsyncing an OS (new gentoo install) from one vmware disk
to a newly created one.

I know not to copy /proc but not sure about /dev.  Looking at an
unbooted OS disk with an install on it... I see /dev/ is populated
(with no boot up), but I recall seeing things during boot like
`populating /dev' (I think).

So should I copy it over to new disk or not?

OH, what this is all about is maybe worth mention here for someone
else doing similar.

I opened a vmware appliance (pre made install of gentoo 1008),
thinking I'd be able to fairly quickly get it up to date.

The reason I went with the premade appliance is that I've tried
several times to get a vmware gentoo guest going but always have
trouble when booting off the newly built kernel.  I've fussed with
that repeatedly and only managed long ago to get one gentoo vmware
guest running.  (There was quite a tirade of threads initiated by me
here back then),

So anyway the appliance turned out to be a real chore to get
updated... Circular dependancies involving different versions of
portage and somekind  of api... maybe eapi1 not working with various
pkgs, all in all a big nasty circle jerk... so went ahead and tried
the `from scratch' route.

And true to form having plenty of trouble getting my kernel to see the
vmware disk I installed on, once I boot off the new kernel.

I chose to install on a scsi disk as recommended by vmwares' help.

That, I think is where the rub currently is. 

I noticed the appliance (From bagvapp) was built on an IDE disk, And
its worth noting that even when booting from the appliance,,, that
kernel doesn't see the scsi disk either... (with fdisk).

So the livecd kernel sees both the appliance IDE disk and the scsi
disk I installed on.  That kernel appears to be genkernel built and
uses the initrd approach, so all mod are in play before the actual
kernel starts booting.

Anyway, cutting to the chase, I added an IDE disk myself and am copying
the OS from the original SCSI to the IDE (I foolishly did quite a bit
of emerging and configuring from the chroot before actually testing if
it would boot so, don't wan't to lose that work and do another fresh
install).

So, I'm about to find out if any of it is going to work but wondered
about copying /dev/ over.




[gentoo-user] any advantage to dbus or hal on minimal system

2010-02-22 Thread Harry Putnam
On a non-x system, is there any advantage to having dbus and hal
installed?

I'm bring a formally X enabled system down to a hardcore console only
log server.

Don't now enough about either hal or dbus to know if they need to be
removed? 




[gentoo-user] Re: How should I clean up my broken system?

2010-02-22 Thread Harry Putnam
Volker Armin Hemmann  writes:

> well, cfg-update keeps a backup. It detects manual edits and try to
> resolve conflicts resulting from that automatically. Which works
> surprisingly well. If

Volker gave me that same advice long ago, I've used cfg-update ever
since.

Its capable of dispatching meaningless file updates in the blink of an
eye, and offers several well known methods for resolving those that
need it.

I personally use vimdiff with it, but there are several other options.
Its just a good solid tool.




[gentoo-user] [OT] attach a perl script to daemon services

2010-02-26 Thread Harry Putnam
ALERT [ This is a slightly rewritten repost from
`gmane.[...].perl.beginners', where it got no responses]
----   ---=---   -    

My subject line is probably not really that
good at describing what I want advice on but here it is:

I've setup one linux (gentoo) box as a logserver running rsyslog and
several other linux boxes sending syslog info to it.

I want to set the server rsyslog.conf so that in addition to normal
logging to /var/log/whateverlogs it also writes everything to a named
pipe (fifo).

Then tap into the fifo with a perl script that is written to be able
to sort and write the syslog output according to various regex that
may be part of startup cmd or fed in later during the running script.

I think I can manage the sorting/writing and maybe reading regex into
the running process. (Just by an awkward funky method of having the
script reread a file on disk every 5 minutes, and put what ever regex
become necessary there).

There are probably cleaner better ways... and I may be back asking
about that but right now, where I have no real idea is how to attach
the perl script to a service like the system logger.

I mean so the script starts and stops with system logger and somehow
alerts the system logger (and sysadmin) if it (the script) for some
reason is killed or dies on its own while the system logger is still
running.

I imagine getting the perl script to start/stop with the logger daemon
on boot up would be simple enough by inserting something into the init
script that starts the logger.

>From there I'm just drawing blanks as to how a script would know if
the system logger stopped, and further some kind of `trap' that would
send out info to be logged by the logger and to the system admin if
the script itself died or was killed.

I'm slightly familiar with shell script traps but haven't encountered
or had need of such in a perl script.

But really I suspect I'm going at this wrong right from the start and
there is a better plan to be had.

I'm hoping someone with that kind of experience can outline how this
might be done.  I can handle most of the perl scripting but not sure
about coding a `trap' style function.. That I can get from the
perl.beginners group. so here I'm looking for an overview of how to go
at this.

I'm thinking an experienced sysadmin here will have at the top of
there head.. the basic outline of how something like this might be
done.

So to summarize I want to:
  Attach a perl script to a service daemon (rsyslog) so it
  starts/stops with the daemon, and has some code that will put
  something into syslog output and notify the admin in the event the
  script itself is terminated unexpectedly.  Something along the line
  of a bash/ksh exit `trap'

  It would also need to check when being started, that the system
  logger is running else fail and send notice to admin.
  




[gentoo-user] Re: [OT] attach a perl script to daemon services

2010-02-26 Thread Harry Putnam
Alan McKinnon  writes:

>> Then tap into the fifo with a perl script that is written to be able
>> to sort and write the syslog output according to various regex that
>> may be part of startup cmd or fed in later during the running script.
>
> I don't know rsyslog at all (I use syslog-ng), but certain concepts
> are stable and universal.

Please reread my OP or maybe I should attempt to clarify what must be
a poorly written question.

I'm not asking help on anything about writing to a named pipe or
anything about the functioning of rsyslog... I know that part.

Not asking  about the bulk of  the perl scripting, such  as sorting by
regex, reading from fifo, etc (are all understood [at least well enough]).

I want an overview/outline of how one goes about attaching a script to
the operations such as start/stop of a daemon

Even there... the additions necessary to the scripts in
/etc/init.d... are understood.

I guess I want to know if its even advisable to attach custom
scripting to a daemon or if there is a well worn path for doing that.

Assuming its not clear off the wall then:

Where I'm weak is the part where the custom script checks if the
daemon is running, before the script itself starts.  That part would
need to be something pretty fool proof... maybe just grep ps output
for the daemon?

And where the custom script sends syslog (and sysadmin) a message  in
the event the script itself is killed or dies for some unexpected
reason. Something like an EXIT `trap' in shell scripting... (how its
done is perl)





[gentoo-user] Re: [OT] attach a perl script to daemon services

2010-02-27 Thread Harry Putnam
Alan McKinnon  writes:

> On Friday 26 February 2010 23:44:03 Harry Putnam wrote:
>> Where I'm weak is the part where the custom script checks if the
>> daemon is running, before the script itself starts.  That part would
>> need to be something pretty fool proof... maybe just grep ps output
>> for the daemon?
>
> Maybe I'm misunderstanding you, but I don't understand this approach.
>
> If the daemon is not running there's nothing in the fifo. Why got to all the 
> complexity of writing an independent program that checks if something is 
> running then does various actions? The script necessarily depends on the 
> daemon running so instead of checking if it is, simply have the daemon start 
> the script. No daemon running = no script launched = no complexity.

In the back of my mind there was a reason on opensolaris, that the
script would fail if the fifo was empty... Then once data comes the
script isn't listening.  Or syslog won't write or something similar.

I also have an opensolaris box that will be using this same script.

I don't want to back up and relocate all that right now... Not sure I
have it remembered right either, it seems just easier to have the
script check before trying to start (for portability).

Solaris syslog can write to named pipes but no so readily as linux
syslog.  Not sure of the details now.

> If I'm still off-bat and this approach cannot work for solid technical 
> reasons, then I'll go away and shut if if you say so :-)

No, not off-base... thanks.  The checking isn't so hard to figure
anyway, but you didn't talk about the script having some kind of trap
or something to cover unexpected kill or failure.

Michael has covered that somewhat.

Also I didn't think to search cpan for something that does what I
want. That may turn up something I can just plug into.

Michael Higgins  writes:

[...]

> in my perl script:
>
> log_file=>'Sys::Syslog', pid_file=>'/var/run/evolone_agi.pid';
>
> Sys::Syslog" is an interface to the UNIX syslog(3) program.
>
> from /etc/init.d/evolone_agi
>
> depend() {
>   need net asterisk postgresql-8.4
> }
>
> As for reading new information, there are a gazillion ways. Trap a
> signal to reread the configs?
>
> reload() {
> ebegin "Reloading evolone_agi configuration" 
>   start-stop-daemon --signal 1 --pidfile /var/run/evolone_agi.pid 
> eend $? "Error reloading evolone_agi"
> }

Thanks ... good info.  How does the script behave regarding what
happens if it receives a sigINT or sigKILL, or some other way dies
(even from an internal error)?

Does it log to syslog? and notify sysadmin?

I haven't had occasion to run into an `EXIT trap' in perl... but there
must be such a thing.




[gentoo-user] aclocal failing on all emerges

2010-02-27 Thread Harry Putnam
I've run into something here on an OS that was installed from scratch
only a week or so ago.  

emerge -vuDNp world shows only 8 pkgs (on a todays sync). 

But none of them will install even with --skipfirst and --keep-going

All fail when aclocal is trotted out.  I don't see recent threads here
about it... googling turns up a herd of bugs involving aclocal but
then newest is 2008.

The newest threads here that even mention aclocal date around Jan 20.

I didn't change the compiler (gcc-4.3.4) since the first sync and
update world.

gcc-4.4.3 is also installed but I'm using 4.3.4

Today I ran:

 emerge -v sys-devel/automake-wrapper (the package that has aclocal in
  it) 

Ran:
  lafilefixer --justfixit

Reinstalled libtool

But still everything fails when aclocal gets called.

I tried switching to the newer compiler gcc-4.3.4... then tried to
repeat the steps above... but can't seem to get past aclocal.

I tried backup up to the next lower available version of
automake-wrapper:
   automake-wrapper-3-r1

But of course aclocal fails.





[gentoo-user] Re: [OT] attach a perl script to daemon services

2010-02-28 Thread Harry Putnam
Alan McKinnon  writes:

> FWIW, Solaris syslogd is like other basic tools on Solaris: standards 
> compliant in that it caters for the lowest common denominator that comprises 
> Unix. Which is to say, almost always useless for real work.

A little turn towards OT:
so what are using your opensolaris machines for?
The advantages of zfs?




[gentoo-user] Re: [OT] attach a perl script to daemon services

2010-03-02 Thread Harry Putnam
Alan McKinnon  writes:

> On Monday 01 March 2010 06:16:09 Harry Putnam wrote:
>> Alan McKinnon  writes:

>> > FWIW, Solaris syslogd is like other basic tools on Solaris:
>> > standards compliant in that it caters for the lowest common
>> > denominator that comprises Unix. Which is to say, almost always
>> > useless for real work.
>> 
>> A little turn towards OT:
>> so what are using your opensolaris machines for?
>> The advantages of zfs?
>
>
> I had Solaris, not OpenSolaris. I've been steadily reducing my
> Solaris machines (mostly because of the horrendous cost) and not
> many are left. Other teams here still have quite a few, mostly for
> proprietary ISP monitoring stuff, Oracle, VoIP billing systems -
> that kind of thing.

No interest in opensolaris then?  The `ZFS' file system alone makes it
worth looking at... its a working system very similar to what linux
community is trying with btrfs

I guess you know that Oracle bought Sun.  Some on the opensolaris
lists have been pretty concerned about the fate of opensolaris.

In the last few days some Oracle heavies have put it on line that
Oracle plans to put more devel money into Opensolaris than Sun had
been so many in that community are relieved.

If you're interested, look for: 

  Subject: Oracle Says OpenSolaris Will Stay Open Source

On news.gmane.org under:
  gmane.os.solaris.opensolaris.general

The only url have to hand is below but there were several others 
cited a fair bit more info in thead as well:

  
http://www.internetnews.com/dev-news/article.php/3867776/Oracle+Says+OpenSolaris+Will+Stay+Open+Source.htm




[gentoo-user] about the vga clause on kernel line of grub.conf

2010-03-02 Thread Harry Putnam
For quite a long time I've been using things like:
  vga=0x31A

On the kernel line in grub.conf

Its a hexidecimal system drawn info in this (partial) chart I found
somewhere in the kernel documentation long ago.

   ##  640x480 800x600 1024x768 1280x1024
   ##   256 0x301   0x303   0x3050x307
   ##   32k 0x310   0x313   0x3160x319
   ##   64k 0x311   0x314   0x3170x31A
   ##   16M 0x312   0x315   0x3180x31B

I've used kernel lines like below in grub.conf:
  (asterisks added)
  kernel /vmlinuz  root=/dev/hda5  ** vga=0x31b **  video=vesfb:mtrr:3,ywrap

For a very long time. (On occasion I've needed a smaller resolution
and used 0x317)

But on two recent installs of gentoo as vmware guests, that kind of
entry isn't doing any good and I'm still being prompted to make a
choice. 

When I hit  as directed a largish chart of what look to be
octal based settings, flashes by and only the last portion of it
remains visible.

It has choices like 340, 341 and many other three digit offerings from
a large chart that shows the resolutions you get with the 3 digit
choices.

I was unable to find this chart by grepping in the kerne//Documentation
directory. 

Where does the boot process access that chart?

And why is it that the hex system is ignored and this other system
offered at boot?

I'm successfully using the hex system on my main gentoo machine... but on
the two recently installed gentoo vmware guests it doesn't work.

It may be relevant that these installs are console only... no X.




[gentoo-user] Re: Filesystem corruption - reiserfs? - won't boot, "filesystem couldn't be fixed :("

2010-03-03 Thread Harry Putnam
Mark Knecht  writes:

>In my most recent case what looked like a simple disk corruption
> problem was really a prelude to the drive just plain going bad. Have
> you tried smartctl to see what it says about the drive at this point?

Sorry to butt in here... is that tool, smartctl in some pkg on portage?




[gentoo-user] Is the move perl-5.10 involved here

2010-03-03 Thread Harry Putnam
I'm having trouble when revdep-rebuild tries to emerge
dev-perl/DBD-mysql

I can't really make much sense of the output but I see it involves
scripting from perl-5.8.8 

I've included the tail of the emerge below, and below that the output
of emerge --info =dev-perl/DBD-mysql-4.01.3 as suggested by emerge output.
 
I did run `USE="build" emerge -v DBD-mysql' as suggested somewhere in
the ouput.  The tail below is from that:

[...]

>>> Emerging (1 of 1) dev-perl/DBD-mysql-4.01.3
 * DBD-mysql-4.013.tar.gz RMD160 SHA1 SHA256 size ;-) ...   [ 
ok ]
 * checking ebuild checksums ;-) ...[ 
ok ]
 * checking auxfile checksums ;-) ...   [ 
ok ]
 * checking miscfile checksums ;-) ...  [ 
ok ]
>>> cfg-update-1.8.2-r1: Checksum index is up-to-date ...
 * CPV:  dev-perl/DBD-mysql-4.01.3
 * REPO: gentoo
 * USE:  build elibc_glibc kernel_linux userland_GNU x86
>>> Unpacking source...
>>> Unpacking DBD-mysql-4.013.tar.gz to 
>>> /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
>>> Source unpacked in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
>>> Compiling source in 
>>> /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work/DBD-mysql-4.013 ...
 * Using ExtUtils::MakeMaker
Use of uninitialized value in subroutine entry at 
/usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
 object version 1.609 does not match $::VERSION %_ at 
/usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
Compilation failed in require at 
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3225.
BEGIN failed--compilation aborted at 
/usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3226.
Compilation failed in require at Makefile.PL line 24.
 * ERROR: dev-perl/DBD-mysql-4.01.3 failed:
 *   Unable to build! (are you using USE="build"?)
 * 
 * Call stack:
 * ebuild.sh, line   54:  Called src_compile
 *   environment, line 2896:  Called perl-module_src_compile
 *   environment, line 2585:  Called perl-module_src_prep
 *   environment, line 2657:  Called die
 * The specific snippet of code:
 *   perl Makefile.PL PREFIX=/usr INSTALLDIRS=vendor 
INSTALLMAN3DIR='none' DESTDIR="${D}" ${myconf} <<< "${pm_echovar}" || die 
"Unable to build! (are you using USE=\"build\"?)";

----   ---=---   -   
Below here is the output of emerge --info =dev-perl/DBD-mysql-4.01.3
----   ---=---   -  

Portage 2.1.7.17 (default/linux/x86/10.0, gcc-4.4.3, glibc-2.11-r1, 
2.6.32-gentoo-r1 i686)
=
System Settings
=
System uname: 
Linux-2.6.32-gentoo-r1-i686-Intel-R-_Celeron-R-_CPU_3.06GHz-with-gentoo-2.0.1
Timestamp of tree: Tue, 02 Mar 2010 17:30:01 +
app-shells/bash: 4.1_p2
dev-lang/python: 2.6.4-r1, 3.1.1-r1
dev-util/cmake:  2.8.0-r2
sys-apps/baselayout: 2.0.1
sys-apps/openrc: 0.6.0-r1
sys-apps/sandbox:2.2
sys-devel/autoconf:  2.13, 2.65
sys-devel/automake:  1.10.3, 1.11.1
sys-devel/binutils:  2.20-r1
sys-devel/gcc:   4.3.4, 4.4.3
sys-devel/gcc-config: 1.4.1
sys-devel/libtool:   2.2.6b
virtual/os-headers:  2.6.32
ACCEPT_KEYWORDS="x86 ~x86"
ACCEPT_LICENSE="* -...@eula"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -march=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/X11/xkb"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d /etc/fonts/fonts.conf 
/etc/gconf /etc/gentoo-release /etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"
CXXFLAGS="-O2 -march=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
EMERGE_DEFAULT_OPTS="--with-bdeps y"
FEATURES="assume-digests distlocks fixpackages news parallel-fetch 
protect-owned sandbox sfperms strict unmerge-logs unmerge-orphans userfetch"
GENTOO_MIRRORS="http://gentoo.chem.wisc.edu/gentoo/  
ftp://gentoo.chem.wisc.edu/gentoo/  ftp://mirror.datapipe.net/gentoo/   
http://mirrors.acm.cs.rpi.edu/gentoo/  ftp://gentoo.cites.uiuc.edu/pub/gentoo/  
ftp://ftp.ussg.iu.edu/pub/linux/gentoo/  http://gentoo.cs.lewisu.edu/gentoo/  
ftp://mirror.mcs.anl.gov/pub/gentoo/";
LDFLAGS="-Wl,-O1"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times --compress 
--force --whole-file --delete --stats --timeout=180 --exclude=/distfiles 
--exclude=/local --exclude=/packages"
PORTAGE_TMPDIR="/var/tmp"
PORTDIR="/usr/portage"
SYNC="rsync://rsync.gentoo.org/gentoo-portage"
USE="X Xaw3d acl acpi alsa apache2 aspell berkdb branding bzip2 cairo cli 
cracklib cscope cups cxx dbus dri emacs exif ffmpeg fortran gdbm gif gpm hal 
iconv jpeg lock logrotate mbox modules mudflap mysql ncurses nls nptl nptlonly 
openmp pam pcre pdf perl png pppd python readline 

[gentoo-user] Re: Is the move perl-5.10 involved here

2010-03-04 Thread Harry Putnam
Willie Wong  writes:

> On Wed, Mar 03, 2010 at 11:21:35AM -0600, Harry Putnam wrote:
> 

>> >>> Unpacking source...
>> >>> Unpacking DBD-mysql-4.013.tar.gz to 
>> >>> /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
>> >>> Source unpacked in /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work
>> >>> Compiling source in 
>> >>> /var/tmp/portage/dev-perl/DBD-mysql-4.01.3/work/DBD-mysql-4.013 ...

>>  * Using ExtUtils::MakeMaker
>> Use of uninitialized value in subroutine entry at 
>> /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
>>  object version 1.609 does not match $::VERSION %_ at 
>> /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223.
>> BEGIN failed--compilation aborted at 
>> /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
>> Compilation failed in require at 
>> /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3225.
>> BEGIN failed--compilation aborted at 
>> /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI/DBD.pm line 3226.
>
> Have you tried perl-cleaner?
>
> http://www.gentoo.org/proj/en/perl/perl-cleaner.xml

So do you think its related to the update to perl-5.10?

Have you had a similar problem and `perl-cleaner' fixed it?




[gentoo-user] Re: Is the move perl-5.10 involved here

2010-03-04 Thread Harry Putnam
Michael Higgins  writes:

> On Thu, 04 Mar 2010 10:52:30 -0600
> Harry Putnam  wrote:
>
>> >> Use of uninitialized value in subroutine entry
>> >> at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. object
>> >> version 1.609 does not match $::VERSION %_
>> >> at /usr/lib/perl5/5.10.1/i686-linux/DynaLoader.pm line 223. BEGIN
>> >> failed--compilation aborted
>> >> at /usr/lib/perl5/vendor_perl/5.8.8/i686-linux/DBI.pm line 263.
>   ^
> Your perl installation is broken. That is obvious. What you do to fix
> it probably should start with perl-cleaner... FWIW my experience with
> updating it has been fine. 
>
> Basically, why are you asking... 

I was unable to install dev-perl/DBD-mysql but now seems to
work after running perl-cleaner

Thanks Willie... and thanks to all posters




[gentoo-user] Re: htpasswd works only for valid-user

2010-03-09 Thread Harry Putnam
Alan McKinnon  writes:

> On Monday 08 March 2010 21:48:12 Laurent Kappler wrote:
>> Hi
>> 
>> I'm using htpasswd to write the user password form my htaccess.
>> 
>> It works only if I put "require valid-user" not if I put "require
>> specificuser"
>> 
>> any idea?
>
> It should work, if everything else is correct. With that in mind, 
>
>
> What do you mean by "doesn't work?" i.e. what exact error is in the logs as 
> the reason for the failure.
>
> Also, please provide the relevant config for the directory in question?

also... what is in .htaccess (with any sensitive data x'ed out)




[gentoo-user] About mount with user rw

2010-03-11 Thread Harry Putnam
I've done this before but have lost my notes about I guess.

I want to mount a device /dev/hdd7 so that my users can read/write
freely there.

This line, does not do it:

grep hdd7 /etc/fstab
/dev/hdd7  /home/reader/spool  reiserfs  noatime,exec,users,rw  0 2

(using the singular `user' didn't help either.

What is the syntax I need?




[gentoo-user] Re: About mount with user rw

2010-03-11 Thread Harry Putnam
Paul Hartman  writes:

> On Thu, Mar 11, 2010 at 1:23 PM, Harry Putnam  wrote:
>> I've done this before but have lost my notes about I guess.
>>
>> I want to mount a device /dev/hdd7 so that my users can read/write
>> freely there.
>>
>> This line, does not do it:
>>
>> grep hdd7 /etc/fstab
>> /dev/hdd7  /home/reader/spool  reiserfs  noatime,exec,users,rw  0 2
>>
>> (using the singular `user' didn't help either.
>>
>> What is the syntax I need?
>
> Are the permissions set on /home/reader/spool (when mounted) so that
> the users can read and write to it?

ahhh no.  And I see doing that cures the problem, but how do I make
this happen at every mount... is there syntax for fstab in the options
column that take care of that or does it have to be scripted or something
to get it to happen with every mount.  Maybe in the local.start init
script.

But I was under the impression this could be done with mount options.




[gentoo-user] Re: About mount with user rw

2010-03-11 Thread Harry Putnam
Alan McKinnon  writes:

> Stop fooling around with fstab and mount options.
> The commands you want are chown and chmod

Got ya ... thanks




[gentoo-user] about sys-fs/zfs-fuse and qmerge

2010-03-13 Thread Harry Putnam
I need a little coaching on qmerge usage.

I'm trying to emerge sys-fs/zfs-fuse.  The merge fails on a known bug,
a duplicate of another bug... 303623
  http://bugs.gentoo.org/show_bug.cgi?id=303623

In the comments... (#3) someone has asked to make the emerge once a
specific file is edited to remove Werror calls.

Someone replies with these few lines:
  ebuild /path/to/ebuild unpack
  edit the file
  ebuild /path/to/ebuild compile then install then qmerge

I did `ebuild unpack'
Found the file and made the necessary edits.

Then ebuild install.

But now looking a t man qmerge... its not at all clear how to install
this compiled package with qmerge

  qmerge  

Would pkgname be the binary `make' left in the build directory at:
  /var/tmp/portage/sys-fs/zfs-fuse-0.5.0/work/zfs-fuse-0.5.0

under:

 ls -F ./src/zfs-fuse/zfs-fuse:
 
src/zfs-fuse/zfs-fuse*

so something like `qmerge  src/zfs-fuse/zfs-fuse*'
The man page does say its for intalling binaries.

I just don't want to make some mess thats hard to clean up and would
rather hear from someone who knows how to use `qmerge'.

Or even better some other work around The tail of the original
emerge failure is inlined below.  But its the exact output shown in
the bug referenced above.  And is the result of having Werror calls in
the CCFLAGS

There's even a patch from a previous duplicate bug its a simple edit
but then you have to go thru creating an edited ebuild and yatta
yatta.  
----   ---=---   -   
tail of emerge -v sys-fs/zfs-fuse

[...]

>>> Compiling source in 
>>> /var/tmp/portage/sys-fs/zfs-fuse-0.5.0/work/zfs-fuse-0.5.0/src ...
scons: Reading SConscript files ...
scons: done reading SConscript files.
scons: Building targets ...
gcc -o cmd/zdb/ptrace.o -c -pipe -Wall -Werror -std=c99 -Wno-switch -Wno-unused 
-Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" 
-DLINUX_AIO -ggdb -O2 -Ilib/libavl/include -Ilib/libnvpair/include 
-Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include 
-Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/ptrace.c
gcc -o cmd/zdb/zdb.o -c -pipe -Wall -Werror -std=c99 -Wno-switch -Wno-unused 
-Wno-missing-braces -Wno-parentheses -Wno-uninitialized -fno-strict-aliasing 
-D_GNU_SOURCE -D_FILE_OFFSET_BITS=64 -D_REENTRANT -DTEXT_DOMAIN=\"zfs-fuse\" 
-DLINUX_AIO -ggdb -O2 -Ilib/libavl/include -Ilib/libnvpair/include 
-Ilib/libumem/include -Ilib/libzfscommon/include -Ilib/libzpool/include 
-Ilib/libsolcompat/include -Ilib/libzfs/include cmd/zdb/zdb.c
cc1: warnings being treated as errors
cmd/zdb/zdb.c: In function 'zdb_dump_block_raw':
cmd/zdb/zdb.c:2007: error: ignoring return value of 'write', declared with 
attribute warn_unused_result
scons: *** [cmd/zdb/zdb.o] Error 1
scons: building terminated because of errors.
 * ERROR: sys-fs/zfs-fuse-0.5.0 failed:
 *   Make failed

[...]




[gentoo-user] Re: about sys-fs/zfs-fuse and qmerge

2010-03-14 Thread Harry Putnam
William Kenworthy  writes:

[...]

> qmerge is an argument to ebuild:

Neil Bothwick  writes:

[...]

> Actually, you don't need all of this as ebuild will perform all
> uncompleted previous stages, so you only need
>
> ebuild unpack
> edit file
> ebuild qmerge

Nice... thanks... I got confused with the qmerge in portage utils.




[gentoo-user] MASKED Tilde with no `arch' what does it mean

2010-03-14 Thread Harry Putnam
Trying to emerge emacs-24, testing with:

emerge -vp =emacs-vcs-24.0.

I'm told its masked in /usr/portage/profiles/package.mask

But when I look there, I see:
  # Ulrich Mueller  (10 Mar 2010)
  # Emacs live ebuilds. Use at your own risk.
  ~app-editors/emacs-vcs-23.1.
  ~app-editors/emacs-vcs-24.0.
  ~virtual/emacs-24

With no explanation of what the Tilde means.

Looking thru man emerge in the MASKED section there is only one mention of
tilde and its in relation to notating architecture like ~x86.

All Ulrich M. says is `use at your own risk'

Ok, fine but first I want to find out what the unexplained tilde
means. There are only a handfull of packagew with that notation in the
masked file... where do look to find out its meaning?

PS- and by the way, there is no mention what so ever of `tilde' in 
man portage.  




[gentoo-user] Re: MASKED Tilde with no `arch' what does it mean

2010-03-14 Thread Harry Putnam
Neil Bothwick  writes:

> On Sun, 14 Mar 2010 18:19:03 -0500, Harry Putnam wrote:
>
>> Ok, fine but first I want to find out what the unexplained tilde
>> means. There are only a handfull of packagew with that notation in the
>> masked file... where do look to find out its meaning?
>
> Try man 5 ebuild.
>
> "~ means match any revision of the base version specified."

Thanks... now I can go ahead and trash my system... hehe.

Seriously, Do you know why emacs-24 is masked like that?

What little I know of Ulrich Mueller is that he is quite a stalwart
fellow and not much would get by him.  I guess its just that its the
cvs version eh?




[gentoo-user] Re: MASKED Tilde with no `arch' what does it mean

2010-03-15 Thread Harry Putnam
Neil Bothwick  writes:

> On Sun, 14 Mar 2010 22:34:41 -0500, Harry Putnam wrote:
>
>> Seriously, Do you know why emacs-24 is masked like that?
>> 
>> What little I know of Ulrich Mueller is that he is quite a stalwart
>> fellow and not much would get by him.  I guess its just that its the
>> cvs version eh?
>
> Yes, CVS ebuilds are generally masked as they are too good a means of
> breaking things to be installed without manual unmasking. Copy the mask
> line to /etc/portage/package.unmask/emacs to see if it breaks for you.

No, no apparent problems.

But didn't we used to get `emacs-cvs' unmasked just with ~.

Before it changed to emacs-vcs... I don't recall having to manually
unmask it that way.




[gentoo-user] nfs mount on client end.

2010-03-15 Thread Harry Putnam
In my home lan setup its an opensolaris (zfs fs) NFS server that is
supposed to be set to show NFS vers=3 on offer.

Somehow on the client end... my gentoo desktop, its getting mounted
with vers=4 as evidenced by the output of `mount'

opensolairs_NFS_SERVER:/pub on /pub type nfs 
   (rw,users,addr=192.168.0.29,vers=4,clientaddr=192.168.0.2) 

Note it says vers=4.  I don't see where that is being set.

/etc/conf.d/nfs mentiones NFS vers=4 but doesn't say that is what its
telling the kernel to use.

  From /etc/conf.d/nfs
  # Optional services to include in default `/etc/init.d/nfs start`
  # For NFSv4 users, you'll want to add "rpc.idmapd" here.
  NFS_NEEDED_SERVICES="rpc.idmapd"

Does that determine what version gets used... it doesn't sound like it
would. 

These lines out of /etc/init.d/nfsmount seems to be the culprit:
   # Make sure nfs support is loaded in the kernel #64709
   if [ -e /proc/modules ] && ! grep -qs 'nfs$' /proc/filesystems ; then
  modprobe -q nfs
   fi

   ebegin "Mounting NFS filesystems"
   mount -a -t nfs,nfs4
   eend $?

Or does `mount -a -t nfs,nfs4'  just mean vers 4 is made available?

I have 2,3 and 4 enabled in the kernel:

zcat /proc/config.gz |grep 'NFS[^D].*='

  CONFIG_NFS_FS=y
  CONFIG_NFS_V3=y
  CONFIG_NFS_V3_ACL=y
  CONFIG_NFS_V4=y
  CONFIG_NFS_ACL_SUPPORT=y
  CONFIG_NFS_COMMON=y

There is also a:
 # CONFIG_NFS_V4_1 is not set
But I think that is experimental, and not necessary for vers=4 to be
available. 

So is the linux client supposed to decide which version to mount by
what it sees on offer?

If so, then is there a known problem when the server is opensolaris?

I know opensolaris people tell me to set the server to offer only
version=3 because there is some problem with linux if you use
version=4.

On the opensolaris lists, I've been discussing this, and it appears
other users  are not having a similar problem when they tell the
server to use version=3 which I have (on the opensolaris server in 
 /etc/default/nfs):

 # Sets the maximum version of the NFS protocol that will be used by
 # the NFS client.  Can be overridden by the "vers=" NFS mount option.
 # If "vers=" is not specified for an NFS mount, this is the version
 # that will be attempted first.  The default is 4.
 #NFS_CLIENT_VERSMAX=4

 # [HP 03/12/09 00:20  
 NFS_CLIENT_VERSMAX=3
 # ]

----   ---=---   -   

Any input would be helpful..




[gentoo-user] umount nfs share

2010-03-15 Thread Harry Putnam
I'm trying t umount an nfs mounted share but am told the resource is
busy.  umount -f fails too.

So first I turned off all the xterms I had running which should have
killed any shell operating there.

Still says resouce is busy.

So trying to see what is doing it with `lsof'

However, when I run `lsof' (no arguments), it fails to produce any
output.

Just been setting there for 5-6 minutes, now.  When I know from past
use it should have produced quite a pile of output.

I tried a lsof option that is supposed to show specifically nfs
related 

 ( lsof -b /nfs/mount/point)

So trying it on the one reporting `busy'
  lsof -b /projects

Which gave a gout of output with this kind of stuff in it:

  lsof: avoiding readlink(/projects): -b was specified.
  lsof: avoiding readlink(/): -b was specified.
  lsof: avoiding stat(/): -b was specified.
  lsof: WARNING: can't stat() rootfs file system /
Output information may be incomplete.
  lsof: avoiding readlink(/): -b was specified.
  lsof: avoiding stat(/): -b was specified.
  lsof: WARNING: can't stat() reiserfs file system /
Output information may be incomplete.

 [...]

Anyone know what might be going on here?





[gentoo-user] Re: Strategy for using SAN/NAS for storage with Gentoo...

2010-03-15 Thread Harry Putnam
Steve  writes:

> I have recently started looking at server resilience and availability in
> the context of a hardware failure or hardware upgrade.  I've come to the
> conclusion that it would be very desirable if terrabyte-scale data did
> not need to be restored from backup.  This isn't a commercial server -
> so I'm interested in minimum cost approaches.
>
> With this in mind, I'm interested to discover what represents
> state-of-the-art from the perspective of the OS and its configuration. 
> Issues I envisage are:
>
> * With NAS, it would be desirable to have a Linux filesystem rather than
> access files over CIFS - this raises further questions about protocol...
> is NFS as hopelessly outdated as it seems?  Are there any products that
> offer NFS access?  Are any of them secure?
> * With a SAN, questions of filesystem features are diminished - but
> questions of access protocol remain.  What is best supported by gentoo?
> * Do any gentooists have any inexpensive hardware configurations that
> work especially well?
>
> Any hints or tips?

Someone here, a yr or two ago recommended to me when I asked that
question to install opensolaris on a machine and set it up as NAS.

Opensolaris offers the zfs file system, that is really advanced
compared to others.

I'll admit I've had some issues along the way.  And have to do lots of
boning up on opensolaris.

I access the zfs server by cifs from windows machines, and by NFS from
linux.

Opensolaris doesn't use samba by default.  Instead they have their own
CIFS server which works fine.  They do have samba pkgs but no one
hardly use it, preferring their CIFS server.

Mine  is only a home lan setup, but even then the opensolaris server
has over a terabyte of capacity.

I have it setup in 3 mirrors of 2 disks each.

2 prs of 500gb sata hdd and one pr of 750 sata hdd

There are many ways so setup `zraid' systems on `zfs' that are excellent for
reliability. ( I have been told I haven't tried that route).

For me the mirror setup seemed good for my small needs.  Even more
reliable I'm told, if a bit higher in disk usage.

opensolaris zfs fs offers a `timeslider' interface to a system of
snapshotting the filesystems in 15 min, 1hr 1day etc snapshots in a
very small footprint way.  You'd have to read up on it.. It would take
too much off topic to cover here.  The system takes an amazing small
amount of disk space for the snapshots based on COW (Copy on write).

There was talk of opensolaris going by the wayside with the Oracle
takeover of Sun... but Oracle has since announced its intention of
puttin even more resources into `opensolaris' development than Sun was
doing.

These may be a good intro to zfs:
http://www.sun.com/bigadmin/features/articles/zfs_part1.scalable.jsp
http://all-unix.blogspot.com/2007/03/zfs-cow-and-relate-features.html
http://wikis.sun.com/display/OpenSolarisInfoPL/How+to+Manage+the+Automatic+ZFS+Snapshot+Service





[gentoo-user] lm_sensors and w83627hf not loadable

2010-03-21 Thread Harry Putnam
I see lots of bug reports about this in several linux OSs but not able
to see a solution.

I've make the propers kernel settings and the w83627hf modules is
built and available in /lib/modules/*
I tried rebuilding the kernel with that stuff built-in.  but then
lm_sensors couldn't even find tools to work with when running
 sensors-detect

  So calling `sensors' just in case it would work:
# sensors
  No sensors found!
  Make sure you loaded all the kernel drivers you need.
  Try sensors-detect to find out which these are.

Back to a modular kernel:
lm_sensors tells me that w83627hf is the one to load in
/etc/conf.d/lm_sensors.

But any attempt to load it meets with this result (wrapped for mail):
modprobe w83627hf
  FATAL: Error inserting w83627hf 
  (/lib/modules/2.6.33-gentoo/kernel/drivers/hwmon/w83627hf.ko):
   Device or resource busy

Looking at dmesg after running the above command, I find lines like
these (repeated several times):
 [ 1321.715673] w83627hf: Found W83627THF chip at 0x290

 [ 1321.715712] ACPI: I/O resource w83627hf [0x295-0x296] conflicts
 with ACPI region HWMT [0x295-0x296]

 [ 1321.715716] ACPI: If an ACPI driver is available for this device,
 you should use it instead of the native driver

----   ---=---   -   

So anyone know what is wrong here?




[gentoo-user] Re: lm_sensors and w83627hf not loadable

2010-03-21 Thread Harry Putnam
Harry Putnam  writes:

Forgot to give kernel version:
uname -r 
2.6.33-gentoo

> I see lots of bug reports about this in several linux OSs but not able
> to see a solution.
>
> I've make the propers kernel settings and the w83627hf modules is
> built and available in /lib/modules/*
> I tried rebuilding the kernel with that stuff built-in.  but then
> lm_sensors couldn't even find tools to work with when running
>  sensors-detect
>
>   So calling `sensors' just in case it would work:
> # sensors
>   No sensors found!
>   Make sure you loaded all the kernel drivers you need.
>   Try sensors-detect to find out which these are.
>
> Back to a modular kernel:
> lm_sensors tells me that w83627hf is the one to load in
> /etc/conf.d/lm_sensors.
>
> But any attempt to load it meets with this result (wrapped for mail):
> modprobe w83627hf
>   FATAL: Error inserting w83627hf 
>   (/lib/modules/2.6.33-gentoo/kernel/drivers/hwmon/w83627hf.ko):
>Device or resource busy
>
> Looking at dmesg after running the above command, I find lines like
> these (repeated several times):
>  [ 1321.715673] w83627hf: Found W83627THF chip at 0x290
>
>  [ 1321.715712] ACPI: I/O resource w83627hf [0x295-0x296] conflicts
>  with ACPI region HWMT [0x295-0x296]
>
>  [ 1321.715716] ACPI: If an ACPI driver is available for this device,
>  you should use it instead of the native driver
>
> ----   ---=---   -   
>
> So anyone know what is wrong here?

Sorry about the second printing just to show kernel version




[gentoo-user] Re: lm_sensors and w83627hf not loadable

2010-03-22 Thread Harry Putnam
Helmut Jarausch  writes:

> On 21 Mar, Harry Putnam wrote:
>> Harry Putnam  writes:
>> 
>> Forgot to give kernel version:
>> uname -r 
>> 2.6.33-gentoo
>> 
>>> I see lots of bug reports about this in several linux OSs but not able
>>> to see a solution.
>>>
>>> I've make the propers kernel settings and the w83627hf modules is
>>> built and available in /lib/modules/*
>>> I tried rebuilding the kernel with that stuff built-in.  but then
>>> lm_sensors couldn't even find tools to work with when running
>>>  sensors-detect
>>>
>>>   So calling `sensors' just in case it would work:
>>> # sensors
>>>   No sensors found!
>>>   Make sure you loaded all the kernel drivers you need.
>>>   Try sensors-detect to find out which these are.
>>>

[...]

>
> I can only report that I've built a 2.6.33-gentoo kernel with
> the device (sensors) Winbond W83627EHF/EF/EHG/EG
> built in (not just a module), then ran sensors-detect
> and now, xsensor works just fine (on a Phenom-II)

In my version of 2.6.33-gentoo  I don't see that as a choice in
make menuconfig... none of the winbond lines match what you show
above.  The last one below is closest and as you see I have built it
in.

  | |< >   Winbond W83781D, W83782D, W83783S, Asus AS99127F 
| |  
  | |< >   Winbond W83791D  
| |  
  | |< >   Winbond W83792D  
| |  
  | |< >   Winbond W83793   
| |  
  | |< >   Winbond W83L785TS-S  
| |  
  | |< >   Winbond W83L786NG, W83L786NR 
| |  
  | |<*>   Winbond W83627HF, W83627THF, W83637HF, W83687THF, W83697HF   
| |  
  | |<*>   Winbond W83627EHF/EHG/DHG, W83667HG  


But as you can see I've built in the last two.

After installing that kernel and reboot

The tail of:
  sensors-detect

  [...]
  
  Now follows a summary of the probes I have just done.
  Just press ENTER to continue: 
  
  Driver `w83627hf':
* ISA bus, address 0x290
  Chip `Winbond W83627THF/THG Super IO Sensors' (confidence: 9)
  
  Warning: the required module w83627hf is not currently installed
  on your system. If it is built into the kernel then it's OK.
  Otherwise, check http://www.lm-sensors.org/wiki/Devices for
  driver availability.
  
  No modules to load, skipping modules configuration.
  
  Unloading i2c-dev... OK

And following with:

  # sensors

 No sensors found!
 Make sure you loaded all the kernel drivers you need.
 Try sensors-detect to find out which these are.

----   ---=---   -   

What motheboard are you running:

Here is what `lshw', followed `hwinfo' had to say about my motherboard
Or at least I think thats what this output is:

from lswh:
reader
description: Desktop Computer
product: MS-6728
vendor: MICRO-STAR INC.
version: 2.00
serial: 
width: 32 bits
capabilities: smbios-2.3 dmi-2.3 smp-1.4 smp
configuration: chassis=desktop cpus=1
  *-core
   description: Motherboard
   product: MS-6728
   vendor: MICRO-STAR INC.
   physical id: 0
   version: 2.00
   serial: 
 *-firmware
  description: BIOS
  vendor: American Megatrends Inc.
  physical id: 0
  version: V3.A (09/29/2004)
  size: 64KiB
  capacity: 448KiB
  capabilities: isa pci pnp apm upgrade shadowing escd cdboot 
bootselect socketedrom edd int13floppy360 int13floppy1200 int13floppy720 
int13floppy2880 int5printscreen int9keyboard int17printer int10video acpi usb 
agp ls120boot zipboot biosbootspecification

----   ---=---   -   
from hwinfo:

01: None 00.0: 10105 BIOS
  [Created at bios.190]
  Unique ID: rdCR.lZF+r4EgHp4
  Hardware Class: bios
  BIOS Keyboard LED Status:
Scroll Lock: off
Num Lock: on
Caps Lock: off
  Serial Port 0: 0x3f8
  Serial Port 1: 0x3e8
  Parallel Port 0: 0x378
  Base Memory: 639 kB
  PnP BIOS: @@@
  MP spec rev 1.4 info:
OEM id: "INTEL"
Product id: "I865G/GE/PE"
1 CPUs (0 disabled)
  BIOS32 Service Directory Entry: 0xfdb60
  SMBIOS Version: 2.3
  BIOS Info: #0
Vendor: "American Megatrends Inc."
Version: "V3.A"
Date: "09/29/2004"
Start Address: 0xf
ROM Size: 512 kB
Features: 0x01376fcbde90
  ISA supported
  PCI supported
  

[gentoo-user] Re: lm_sensors and w83627hf not loadable

2010-03-22 Thread Harry Putnam
Helmut Jarausch  writes:

> Hi Harry,
>
> first of all,
> have you enabled
> Device-Drivers/Hardware monitoring support/  
> AMD Phenom/Sempron/Turion/Opteron temperature sensor ?
>
> and then
>  Winbond W83627EHF/EHG/DHG, W83667HG  
>
> I have an ASRock  M3A790GXH/128M board.
>
> I'm running the 2.6.33-gentoo kernel, as well.
> (It's the first one to support the Phenom (K10) temperature
> sensor.)

Well since I asked about a problem now to occur with a different
driver all together:

>From OP:
  But any attempt to load it meets with this result (wrapped for mail):
  modprobe w83627hf
FATAL: Error inserting w83627hf 
(/lib/modules/2.6.33-gentoo/kernel/drivers/hwmon/w83627hf.ko):
Device or resource busy

Then the fact that you were able to get yours to work is not really relevant
to the question.

Thanks for the input... but may not be very useful here.

I'm hoping someone else has hit the problem I posted about and has
worked out some way to get it to work.




[gentoo-user] Re: Anyone ever emerged dev-libs/boost with FEATURES="test" and finished?

2010-04-06 Thread Harry Putnam
Neil Bothwick  writes:

[...]

> You can set features on a per-package basis by putting FEATURES="blah"
> into /etc/portage/env/category/package.

If that would also work for something like always using a specific
EXTRA_ECONF for a certain package:

  EXTRA_ECONF="--enable-rootcommit"  

Can you show an example of the necessary syntax? 




[gentoo-user] Re: Anyone ever emerged dev-libs/boost with FEATURES="test" and finished?

2010-04-06 Thread Harry Putnam
Neil Bothwick  writes:

> On Tue, 06 Apr 2010 11:17:14 -0500, Harry Putnam wrote:
>
>> > You can set features on a per-package basis by putting FEATURES="blah"
>> > into /etc/portage/env/category/package.  
>> 
>> If that would also work for something like always using a specific
>> EXTRA_ECONF for a certain package:
>> 
>>   EXTRA_ECONF="--enable-rootcommit"  
>
> It would.
>
>> Can you show an example of the necessary syntax? 
>
> Just put the variable assignment in the file, it is sourced by bash when
> the ebuild is parsed, so most things that can go in an ebuild can go
> here. Usually it is used to override settings or set EXTRA_ECONF but you
> can use it to redefine the ebuild functions. Some people put a custom
> src_unpack() in here when they want to apply a patch, rather than
> putting a modified ebuild in an overlay. 

Ahh very helpful, thank you.  Especially about putting custom
src_unpack stuff.  Fussing with creating a new ebuild is a pain to us
non devel types.

But one thing is unclear.  You say: 
`Just put the variable assignment in the file'

You don't mean without reference to a specific package do you.
Like:
  cat /etc/portage/env/category/package
  EXTRA_ECONF="--enable-rootcommit"

So is it:
  cat /etc/portage/env/category/package
  dev-util/cvs  EXTRA_ECONF="--enable-rootcommit"

Or something else?




[gentoo-user] [OT] shell ouput which file descriptor

2010-04-09 Thread Harry Putnam
This is not a question about cvs... its only used for example.

I'm puzzled about a change in what I see when I run 
   cvs -n update 2> /dev/null

I've apparently lost the ability to remove stder from output.

I used that command to trim out file descriptor 2 which used to leave
a list of any changed files in the repo on the console, for a very
long time.


Suddenly there is no difference with:

  cvs -n update 2> /dev/null
 cvs -n update 

The stuff on stderr still shows in the ouput either way.

Further; 
  cvs -n update 2>er  (redirect stder to ./er)

Doesn't put anything in ./er

However cvs -n update 1>out   (redirect stdout to ./out)

Does catch the output I'm after and leave out stderr. (as one would
expect) 

So, again, apparently I've lost the ability to trim out stderr with a
redirect to /dev/null (cvs -n update 2> /dev/null)

----   ---=---   -  

The only thing I've been tinkering with is evaluating the
/etc/DIR_COLORS file.  I switched from evaluating a custom version to
evaluating the default version.

That's when I first noticed the file descriptor anomaly but not sure
if was going before since I didn't notice it before.

So changed back to the original dir_colors... but the descriptor
problem is still here.

I've established a fresh login by ssh my...@localhost

Still I see stderr in the console even when redirected with
  2> /dev/null

Anyone have an idea what I've done here, or what might explain what
I'm seeing?







[gentoo-user] Re: [OT] shell ouput which file descriptor

2010-04-10 Thread Harry Putnam
walt  writes:

> On 04/09/2010 08:19 AM, Harry Putnam wrote:
>> This is not a question about cvs... its only used for example.
>>
>> I'm puzzled about a change in what I see when I run
>> cvs -n update 2>  /dev/null
>>
>> I've apparently lost the ability to remove stder from output.
>>
>> I used that command to trim out file descriptor 2 which used to leave
>> a list of any changed files in the repo on the console, for a very
>> long time.
>>
>>
>> Suddenly there is no difference with:
>>
>>cvs -n update 2>  /dev/null
>>   cvs -n update
>>
>> The stuff on stderr still shows in the ouput either way.
>>
>> Further;
>>cvs -n update 2>er  (redirect stder to ./er)
>>
>> Doesn't put anything in ./er
>>
>> However cvs -n update 1>out   (redirect stdout to ./out)
>>
>> Does catch the output I'm after and leave out stderr. (as one would
>> expect)
>>
>> So, again, apparently I've lost the ability to trim out stderr with a
>> redirect to /dev/null (cvs -n update 2>  /dev/null)
>>
>> ----   ---=---   -  
>>
>> The only thing I've been tinkering with is evaluating the
>> /etc/DIR_COLORS file.  I switched from evaluating a custom version to
>> evaluating the default version.
>
> I have no helpful advice, but I would try a couple of simple experiments:
>
> I have this in my home directory because I'm color blind:
> -rw-r--r--  1 wa1ter users   0 2007-08-27 18:29 .dir_colors
>
> $cat nonexistantfile
> cat: nonexistantfile: No such file or directory
>
> $cat nonexistantfile 2> /tmp/testfile
> $
>
> $cat /tmp/testfile
> cat: nonexistantfile: No such file or directory

Thanks... 

> Are you running cvs as root, or user, or ...?

I was running cvs as user, and now trying your tests... it appears the
trouble has stopped... doesn't occur now in cvs cmds either.

There was a reboot in between, so may never now what was going on.

Prior to rebooting I had tried to get a fresh env by ssh
u...@localhost from an xterm.  Hoping to rule out some oddball env
problem, but the file descriptor problem persisted.  However it has
apparently not survived a reboot.




[gentoo-user] Re: [OT] shell ouput which file descriptor

2010-04-10 Thread Harry Putnam
Harry Putnam  writes:

>>
>> $cat /tmp/testfile
>> cat: nonexistantfile: No such file or directory
>
> Thanks... 
>
>> Are you running cvs as root, or user, or ...?
>
> I was running cvs as user, and now trying your tests... it appears the
> trouble has stopped... doesn't occur now in cvs cmds either.
>
> There was a reboot in between, so may never now what was going on.
>
> Prior to rebooting I had tried to get a fresh env by ssh
> u...@localhost from an xterm.  Hoping to rule out some oddball env
> problem, but the file descriptor problem persisted.  However it has
> apparently not survived a reboot.

Yikes... more mysterious than I reported above.

I see now that I get the goofy acting file descriptors when I'm in
console mode, but not in X.

And it appears only to happen in cvs commands, but again, not in X.

My sequence:

   Reboot just now.

   At console login:

login and call cvs command:

 cvs -n update /usr/local/common/base 2>er
 
 I see 83 lines scroll by.

cat er
cat: er: No such file or directory

Nothing has been redirected.

cvs -n update /usr/local/common/base 2>er|wc -l

I still see 83 lines but wc -l reports 0
(as it should)

So somehow the redirect is ignored and stderr goes to console
anyway. 

  Trying your test
  cat none 2>er
   
   cat er
   cat: none: No such file or directory

So stderr is doing what it is supposed to do with cat but not a cvs
command. 
----   ---=---   -   
Now startx and from an xterm:
   cvs -n update /usr/local/common/base 2>er
just like expected

Follow with:
cat er|wc -l
  83 
  (83 lines of ouput were captured with 2>er)

So this is more puzzling than ever.  Weird phenomena in console that
stops when in X.





[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-16 Thread Harry Putnam
Mick  writes:

> Hi All,
>
> Is there a (native) way to configure sendmail to send messages via a
> secondary smtp account, if dor some reason the primary ISP smtp is
> down, without some bespoke DIY script?

Not give you the runaround, and there may well be some sendmail
experts here... but I think your question is more likely to get a
really helpful response if you put it on comp.mail.sendmail.

You might get an answer from Per Hedlund or one of the other heavy
hitters there.

I've used sendmail for yrs but just on homeboy little local lans.

I'd be surprised if there is not some well trod way to do what you are
asking.   Sendmail is probably the most widely used MTA around so it
seem really likely that problem has been dealt with in some way.




[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-18 Thread Harry Putnam
Mick  writes:

> For the purpose of posterity:
>
> The way to set up a fall back host is to use confFALLBACK_SMARTHOST to define 
> a fall back smtp server.

Thanks Mick... Instead of asking for help, you ended up giving help.

Did someone answer your question privately? 




[gentoo-user] I want my Ctrl+Alt+Backspace back

2010-04-18 Thread Harry Putnam
I've seen on this group some time back a few ways, or at least more
than 1 as I recall to retain the ability to leave X with
Ctrl+Alt_+BKSPC.

I'm not finding it now readily.  

Can someone tell me where that setting may be made.

If it has something to do with new way of starting X where we don't
need an xorg.conf file... I should say that I still use
/etc/X11/xorg.conf (In case that makes a difference)

I find trying to leave X with the `logout' menu item provided on the
Xfce4 destop, that if X has been running a while is seems to take a
very long time to get out of X that way, and possibly not only long
but even ever, short of:

 kill -TERM `ps wwaux|awk '/X.*\-nolisten tc[p]/{print $2}'`

Or killing the pid some other way.

The Ctrl+alt+bkspc was a much nicer fallback.





[gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-18 Thread Harry Putnam
Nikos Chantziaras  writes:

>> Read more details here:
>>
>> http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml
>
> HAL is deprecated and will not be supported in X anymore,  so it's not
> the "new" way ;)

Well, its just not the NEWEST way.  But what is the newest (post hal)
way?   And will the xorg.conf technique work anyway?




[gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-18 Thread Harry Putnam
Harry Putnam  writes:

> Nikos Chantziaras  writes:
>
>>> Read more details here:
>>>
>>> http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml
>>
>> HAL is deprecated and will not be supported in X anymore,  so it's not
>> the "new" way ;)
>
> Well, its just not the NEWEST way.  But what is the newest (post hal)
> way?   And will the xorg.conf technique work anyway?

I should have mentioned that after posting the OP, I discovered I've
had that stanza in xorg.conf for mnths... I forgot I had taken it from
a post by Florien P., but I do not get the use of Ctrl+alt+bkspk to
quit X. 

I guess it works for you though eh, Mick?
----   ---=---   -   
>From xorg.conf:

Section "InputDevice"

Identifier "Keyboard1"
Driver  "kbd"
# [HP 100709_111603 From post on gentoo.user
## From: Florian Philipp 
## Subject: Re: Fed up with Xorg + hal mess
## Date: Tue, 06 Oct 2009 19:22:46 +0200
## Message-ID: <4acb7ce6.10...@f_philipp.fastmail.net>
## Restablishes Ctrl-Alt-Bkspc to quit X
Option "XkbOptions" "terminate:ctrl_alt_bksp"
# ]
Option "AutoRepeat" "500 30"
Option "XkbRules"   "xorg"
Option "XkbModel"   "pc104"
Option "XkbLayout"  "us"

EndSection




[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-20 Thread Harry Putnam
I think you all are missing something... sendmail is better documented
than any of the other pretenders.

Now understand, that I am easily the dullest knife in the drawer on
this list even though by unix/linux standards I'm fairly long in the
tooth having started my computing skills in 1996 and broke in on
redhat at that time (using sendmail).  I'm sad to say, I'm still a
noob in a vast number of areas.

I've used sendmail all that time.  If I can figure out how to use
it It really must not be that hard.  At least not hard to find
piles of help on google.

Admittedly though my usage has always been just a homeboy home lan
administrator so closest I ever come to using sendmail anything like
what its target usage base is, would be a home lan mailhub.

Unless, I'm terribly misinformed, sendmail is still the most commonly
used mta in the unix world of servers.

At least according to http://en.wikipedia.org/wiki/Sendmail

Qmail home page says it is the second most common MTA but doesn't say
who is first its sendmail... I'm pretty sure.

About all the snipes concerning hacking sendmail.cf... I'm sure you
are all aware that any hacking needs to happen in sendmail.mc... then
let m4 sort out sendmail.cf.




[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-20 Thread Harry Putnam
Grant Edwards  writes:

> On 2010-04-20, Harry Putnam  wrote:
>
>> About all the snipes concerning hacking sendmail.cf... I'm sure you
>> are all aware that any hacking needs to happen in sendmail.mc... then
>> let m4 sort out sendmail.cf.
>
> IOW, sendmail has a configuration file so incomprehensible that the
> configuration file needs a configuration file.

Internet mail is quite complex, yes.




[gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-20 Thread Harry Putnam
Mick  writes:

> The 'new' way of setting it up without a xorg.conf file is to set it up in 
> your /etc/hal/fdi/policy/10-keymap.fdi like so:
>
>  terminate:ctrl_alt_bksp
>
> Read more details here:
>
> http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml

I am running hal, but if I enter the suggested line:

   (all on one line [wrapped for mail here])
   terminate:ctrl_alt_bksp

into /etc/hal/fdi/policy/10-keymap.fdi

And it is the only line in there.
 (Maybe there is supposed to be some header type lines above it?)

C+A+bkspc still doesn't kill X.   

It seems to have no effect at all when in xorg.conf as suggested or
/etc/hal/fdi/policy/10-keymap.fdi as suggested.

----   ---=---   -   

The only things I've tried that work are
1) From that same page of tips:
  setxkbmap -option terminate:ctrl_alt_bksp 
   That kills X instantly

2) my own concoction:
 kill -TERM `ps wwaux|awk '/[X].*noliste[n]/{print $2}'`

  Also instantly kills X







[gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-20 Thread Harry Putnam
Mick  writes:

> I think you did not read the link properly.  You are meant to copy
> the relevant .fdi file from
> /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi to
> /etc/hal/fdi/policy/10-keymap.fdi and then modify the last
> paragraph:

Yes, I did misread apparently... it doesn't say that at all... maybe
that is why.
 
http://www.gentoo.org/proj/en/desktop/x/x11/xorg-server-1.6-upgrade-guide.xml

There is no mention of copying:
   /usr/share/hal/fdi/policy/10osvendor/10-keymap.fdi
to
  /etc/hal/fdi/policy/10-keymap.fdi 

  [...]

  If you want to make the change permanent, regardless of your desktop
  environment, you have a few more options :

* If you use HAL to manage input devices, copy the following HAL
  fdi snippet into the fdi file from /etc/hal/fdi/policy/ which
  you use to control your keyboard. terminate:ctrl_alt_bksp If you do not have
  any custom keyboard rules, you can copy and adapt rules from
  /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi

It never names the file... that;
   /usr/share/hal/fdi/policy/10osvendor/10-x11-input.fdi
is to be copied to, or anything about the last paragraph.

I'm sorry to be so dense here... but I'm missing something still.

> us
>type="string">terminate:ctrl_alt_bksp
>   
>
> by the adding the above line starting with type= ...


I see (showing line numbers 
   from:[...]10osvendor/10-x11-input.fdi

[...]
17 
18
19  us
20 
21   
[...]

So do you mean to replace 19 and 20 with:

,
| us
| terminate:ctrl_alt_bksp
`

Or add the two in box quote after 19... or what?




[gentoo-user] Re: I want my Ctrl+Alt+Backspace back

2010-04-22 Thread Harry Putnam
Mick  writes:


[...]

> The penultimate paragraph says that you should copy _some_ file from 
> /usr/share/hal/fdi/policy/10osvendor/ to /etc/hal/fdi/policy/ 

penultimate Egad... does that mean its explosive? ...  : ) 

[...]

> 
>> [...]
>> 17 
>> 18
>> 19  us
>> 20 
>> 21   
>> [...]

[...] snipped nice example

> Now, if you are only using one language, you only need line 19 in your 
> example 
> and insert a new line between your 19 and 20 that says:  key="input.xkb.options" type="string">terminate:ctrl_alt_bksp
>   
> (all on one line)
>
> HTH and sorry for giving an incomplete answer at the start.

Very helpful... thank you.  And thanks for being so patient.

I actually got it working with this last guide of yours. But now I
guess we are about to lose hal, so probably will be looking at some
newer way to maintain C+A+BKSPC...




[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-22 Thread Harry Putnam
Alan McKinnon  writes:

> On Tuesday 20 April 2010 15:53:01 Harry Putnam wrote:
>> I think you all are missing something... sendmail is better documented
>> than any of the other pretenders.
>
> One has to understand what the various MTAs out there were built to do, and 
> what their "feature list" is:
>
> sendmail comes from ancient days. It was written to be able to route almost 

As ancient as 2007, at least one survey shows sendmail as still the
most popular.

One fairly recent survey sited on wikipedia shows sendmail as losing ground
but still the most popular MTA.. at 29% of the surveyed market.  Down
from some 42% in 2001/3

That's a lot of `buggy whips'.

http://en.wikipedia.org/wiki/Sendmail

[...]

  In 2001, approximately 42% of the publicly-reachable mail-servers on
  the Internet ran Sendmail.[1] More recent surveys have suggested a
  decline, with 29.4% of mail servers in August 2007 detected as
  running Sendmail in a study performed by E-Soft, Inc.[2] Sendmail is
  trailed by Microsoft Exchange Server, Exim, and Postfix; these four
  being the only mail servers with more than 10% of the total.

[...]




[gentoo-user] Re: [OT] Setting up a fall back ISP SMTP in sendmail

2010-04-22 Thread Harry Putnam
Alan McKinnon  writes:

>> Internet mail is quite complex, yes.

> This statement is the source of the confusion surrounding sendmail.

> Internet mail is not complex, it is stunningly simple:

> mail comes in,
> look up where it should go,
> send it there

[...]

Egad, I had no idea it was so simple; maybe you should tell all those
guys who collaborate in writing  piles of rfcs that pertain to
internet mail and related issues, I bet they don't know it so easy
either.  :)





[gentoo-user] Re: libpng12 is missing

2010-05-24 Thread Harry Putnam
Alex Schuster  writes:

> After writing down some ideas about installing the old libraries somewhere 
> in parallel, I just checked eix, and there is an extra slot for the 1.2 
> version. So, just emerge media-libs/libpng:1.2 , and I'd expect all to be 
> fine then.

Doesn't seem to be the case here. (Some details below), But do we have
a accepted way to handle this problem now?

----   ---=---   -   

eix shows both versions installed with 1.2.43-r3 in slots (1.2) and
1.4.2 in slot 0.  Or at least I THINK thats what that output means.
(Asterisks added ed -hp)

I] media-libs/libpng
 Available versions:  
(0) 1.2.43-r2 (~)1.4.2
(1.2)   (~)1.2.43-r3
 Installed versions:  ( ** 1.2.43-r3(1.2) ** )(10:18:02 05/23/10) 
  ( ** 1.4.2 ** ) 10:14:51 

But still some pkgs strike out from what appears to be libpng errors:

Example: xfce-base/thunar-1.0.2, (Wrapped for mail)
(Emphasis added with asterisks -ed hp)
----   ---=---   -   
tail of emerge:

,
| [...]
| 
| /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../\
|  i686-pc-linux-gnu/bin/ld:
| 
|     cannot find -lpng12 
| 
| collect2: ld returned 1 exit status
| make[4]: *** [thunar-tpa] Error 1
| 
| make[4]: Leaving directory
| `/var/tmp/portage/xfce-base/thunar-1.0.2/work/\
|   Thunar1.0.2/plugins/thunar-tpa'
| 
| make[3]: *** [all] Error 2
| 
| make[3]: Leaving directory
| `/var/tmp/portage/xfce-base/thunar-1.0.2/work/\
| Thunar1.0.2/plugins/thunar-tpa'
| 
| make[2]: *** [all-recursive] Error 1
| 
| make[2]: Leaving directory
| `/var/tmp/portage/xfce-base/thunar-1.0.2/work/Thunar1.0.2/plugins'
| 
| make[1]: *** [all-recursive] Error 1
| 
| make[1]: Leaving directory
| `/var/tmp/portage/xfce-base/thunar-1.0.2/work/Thunar1.0.2'
| 
| make: *** [all] Error 2
|  * ERROR: xfce-base/thunar-1.0.2 failed:
|  *   emake failed
|  * 
|  * Call stack:
|  * ebuild.sh, line   54:  Called src_compile
|  *   environment, line 3219:  Called xfconf_src_compile
|  *   environment, line 3866:  Called die
|  * The specific snippet of code:
|  *   emake || die "emake failed"
| 
| [...]
| 
| >>> Failed to emerge xfce-base/thunar-1.0.2,
`

The log files show a 8-9 pkgs failing... I'm not sure about all of
them but at least 5 are for this same error.




[gentoo-user] Re: libpng12 is missing

2010-05-26 Thread Harry Putnam
Alex Schuster  writes:

> Harry Putnam writes:
>
>> Alex Schuster  writes:
>> > After writing down some ideas about installing the old libraries
>> > somewhere in parallel, I just checked eix, and there is an extra
>> > slot for the 1.2 version. So, just emerge media-libs/libpng:1.2 ,
>> > and I'd expect all to be fine then.
>> 
>> Doesn't seem to be the case here. (Some details below), But do we have
>> a accepted way to handle this problem now?
>
> When I wrote this, I did not really know much about this, I just spotted 
> the 2nd slot. At that time, I also had a little libpng trouble, I could 
> not update @world due to libpng blockers. I unmerged libpng, updated 
> something that was blocking (don't remember what), and remerged libpng, 
> because many applications were no longer working. I did the world update, 
> ran lafilefixer --justfixit, emerged @preserved-libs, and had to do a 
> revdep-rebuild, don't know why, I thought with FEATURES=preserve-libs this 
> should no longer necessary.
>
> But in the end, everything is sane now. My eix output looks similar, I 
> also have both 1.2.43-r3 and 1.4.2 installed.
>
>> But still some pkgs strike out from what appears to be libpng errors:
>> 
>> Example: xfce-base/thunar-1.0.2, (Wrapped for mail)
>> (Emphasis added with asterisks -ed hp)
>> ----   ---=---   -  
>> tail of emerge:
>> 
>> ,
>> 
>> | [...]
>> | 
>> | /usr/lib/gcc/i686-pc-linux-gnu/4.4.3/../../../../\
>> | 
>> |  i686-pc-linux-gnu/bin/ld:
>> |     cannot find -lpng12 
>
> Weird. I just tried that, and thunar-1.0.2 compiles just fine.
> Does /usr/lib/libpng12.so.0 exist on your system? But, wait a minute, my 
> thunar links to libpng14.so.14, not to 1.2. Do you have 
> /usr/lib/libpng14.so.14? Maybe lafilefixer -justfixit fixed something for 
> me, and you should try this, too?

Thanks for your reply, but I guess it will remain a puzzle... I did so
many things fussing with libpng... I'm not sure what fixed it in the
end. 

One of them was to redo installing both libpng version all over again,
by emerge -vC libpng completely then installing again making sure to
install 1.4 first, and 1.2 in the slot. But also used `lafilefixer
-justfixit' Not to mention Neils fix with the nifty regular
expressions.

Also a revdep-rebuild in there.

At some point I was able to startx... (A libpng 1.2 error had been
stopping X from starting) and finish the rest from X.  (getting the
xfce pkgs to install finally.)

I kept having the nagging feeling I might have originally had the
libpng version in the wrong order... I'm not sure if that is even
possible though.





[gentoo-user] [OT] I could use some OT coaching... retrieve laptop os remotely

2010-05-28 Thread Harry Putnam
Can anyone offer a suggestion as to how I can backup a disk on a
remote laptop running windows vista.

I've utterly destroyed the laptops screen, even plugging it into an
external monitor... fails.  vnc access fails as well.

However due to having installed an sshd daemon with cygwin, I can ssh
to the host.

I thought maybe I'd be able to run a version of Norton ghost that is
installed on the laptop... by ssh in, and from a cygwin shell, but
that doesn't appear to work.  I'm not sure if ghost 14 can even be run
from a command line.

I guess I'd like to clone the disk so I'd have access to all of it,
and could even put the clone on another host and boot it.


If I were to dd it to another disk, that is bigger
than the remote laptops disk... Would that create a a bootable disk?

Any suggestions that employ linux/unix tools?  Can `dd' do something
like this?  Or I guess really it would be cygwin `dd' doing it.

Are there any tools that can create a disk image of a remote disk?

I've found that neither norton ghost 14 or 15 will do it if the disk
is on a remote host.  In fact neither of them will even backup files
if they are remote... I mean if the source files are remote.  They can
backup  onboard files to remote targets... but not the other way
round.

Of course I can rsync the files and save the data that way, but I'd
like to save the disk as a bootable os if possible.




[gentoo-user] Re: [OT] I could use some OT coaching... retrieve laptop os remotely

2010-05-29 Thread Harry Putnam
Mick  writes:

> Isn't this an indication that more than the screen was damaged?  Did you try 
> pressing Fn+F4 or whatever the appropriate key is to activate the external 
> monitor?  Did you try rebooting just for good measure?

You can disregard my other response.  It turns out the laptop does
have that very key combo to use external monitor, so I'm logged in to
the os thru that mechanism and can now create an image with onboard
software. 

Thanks Mick... I didn't know or remember there being such a switch but
a quick google confirmed your first thought of Fn+F4, and looking hard
at the F4 key, I see a representation of something that could be a
monitor with ON/OFF images portrayed.

Thanks




[gentoo-user] [OT sphinx] Any users of sphinx here

2010-06-04 Thread Harry Putnam
I've been looking for a perl based search tool that uses some kind of
indexing to index and render searchable my home library of software
manual and the like.  Quite a few html pages involved, maybe 15-16,000.

Webglimpse is something I've worked with before and know a bit about
but thought I might like to see what else is available.

Googling lead to a tool called Sphinx that apparently is coupled with
a data base tool like mysql.  It is advertised as the kind of search
tool I'm after and has a perl front-end also available in portage 
(dev-perl/Sphinx-Search).

The trouble is I haven't been able to figure out the first thing about
using it.  The overview, and Introduction, like a lot of such
documents fails to give a really basic idea of what the tool does.

The call it a `full text search engine', but never really say what
that means.

There are 12-15 FEATURES listed, and none appear to describe sensibly
what they really do.

The faq is a string a questions about using sql.. really.

So far I haven't found a good statement of what the darn thing really
does or how to aim it at data.

The manual is probably great if you already know a lot about using
sphinx but very thin for my case.

I've not even been able to get a rough idea of how to aim the darn
thing at the desired (Local lan) web site.

Or, to show how thin it really is or how dumb I really am, I've been
unable to tell if it can even do what I want to do.

I've posted on a sphinx list on gmane... but it appears to be only
moderately active and haven't gotten any replies... 

I hoped some one here may be familiar with sphinx and willing to coach
me a bit or at least let me know if it can even do what I want to do.

Also any other perl based search tools involving indexing and some
kind of versatile search query capability.. like regular expressions
I'd be interested to know about.





[gentoo-user] Pasting jacked up for mnths now... like a bugger

2010-06-05 Thread Harry Putnam
Does anyone else notice a serious mess when copy/pasting to firefox.
Some other places too.

I'll mouse scrape something from and go to paste it into google, and
get some older paste plus the new one intermixed as a result.

Its been going on for a good while and finally reached the point where
I'm really sick of it.

I use something of an exotic mouse I guess (Logitech G9), could that
be the problem?  I actually doubt it.

I'll give an example, I mouse scrapted the `I actually doublt it'
above and when to paste it to an empty firefox navigation box.

This was the result:
-US%3I actually doubt 
itAunofficial&q=pdf2html+opensource&aq=f&aqi=&aql=&oq=&gs_rfai=http://twibright.com/pdf2html

As you see, its there but prefaced and postfaced with other junk.

Any ideas what I can do about it?  I don't really want to go tracking
down different mice etc... I'm hoping its something to do with xorg or
something.






[gentoo-user] Re: [OT sphinx] Any users of sphinx here

2010-06-06 Thread Harry Putnam
Brandon Vargo  writes:

> As an example of how it works, suppose I am making a news website and
> have a bunch of news posts, each of which has an author, category, and

Thank you brandon for such a nice through answer... Yeah, looks like
I'm barking up the wrong tree.

I know about htdig.. Not much though.  Far as remember it didn't have
much in the way of search interface... something like google.  Where
as webglimpse has a rich set of search terms, including some regular
expressions and regular expression like operators... all the same
tools as glimpse (and agrep).  So many in fact it can be a bit
daunting to try to become proficient with.

Maybe you can enlighten me about htdig... its been yrs since I tried
htdig. 

Even webglimpse fails though when it comes to trying to search for
snippets of code like perl or C etc.  No body want the sloth and cpu
overhead of serious regular expression searching and that maybe the
only (good) way to search for things like /,{,$,(,[,!,@ etc etc like
one would need to find types of code snippets. Also I guess it
would be pretty hard to build an index with that in mind.

I keep thinking some good developer will come out with a tool aimed at
websites like might be found on a home lan (in scope)... where regular
expression searching wouldn't be so far out.

Or maybe there just is no herd of people who are competent in regular
expression searching, and hence no audience for such a tool




[gentoo-user] Re: Pasting jacked up for mnths now... like a bugger

2010-06-06 Thread Harry Putnam
Lie Ryan  writes:

> On 06/06/10 07:56, Harry Putnam wrote:
>> Does anyone else notice a serious mess when copy/pasting to firefox.
>> Some other places too.
>
> I don't. But, I guess you need to clarify, when you're saying you
> "copy/paste", is it Ctrl+C/Ctrl+V type of copy/pasting or
> Middle-click type of copy/pasting?

Always best to be clear as possible...sorry.

I did mention mouse scraping twice... and of course middle mouse would
follow.. and that is the most common way I copy paste.

I disagree that we all are accustomed to Cntl-v etc.  That is more a
windows phenomena... long time linux (X) users are more accustomed to
left mouse highlight... middle mouse paste, I think, at lest I am.

Going back a ways like 12-15yrs, I don't think there were many apps
(maybe none) that even did ctrl-c ctrl-v.
 
>> This was the result:
>> -US%3I actually doubt 
>> itAunofficial&q=pdf2html+opensource&aq=f&aqi=&aql=&oq=&gs_rfai=http://twibright.com/pdf2html
>
> what was inside the navigation box before?

Nothing, it was blank.  My paste followed  Ctrl-t... (it creates a new window 
with
blank navigation box)

> Firefox's middle-click url-paste only works if your middle click is not
> in the address bar. If you middle-click in the address bar, the regular
> buffer-paste mechanism takes over (i.e. it will paste your selection
> buffer without deleting what's previously on the address bar).

I get the same problem posting into a google search box so its not the
address bar mechanism at work... and like mentioned above it was blank
anyway.

Also I failed to mention that I'm using Xfce4 desktop, and just in
case anyone is about to suggest the clipman utility... I find it to be
utterly and completely useless.

It never even registers having anything on the clipboard.  That is, if
I `left mouse' highlight something, clipman just shows an empty
clipboard.

But then I suppose that might possibly point to some deeper cause that
is at the root of the problem.




[gentoo-user] Re: [OT sphinx] Any users of sphinx here

2010-06-12 Thread Harry Putnam
Brandon Vargo  writes:

> do. When I go to find code that I have written, I do not remember
> variable names, lines of code, etc that I can match with a regular
> expression. Thus, that kind of search is pointless for me. I remember
> what the code does, the project for which I wrote the code, and
> approximately where the code is located within the project. I remember
> function calls for libraries that I probably used. If I cannot find what
> I am looking for, I use grep on the name of a function call I remember,
> or I have a ctags file containing all the information I need about
> function definitions.

Again, thanks for a thorough answer... just a note on the above
comment.

I often find myself searching for a technique... NOT variable names or
sub function names because who knows what I might call stuff in any
particular script.

For example... I once was shown how to compile as regular expression
an element of @ARGV in perl, in one step:

   my $what_re = qr/@{[shift]}/;

I liked that and have used it many times... but only recently could I
remember at a moments notice how to write it.

I used `grep -r' or 'egrep -r' as you've mentioned, now I use a
my own perl script (recently written [since posting original query])
that uses regex and File::Find, where user feeds the regex and the
approximate location to begin the search, on the cmd line.

In my case that would be an nfs share /projects/reader/perl which is
kept in my ENV as $perlp

So:
  script.pl 'qr/.*?@' $perlp

Will find a number of examples of using that particular technique.

What prompted my query here, was looking for a way to search several
thousand html pages that are a collection of Perl books on CD.

These are 2 of the Oreilly Perl CDbooks.  (I spent $150 for the first
one, and I think the second was a little cheaper, it was yrs ago) The
Books on CD have built in search tools but those only work on a
windows OS and aren't up to much anyway.

I've since downloaded the data from the CDS onto an opensolaris zfs
server and access them through NFS.

I was attempting to use `webglimpse'
(http://webglimpse.net/download.php) for the task, hence the interest
in indexing.  But I suspect a search for a particular technique I read
about, but have forgotten how to code, would be best searched for
using regular expressions.  This would be long after I've forgotten
which section or even which book I read about it in.

The tool I've written can be made to strip html if necessary and can
be made to include (by regex) only certain kinds of filenames, but
uses no index so consequently is pretty slow... but still very useful
and is fully perl regex capable.

It returns up to 4 lines of context, 2 above the line with the hit,
and 1 below (where possible), along with the page number and the
absolute filename where the hit was found.

Here is an example search being timed:
----   ---=---   -   
(I purposely picked something that would be found many times)

 time ./pgrep3  /var/www/localhost/htdocs/lcweb/cdbk+/AllPerl/ hash

 (So above we are searching a collection from the Oreilly CDbooks for
 the term `hash'..)
 
 (Just one example of the thousands of lines returned)
  [...]

   /var/www/localhost/htdocs/lcweb/cdbk+/AllPerl/perlnut/index/idx_p.htm
  135 dereferencing with : [104]4.8.2. Dereferencing
  136 modulus operator : [105]4.5.3. Arithmetic Operators
  137 prototype symbol (hash) : [106]4.7.5. Prototypes
  138 %= (assignment) operator : [107]4.5.6. Assignment Operators
 ---

 [...]

 Total files searched: 522 
 Total lines searched: 431689
 real1m48.344s
 user1m25.234s
 sys 0m14.336s

----   ---=---   -   
Almost 2 minutes to search 431689 lines

So it is slow, maybe even very slow by comparison to tools using an
indexed search.

I don't really mind the sloth, but of course it would not be scalable
very much above the scope of use I'm doing with it. I do like the
precision search capability and plenty of context. All of the above is
also possible with grep, egrep... and friends too, of course, but only
with quite a lot more cmdline manipulation and piping.

I'm currently working on using something like this basic search script
to return URLS linking to the page and lines found, and working the
whole thing into something that can be carried out with a web browser.

Something pretty similar to webglimpse, I guess but without the
benefit of indexing.

Also webglimpe relies on glimpse which is not capable of full regex
search but does have a rich mixture of regex, regex like and boolean
query capability.




[gentoo-user] Re: [OT sphinx] Any users of sphinx here

2010-06-12 Thread Harry Putnam
Brandon Vargo  writes:

> [1]: http://www.google.com/codesearch
> [2]: http://beagle-project.org/

Acckk, I forgot to thank you for the URLS you posted.. thanks




[gentoo-user] Re: Pasting jacked up for mnths now... like a bugger

2010-06-13 Thread Harry Putnam
pk  writes:

> On 2010-06-06 22:13, Harry Putnam wrote:
>
>> I disagree that we all are accustomed to Cntl-v etc.  That is more a
>> windows phenomena... long time linux (X) users are more accustomed to
>> left mouse highlight... middle mouse paste, I think, at lest I am.
>
> I'm not alone then... :-D
>
> About your problem, does pasting work in other apps or terminals? What X
> version are you using (i.e. when did your problems start)? Could some
> setting in firefox be the problem (I remember needing to set
> middlemouse.contentLoadURL to false due to some problem with copy &
> paste but it might not be related)?

Focusing in and tracking experiments, it seems to be a problem mainly
related to pasting to/from emacs-24  / firefox-3.6.3.

But also it appears cmdline (Xterm version 256)  to firefox as well

I don't really use hardly any other apps.  Xterm, firefox, emacs, and
X, usually several frames of each (except X) and maybe several virtual
terminals provided in the X desktop pager.  Where I'll have several
bunches of xterms and maybe several instances of  emacs running.




[gentoo-user] Recent updates brings hefty number of X related config files

2010-06-23 Thread Harry Putnam
With recent updates (done thru cron) I have quite a hefty number of
new X related config files.

They unmodified and I think most are new.  Especially the X related
ones.

I have `inlined' the list at the end of this post. It may contain a
few normal changes as well I wasn't sure what might be related.

Anyway, anyone know what the changes are about?

----   ---=---   -   

List of unmodified (mostly new) config files:

/etc/._cfg_gai.conf
/etc/conf.d/._cfg_udev
/etc/init.d/._cfg_udev
/etc/init.d/._cfg_udev-mount
/etc/init.d/._cfg_udev-postmount
/etc/portage/postsync.d/._cfg_q-reinitialize
/etc/sound/events/._cfg_gnome-2.soundlist
/etc/sound/events/._cfg_gtk-events-2.soundlist
/usr/share/X11/xkb/._cfg_compat.dir
/usr/share/X11/xkb/._cfg_geometry.dir
/usr/share/X11/xkb/._cfg_keycodes.dir
/usr/share/X11/xkb/._cfg_symbols.dir
/usr/share/X11/xkb/._cfg_types.dir
/usr/share/X11/xkb/compat/._cfg_level5
/usr/share/X11/xkb/compat/._cfg_misc
/usr/share/X11/xkb/geometry/._cfg_hp
/usr/share/X11/xkb/geometry/._cfg_macintosh
/usr/share/X11/xkb/geometry/._cfg_pc
/usr/share/X11/xkb/geometry/._cfg_sun
/usr/share/X11/xkb/keycodes/._cfg_macintosh
/usr/share/X11/xkb/keycodes/._cfg_sun
/usr/share/X11/xkb/keymap/._cfg_README
/usr/share/X11/xkb/keymap/._cfg_xfree86
/usr/share/X11/xkb/rules/._cfg_base
/usr/share/X11/xkb/rules/._cfg_base.lst
/usr/share/X11/xkb/rules/._cfg_base.xml
/usr/share/X11/xkb/rules/._cfg_evdev
/usr/share/X11/xkb/rules/._cfg_evdev.lst
/usr/share/X11/xkb/rules/._cfg_evdev.xml
/usr/share/X11/xkb/symbols/._cfg_af
/usr/share/X11/xkb/symbols/._cfg_altwin
/usr/share/X11/xkb/symbols/._cfg_ara
/usr/share/X11/xkb/symbols/._cfg_be
/usr/share/X11/xkb/symbols/._cfg_ch
/usr/share/X11/xkb/symbols/._cfg_compose
/usr/share/X11/xkb/symbols/._cfg_cz
/usr/share/X11/xkb/symbols/._cfg_de
/usr/share/X11/xkb/symbols/._cfg_es
/usr/share/X11/xkb/symbols/._cfg_fi
/usr/share/X11/xkb/symbols/._cfg_fr
/usr/share/X11/xkb/symbols/._cfg_gb
/usr/share/X11/xkb/symbols/._cfg_gh
/usr/share/X11/xkb/symbols/._cfg_group
/usr/share/X11/xkb/symbols/._cfg_hu
/usr/share/X11/xkb/symbols/._cfg_il
/usr/share/X11/xkb/symbols/._cfg_in
/usr/share/X11/xkb/symbols/._cfg_inet
/usr/share/X11/xkb/symbols/._cfg_ir
/usr/share/X11/xkb/symbols/._cfg_is
/usr/share/X11/xkb/symbols/._cfg_jp
/usr/share/X11/xkb/symbols/._cfg_latam
/usr/share/X11/xkb/symbols/._cfg_latin
/usr/share/X11/xkb/symbols/._cfg_level3
/usr/share/X11/xkb/symbols/._cfg_level5
/usr/share/X11/xkb/symbols/._cfg_lk
/usr/share/X11/xkb/symbols/._cfg_lt
/usr/share/X11/xkb/symbols/._cfg_nbsp
/usr/share/X11/xkb/symbols/._cfg_pc
/usr/share/X11/xkb/symbols/._cfg_pl
/usr/share/X11/xkb/symbols/._cfg_pt
/usr/share/X11/xkb/symbols/._cfg_rs
/usr/share/X11/xkb/symbols/._cfg_ru
/usr/share/X11/xkb/symbols/._cfg_se
/usr/share/X11/xkb/symbols/._cfg_shift
/usr/share/X11/xkb/symbols/._cfg_sy
/usr/share/X11/xkb/symbols/._cfg_tm
/usr/share/X11/xkb/symbols/._cfg_us
/usr/share/X11/xkb/symbols/macintosh_vndr/._cfg_e
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_cz
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_de
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_dk
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_es
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_fi
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_fr
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_gb
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_gr
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_it
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_jp
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_lt
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_lv
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_nl
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_no
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_pl
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_pt
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_ru
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_se
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_solari
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_tr
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_tuv
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_tw
/usr/share/X11/xkb/symbols/sun_vndr/._cfg_us
/usr/share/X11/xkb/types/._cfg_level5




[gentoo-user] Problems relating to /usr/lib/libmpfr, is this fix safe

2010-06-23 Thread Harry Putnam

The following comments turned up in my elogs recently:

----   ---=---   -  ---
>>> Messages generated for package dev-libs/mpfr-3.0.0 by 
process 12988 on 20100622-081454 CDT:- 

WARN: postinst
Old versions of installed libraries were detected on your system.
In order to avoid breaking packages that depend on these old libs,
the libraries are not being removed.  You need to run revdep-rebuild
in order to remove these old dependencies.  If you do not have this
helper program, simply emerge the 'gentoolkit' package.

  # revdep-rebuild --library libmpfr.so.1

Once you've finished running revdep-rebuild, it should be safe to
delete the old libraries.  Here is a copy & paste for the lazy:
  # rm '/usr/lib/libmpfr.so.1'
----   ---=---   -   

I know there is or was recently a bug that shows more argument than
resolution about this problem at:
  http://bugs.gentoo.org/show_bug.cgi?id=324763

Best I could tell was not install mpfr-3.0.0 version yet.

So wondering if it is safe to follow the procedure suggested above.




[gentoo-user] Strange desktop happening following update world

2009-09-14 Thread Harry Putnam
On reboot following recent update world I find the xfce4 manager is
not able to display the former desktop wallpaper or even the
wallpapers packaged with the install.

Other obvious changes are that ctrl-alt-bkspc no longer shuts X down
And the desktop seems to take a good bit longer to initially load.

xorg-server was one of the updates:
Dropping back one version on xorg-server did not help.
Updated was: (~)1.6.3.901-r1
Dropped back to: (~)1.6.3.901

The x11 packages installed are listed below.  Notice the large number
of drivers... That's been like that for a good while since I don't
include a VIDEO_CARDS setting in /etc/make.conf.

(I tried it a few times... wrestling the nvidia and nv drivers, but
found just leaving it out allowed things to just work.)

I doubt the number of drivers is the source of my current trouble
since as I mentioned its been like that for mnths, possibly over a yr.
= * = * = * =
 qlop --list|grep 'Sep 13.*x11'

Sun Sep 13 06:45:35 2009 >>> x11-base/xorg-drivers-1.6
Sun Sep 13 06:46:57 2009 >>> x11-libs/pixman-0.16.0
Sun Sep 13 06:47:32 2009 >>> x11-libs/libdrm-2.4.13
Sun Sep 13 06:47:57 2009 >>> x11-apps/xkbcomp-1.1.0
Sun Sep 13 06:48:15 2009 >>> x11-apps/mkfontscale-1.0.6
Sun Sep 13 06:48:55 2009 >>> x11-libs/libFS-1.0.2
Sun Sep 13 07:07:22 2009 >>> x11-libs/libSM-1.1.1
Sun Sep 13 07:12:17 2009 >>> x11-libs/libXt-1.0.6
Sun Sep 13 07:23:01 2009 >>> x11-misc/x11vnc-0.9.8
Sun Sep 13 07:24:55 2009 >>> x11-libs/libXaw-1.0.6
Sun Sep 13 09:14:28 2009 >>> x11-base/xorg-server-1.6.3.901-r1
Sun Sep 13 09:17:00 2009 >>> x11-drivers/xf86-video-mach64-6.8.2
Sun Sep 13 09:17:27 2009 >>> x11-drivers/xf86-input-evdev-2.2.4
Sun Sep 13 09:18:39 2009 >>> x11-drivers/xf86-video-openchrome-20090907
Sun Sep 13 09:19:42 2009 >>> x11-drivers/xf86-video-glint-1.2.4
Sun Sep 13 09:20:10 2009 >>> x11-drivers/xf86-video-fbdev-0.4.1
Sun Sep 13 09:21:49 2009 >>> x11-drivers/xf86-video-intel-2.8.1
Sun Sep 13 09:23:31 2009 >>> x11-drivers/xf86-video-ati-6.12.4
Sun Sep 13 09:24:48 2009 >>> x11-drivers/xf86-video-sis-0.10.2
Sun Sep 13 09:25:21 2009 >>> x11-drivers/xf86-video-vmware-10.16.7
Sun Sep 13 09:25:56 2009 >>> x11-drivers/xf86-video-neomagic-1.2.4
Sun Sep 13 09:26:38 2009 >>> x11-drivers/xf86-video-savage-2.3.1
Sun Sep 13 09:27:16 2009 >>> x11-drivers/xf86-video-r128-6.8.1
Sun Sep 13 09:28:00 2009 >>> x11-drivers/xf86-video-trident-1.3.3
Sun Sep 13 09:28:49 2009 >>> x11-drivers/xf86-video-mga-1.4.11
Sun Sep 13 09:29:21 2009 >>> x11-drivers/xf86-video-tdfx-1.4.3
Sun Sep 13 09:29:46 2009 >>> x11-drivers/xf86-video-vesa-2.2.1
Sun Sep 13 09:30:12 2009 >>> x11-drivers/xf86-video-voodoo-1.2.3
Sun Sep 13 09:48:26 2009 >>> x11-libs/gtk+-2.16.5-r1




[gentoo-user] Re: Strange desktop happening following update world

2009-09-14 Thread Harry Putnam
Paul Hartman  writes:

> On Mon, Sep 14, 2009 at 2:08 PM, Harry Putnam  wrote:
>> On reboot following recent update world I find the xfce4 manager is
>> not able to display the former desktop wallpaper or even the
>> wallpapers packaged with the install.
>
> Did you upgrade to jpeg-7 recently?

Sure did... at the same time as the other stuff Sep 13.

A couple of quick googles didn't enlighten me as to what difference
that might make.

The wall paper I had up before updating is a *.png file.

`equery files jpeg-7' turned up a /usr/share/doc/jpeg-7/usage.txt.bz2

Again... not much enlightenment there.




[gentoo-user] Re: Screen resolution problem

2009-09-14 Thread Harry Putnam
Mick  writes:

>> On my old computer it detected the highest resolution as 1280x1024,
>> but could actually do 1600x1200 with no problems. I had to create a
>> custom Modeline and put it in xorg.conf - this was before the HAL
>> revolution. I've got no idea if modelines still belong in xorg.conf or
>> in a FDI or something.
>
> Is there an *.fdi way of telling xorg which modeling or resolution to use?  
> Unlike the OP I don't currently need to with my machines, but you never know 
> tomorrow.

I've been able to set a truly massive resolution..for yrs. I like flopping
around on a huge desktop.  Its a resolution my vid card is not even
capable of... not sure how it works.. but I've used it literally for yrs.

In /etc/X11/xorg.conf I have:
(The:
 `DefaultDepth 24' line and the:
 `Virtual   2048 1536'
are the keys.  Actually gives me 2048 1536 as a desktop)

Section "Screen"
Identifier  "Screen 1"
Device  "** NVIDIA (generic)   [nv]"
Monitor "My Monitor"
DefaultDepth 24
Subsection "Display"
Depth   8
Modes   "1280x1024" "1024x768" "800x600" "640x480"
ViewPort0 0
EndSubsection
Subsection "Display"
Depth   16
Modes   "1280x1024" "1024x768" "800x600" "640x480"
ViewPort0 0
EndSubsection
Subsection "Display"
Depth   24
Modes   "1280x1024" #"1024x768" "800x600" "640x480"
Virtual 2048 1536 
ViewPort0 0
EndSubsection
EndSection

[...]




[gentoo-user] Re: Screen resolution problem

2009-09-15 Thread Harry Putnam
Mick  writes:

>> Subsection "Display"
>> Depth   24
>> Modes   "1280x1024" #"1024x768" "800x600" "640x480"
>> Virtual 2048 1536
>> ViewPort0 0
>> EndSubsection
>> EndSection
>>
>> [...]
>
> Sure, but we're talking about setting modelines and what not in one of the 
> new 
> *.fdi files which use xml notation, not the old xorg.conf

Ahh not exactly...
 >From OP
 >Several obvious questions arise:
 >
 >   _Why_ did X select a different resolution today?
 >   _How_ can I get to the higher resolution?
 >   _What_ can I do to prevent a recurrence of this problem?
 >

My suggestion would likely solve all three




[gentoo-user] Re: Strange desktop happening following update world

2009-09-17 Thread Harry Putnam
Paul Hartman  writes:

> In short, jpeg-7 breaks some things :) It's not compatible with
> previous versions and while most programs don't have a problem with
> that, some do.
>
> I'm not sure exactly what causes XFCE to break, but gtk+ is broken
> with jpeg-7 and causes other apps like gqview to be screwed up as
> well. There's a patch on the gtk+ bugzilla that fixes it. If XFCE uses
> gtk+ that might be the cause. Recompiling all of XFCE might fix it,
> too.

I see... thanks... I'm so lazy I've sort of gotten to liking no
background wallpaper... I imagine stuff will eventually start working
again with future updates... maybe I'll be ready for wallpaper again
by then.




[gentoo-user] mplayer troubles since update world

2009-09-18 Thread Harry Putnam
I didn't notice that mplayer wasn't working in firefox right away but
I think it may have started with a recent update.
  (All updated packages are listed at the bottom)

Now I just get a black screen in player window on a web page.  The
player loads and indicates its loading the video and playing it... but
all I see are controls and a black screen.

The same thing happens if I try to play the vid directly with mplayer.

This is a video that worked a few days ago.
Is it possible the changes in jpeg-7 are responsible.. or something to
do with  www-plugins/gecko-mediaplayer-0.9.7
 www-plugins/gecko-mediaplayer-0.9.7
that were pulled in during the update.


= * = * = * =
 Updated packages:

Sun Sep 13 05:52:10 2009 >>> dev-libs/expat-2.0.1-r2
Sun Sep 13 05:53:55 2009 >>> media-libs/jpeg-7
Sun Sep 13 05:54:26 2009 >>> sys-devel/gnuconfig-20090819
Sun Sep 13 05:55:10 2009 >>> sys-libs/timezone-data-2009m
Sun Sep 13 05:56:53 2009 >>> app-arch/xz-utils-4.999.9_beta
Sun Sep 13 05:57:25 2009 >>> app-portage/portage-utils-0.2.1
Sun Sep 13 06:00:17 2009 >>> dev-lang/swig-1.3.40
Sun Sep 13 06:01:51 2009 >>> sys-apps/sandbox-2.1
Sun Sep 13 06:02:29 2009 >>> app-arch/unzip-6.0-r1
Sun Sep 13 06:02:55 2009 >>> sys-apps/pciutils-3.1.4
Sun Sep 13 06:06:04 2009 >>> app-shells/bash-4.0_p33
Sun Sep 13 06:07:05 2009 >>> mail-filter/bogofilter-1.2.1
Sun Sep 13 06:08:23 2009 >>> media-libs/fontconfig-2.7.2
Sun Sep 13 06:08:38 2009 >>> sys-apps/debianutils-3.2.1-r1
Sun Sep 13 06:08:54 2009 >>> perl-core/Compress-Raw-Bzip2-2.021
Sun Sep 13 06:09:11 2009 >>> perl-core/Storable-2.21
Sun Sep 13 06:09:27 2009 >>> perl-core/Compress-Raw-Zlib-2.021
Sun Sep 13 06:09:40 2009 >>> dev-perl/yaml-0.70
Sun Sep 13 06:09:54 2009 >>> dev-util/intltool-0.40.6-r1
Sun Sep 13 06:10:10 2009 >>> dev-perl/HTML-Parser-3.62
Sun Sep 13 06:10:18 2009 >>> virtual/perl-Compress-Raw-Bzip2-2.021
Sun Sep 13 06:10:26 2009 >>> virtual/perl-Compress-Raw-Zlib-2.021
Sun Sep 13 06:10:33 2009 >>> virtual/perl-Package-Constants-0.02
Sun Sep 13 06:10:40 2009 >>> virtual/perl-Storable-2.21
Sun Sep 13 06:10:55 2009 >>> perl-core/IO-Compress-2.021
Sun Sep 13 06:11:08 2009 >>> dev-perl/IO-Socket-SSL-1.30
Sun Sep 13 06:11:16 2009 >>> virtual/perl-IO-Compress-2.021
Sun Sep 13 06:11:29 2009 >>> perl-core/Archive-Tar-1.54
Sun Sep 13 06:11:37 2009 >>> virtual/perl-Archive-Tar-1.54
Sun Sep 13 06:11:55 2009 >>> perl-core/Module-Build-0.35
Sun Sep 13 06:12:02 2009 >>> virtual/perl-Module-Build-0.35
Sun Sep 13 06:13:01 2009 >>> sys-libs/readline-6.0_p4
Sun Sep 13 06:15:11 2009 >>> dev-libs/apr-1.3.8
Sun Sep 13 06:16:08 2009 >>> media-libs/libtheora-1.1_beta3
Sun Sep 13 06:16:50 2009 >>> net-libs/libpcap-1.0.1_pre20090812
Sun Sep 13 06:18:32 2009 >>> dev-db/sqlite-3.6.18
Sun Sep 13 06:18:45 2009 >>> app-emacs/emacs-common-gentoo-1.2
Sun Sep 13 06:38:56 2009 >>> dev-db/mysql-5.0.84-r1
Sun Sep 13 06:39:46 2009 >>> dev-libs/apr-util-1.3.9
Sun Sep 13 06:40:10 2009 >>> dev-perl/DBD-mysql-4.01.2
Sun Sep 13 06:41:33 2009 >>> app-admin/rsyslog-3.22.1
Sun Sep 13 06:42:16 2009 >>> app-admin/apache-tools-2.2.13
Sun Sep 13 06:45:28 2009 >>> www-servers/apache-2.2.13
Sun Sep 13 06:45:35 2009 >>> x11-base/xorg-drivers-1.6
Sun Sep 13 06:46:57 2009 >>> x11-libs/pixman-0.16.0
Sun Sep 13 06:47:32 2009 >>> x11-libs/libdrm-2.4.13
Sun Sep 13 06:47:57 2009 >>> x11-apps/xkbcomp-1.1.0
Sun Sep 13 06:48:15 2009 >>> x11-apps/mkfontscale-1.0.6
Sun Sep 13 06:48:55 2009 >>> x11-libs/libFS-1.0.2
Sun Sep 13 06:49:24 2009 >>> media-fonts/encodings-1.0.2-r1
Sun Sep 13 06:53:39 2009 >>> sys-apps/coreutils-7.5
Sun Sep 13 06:55:54 2009 >>> sys-apps/util-linux-2.16.1
Sun Sep 13 06:57:18 2009 >>> sys-apps/findutils-4.5.5
Sun Sep 13 06:58:22 2009 >>> sys-apps/gawk-3.1.7
Sun Sep 13 06:58:53 2009 >>> sys-apps/net-tools-1.60_p20090728014017-r1
Sun Sep 13 07:00:44 2009 >>> dev-libs/libcdio-0.80-r1
Sun Sep 13 07:05:24 2009 >>> app-portage/eix-0.17.1
Sun Sep 13 07:06:34 2009 >>> app-editors/nano-2.1.10
Sun Sep 13 07:07:22 2009 >>> x11-libs/libSM-1.1.1
Sun Sep 13 07:07:49 2009 >>> sys-apps/help2man-1.36.4-r1
Sun Sep 13 07:09:05 2009 >>> app-i18n/enca-1.10
Sun Sep 13 07:12:17 2009 >>> x11-libs/libXt-1.0.6
Sun Sep 13 07:16:42 2009 >>> net-misc/curl-7.19.6
Sun Sep 13 07:20:33 2009 >>> sys-apps/dbus-1.3.0
Sun Sep 13 07:23:01 2009 >>> x11-misc/x11vnc-0.9.8
Sun Sep 13 07:24:55 2009 >>> x11-libs/libXaw-1.0.6
Sun Sep 13 07:30:42 2009 >>> dev-libs/glib-2.20.5
Sun Sep 13 07:31:37 2009 >>> sys-libs/e2fsprogs-libs-1.41.9
Sun Sep 13 07:31:46 2009 >>> app-arch/rar-3.9.0
Sun Sep 13 07:32:54 2009 >>> media-libs/babl-0.1.0
Sun Sep 13 07:34:39 2009 >>> sys-fs/e2fsprogs-1.41.9
Sun Sep 13 07:35:14 2009 >>> dev-perl/glib-perl-1.222
Sun Sep 13 07:37:19 2009 >>> media-libs/schroedinger-1.0.7-r2
Sun Sep 13 07:37:31 2009 >>> sys-kernel/genkernel-3.4.10.906
Sun Sep 13 07:37:50 2009 >>> dev-perl/libwww-perl-5.831
Sun Sep 13 07:38:03 2009 >>> sys-auth/pambase-20090620.1-r1
Sun Sep 13 07:40:05 2009 >>> dev-libs/c

[gentoo-user] Re: mplayer troubles since update world

2009-09-19 Thread Harry Putnam
Kelly Hirai  writes:

> Harry Putnam wrote:
>> I didn't notice that mplayer wasn't working in firefox right away but
>> I think it may have started with a recent update.
>>   (All updated packages are listed at the bottom)

[...]

> i had trouble with console mplayer after the last update as mplayer was
> built against another version of /usr/lib/libx264.so revdep-rebuild
> fixed that.

Thanks... 
revdep-rebuild here, turns up several pkgs needing rebuild but all are
related to a jpeg library.   And, no mplayer package came up on the
list of pkgs to rebuild.

I'll see in a while if it helped any.  But it seems unlikely since
mplayer didn't turn up on the list.  Still, if its using the wrong
jpeg library... maybe.





[gentoo-user] Re: mplayer troubles since update world

2009-09-19 Thread Harry Putnam
Harry Putnam  writes:

>> i had trouble with console mplayer after the last update as mplayer was
>> built against another version of /usr/lib/libx264.so revdep-rebuild
>> fixed that.
>
> Thanks... 
> revdep-rebuild here, turns up several pkgs needing rebuild but all are
> related to a jpeg library.   And, no mplayer package came up on the
> list of pkgs to rebuild.
>
> I'll see in a while if it helped any.  But it seems unlikely since
> mplayer didn't turn up on the list.  Still, if its using the wrong
> jpeg library... maybe.

revdep-rebuild helped not at all in my case.
Now trying a rebuid of mplayer itself... 
emerge -vup mplayer YIKES... this is going to pull in a lot of
stuff (wrapped for mail)(Maybe I'll see improvement after this mess is
emerged): 

[ebuild U ] media-plugins/live-2009.09.04 [2009.07.28] 439 kB
[ebuild U ] x11-proto/xextproto-7.0.5 [7.0.4] 79 kB
[ebuild U ] media-libs/alsa-lib-1.0.21a [1.0.21] USE="python -alisp
-debug -doc" ALSA_PCM_PLUGINS="adpcm alaw asym copy dmix dshare dsnoop
empty extplug file hooks iec958 ioplug ladspa lfloat linear meter
mmap_emul mulaw multi null plug rate route share shm softvol" 790 kB
[ebuild N ] media-libs/libvorbis-1.2.3 USE="-doc" 1,440 kB
[ebuild N ] dev-lang/nasm-2.07 USE="-doc" 762 kB
[ebuild U ] x11-proto/xproto-7.0.15 [7.0.14] 156 kB
[ebuild N ] media-libs/x264-0.0.20090908 USE="threads -debug" 2,664 kB
[ebuild N ] media-sound/lame-3.98.2-r2 USE="-debug -mmx -mp3rtp
-sndfile" 1,297 kB
[ebuild U ] x11-proto/videoproto-2.3.0 [2.2.2] 54 kB
[ebuild U ] media-libs/fontconfig-2.7.3 [2.7.2] USE="-doc" 1,507 kB
[ebuild U ] x11-proto/xcb-proto-1.5 [1.2] 88 kB
[ebuild N ] media-libs/libmp4v2-1.9.1 USE="-utils" 423 kB
[ebuild N ] media-libs/faac-1.28-r1 663 kB
[ebuild N ] media-libs/xvid-1.2.2-r1 USE="-examples -pic" 629 kB
[ebuild U ] x11-libs/libxcb-1.4-r1 [1.1.90.1] USE="-debug -doc
(-selinux)" 299 kB
[ebuild N ] media-libs/flac-1.2.1-r3 USE="cxx -3dnow (-altivec) -debug
-doc -ogg -sse" 1,971 kB
[ebuild U ] x11-libs/libX11-1.2.2 [1.1.5] USE="xcb* -debug -ipv6"
1,833 kB
[ebuild N ] media-libs/libsndfile-1.0.20 USE="alsa -jack -minimal
-sqlite" 906 kB
[ebuild  N] media-sound/twolame-0.3.12  472 kB
[ebuild U ] x11-libs/libXext-1.0.5 [1.0.4] USE="-debug" 265 kB
[ebuild U ] media-video/mplayer-1.0_rc4_p20090919-r1
[1.0_rc2_p20090731-r1] USE="X a52 aac alsa ass cddb cdio dirac dts dv
dvd* dvdnav enca encode* faac faad gif iconv jpeg* live mmx mp2 mp3*
network opengl* osdmenu png* quicktime rar real rtc samba schroedinger
shm speex theora tremor truetype unicode vorbis* x264 xv xvid -3dnow
-3dnowext -aalib (-altivec) -bidi -bindist -bl -cdparanoia
-cpudetection -custom-cpuopts -debug -dga -directfb -doc -dvb -dxr3
-esd -fbcon -ftp -ggi -gmplayer -ipv6 -jack -joystick -ladspa -libcaca
-lirc -lzo -mad -md5sum -mmxext -mng -nas -nut -openal -opencore-amr
-oss -pnm -pulseaudio -pvr -radio -sdl -sse -sse2 -ssse3 -svga
-teletext -tga -v4l -v4l2 -vdpau -vidix -win32codecs* -xanim -xinerama
-xscreensaver -xvmc -zoran (-custom-cflags%)" VIDEO_CARDS="mga tdfx
-nvidia -s3virge (-vesa%*)" 14,779 kB




[gentoo-user] Where is mplayer?

2009-09-19 Thread Harry Putnam
The newest version of mplayer offered in todays sync is:
   media-video/mplayer-1.0_rc4_p20090919-r1

It cannot be found in any of around a dozen repos that emerge tries
with

   emerge -vu mplayer

Anyone know where it can be found.

By the way I did try downloading the sources from:
   http://www.mplayerhq.hu/design7/dload.html

Renaming the downloaded tarball to  file to 
  /usr/portage/distfiles/mplayer-1.0_rc4_p20090919-r1

emerge appears to ignore it completely but It must be running a md5 or
something. ... Anyway emerge just goes on and tries to find it quite a
few places.

Anyone know where this file can be had currently?
  




[gentoo-user] Re: Where is mplayer?

2009-09-19 Thread Harry Putnam
Harry Putnam  writes:

> The newest version of mplayer offered in todays sync is:
>media-video/mplayer-1.0_rc4_p20090919-r1
>
> It cannot be found in any of around a dozen repos that emerge tries
> with
>
>emerge -vu mplayer
>
> Anyone know where it can be found.
>
> By the way I did try downloading the sources from:
>http://www.mplayerhq.hu/design7/dload.html
>
> Renaming the downloaded tarball to  file to 
>   /usr/portage/distfiles/mplayer-1.0_rc4_p20090919-r1

Sorry that rename above should have read:

`Renaming the downloaded tarball to 
/usr/portage/distfiles/mplayer-1.0_rc4_p20090919.tar.bz2'

Which is the exact name emerge output shows but it is just ignored




[gentoo-user] Re: Icons on the xfce4 Desktop

2009-09-19 Thread Harry Putnam
dhk  writes:

> I recently started using the xfce4 desktop with Gentoo and something
> happened where the icons disappeared.  When I go to the Desktop folder I
> can still see them there, the problem is I can get them to display again
> or they are displayed but off the screen.  Any ideas?
>
> Thanks,
> dhk
 
I know Xfce4 has some problems with a new jpeg-7 library.  Not sure
what or how.   But check and see if jpeg-7 has been installed recently.




[gentoo-user] Why am I seeing only black screen in mplayer

2009-09-20 Thread Harry Putnam
Following my most recent update world of Sept. 13, mplayer only
produces a black screen when playing quicktime .mov files.

Ditto in firefox.  This was working.

But I'm not sure really what is playing the videos ... I do have gecko
installed but in the firefox settings/applications it lists:
quicktime files as being handled by `Use quicktime plugin 7.4.5

All other video formats are listed as being handled by gecko.

I'm not sure if firefox settings were changed by  update world.

Can anyone throw some light on what might be the problem here.

Does anyone know if the new version of mplayer(1.0_rc4_p20090919-r1)
offered in portage (which is not yet available in gentoo repos)...
might fix the problem?

  = * = * = * =

A list of pkgs updated on Sept 13:

qlop --list |grep 'Sep 13 '

Sun Sep 13 05:52:10 2009 >>> dev-libs/expat-2.0.1-r2
Sun Sep 13 05:53:55 2009 >>> media-libs/jpeg-7
Sun Sep 13 05:54:26 2009 >>> sys-devel/gnuconfig-20090819
Sun Sep 13 05:55:10 2009 >>> sys-libs/timezone-data-2009m
Sun Sep 13 05:56:53 2009 >>> app-arch/xz-utils-4.999.9_beta
Sun Sep 13 05:57:25 2009 >>> app-portage/portage-utils-0.2.1
Sun Sep 13 06:00:17 2009 >>> dev-lang/swig-1.3.40
Sun Sep 13 06:01:51 2009 >>> sys-apps/sandbox-2.1
Sun Sep 13 06:02:29 2009 >>> app-arch/unzip-6.0-r1
Sun Sep 13 06:02:55 2009 >>> sys-apps/pciutils-3.1.4
Sun Sep 13 06:06:04 2009 >>> app-shells/bash-4.0_p33
Sun Sep 13 06:07:05 2009 >>> mail-filter/bogofilter-1.2.1
Sun Sep 13 06:08:23 2009 >>> media-libs/fontconfig-2.7.2
Sun Sep 13 06:08:38 2009 >>> sys-apps/debianutils-3.2.1-r1
Sun Sep 13 06:08:54 2009 >>> perl-core/Compress-Raw-Bzip2-2.021
Sun Sep 13 06:09:11 2009 >>> perl-core/Storable-2.21
Sun Sep 13 06:09:27 2009 >>> perl-core/Compress-Raw-Zlib-2.021
Sun Sep 13 06:09:40 2009 >>> dev-perl/yaml-0.70
Sun Sep 13 06:09:54 2009 >>> dev-util/intltool-0.40.6-r1
Sun Sep 13 06:10:10 2009 >>> dev-perl/HTML-Parser-3.62
Sun Sep 13 06:10:18 2009 >>> virtual/perl-Compress-Raw-Bzip2-2.021
Sun Sep 13 06:10:26 2009 >>> virtual/perl-Compress-Raw-Zlib-2.021
Sun Sep 13 06:10:33 2009 >>> virtual/perl-Package-Constants-0.02
Sun Sep 13 06:10:40 2009 >>> virtual/perl-Storable-2.21
Sun Sep 13 06:10:55 2009 >>> perl-core/IO-Compress-2.021
Sun Sep 13 06:11:08 2009 >>> dev-perl/IO-Socket-SSL-1.30
Sun Sep 13 06:11:16 2009 >>> virtual/perl-IO-Compress-2.021
Sun Sep 13 06:11:29 2009 >>> perl-core/Archive-Tar-1.54
Sun Sep 13 06:11:37 2009 >>> virtual/perl-Archive-Tar-1.54
Sun Sep 13 06:11:55 2009 >>> perl-core/Module-Build-0.35
Sun Sep 13 06:12:02 2009 >>> virtual/perl-Module-Build-0.35
Sun Sep 13 06:13:01 2009 >>> sys-libs/readline-6.0_p4
Sun Sep 13 06:15:11 2009 >>> dev-libs/apr-1.3.8
Sun Sep 13 06:16:08 2009 >>> media-libs/libtheora-1.1_beta3
Sun Sep 13 06:16:50 2009 >>> net-libs/libpcap-1.0.1_pre20090812
Sun Sep 13 06:18:32 2009 >>> dev-db/sqlite-3.6.18
Sun Sep 13 06:18:45 2009 >>> app-emacs/emacs-common-gentoo-1.2
Sun Sep 13 06:38:56 2009 >>> dev-db/mysql-5.0.84-r1
Sun Sep 13 06:39:46 2009 >>> dev-libs/apr-util-1.3.9
Sun Sep 13 06:40:10 2009 >>> dev-perl/DBD-mysql-4.01.2
Sun Sep 13 06:41:33 2009 >>> app-admin/rsyslog-3.22.1
Sun Sep 13 06:42:16 2009 >>> app-admin/apache-tools-2.2.13
Sun Sep 13 06:45:28 2009 >>> www-servers/apache-2.2.13
Sun Sep 13 06:45:35 2009 >>> x11-base/xorg-drivers-1.6
Sun Sep 13 06:46:57 2009 >>> x11-libs/pixman-0.16.0
Sun Sep 13 06:47:32 2009 >>> x11-libs/libdrm-2.4.13
Sun Sep 13 06:47:57 2009 >>> x11-apps/xkbcomp-1.1.0
Sun Sep 13 06:48:15 2009 >>> x11-apps/mkfontscale-1.0.6
Sun Sep 13 06:48:55 2009 >>> x11-libs/libFS-1.0.2
Sun Sep 13 06:49:24 2009 >>> media-fonts/encodings-1.0.2-r1
Sun Sep 13 06:53:39 2009 >>> sys-apps/coreutils-7.5
Sun Sep 13 06:55:54 2009 >>> sys-apps/util-linux-2.16.1
Sun Sep 13 06:57:18 2009 >>> sys-apps/findutils-4.5.5
Sun Sep 13 06:58:22 2009 >>> sys-apps/gawk-3.1.7
Sun Sep 13 06:58:53 2009 >>> sys-apps/net-tools-1.60_p20090728014017-r1
Sun Sep 13 07:00:44 2009 >>> dev-libs/libcdio-0.80-r1
Sun Sep 13 07:05:24 2009 >>> app-portage/eix-0.17.1
Sun Sep 13 07:06:34 2009 >>> app-editors/nano-2.1.10
Sun Sep 13 07:07:22 2009 >>> x11-libs/libSM-1.1.1
Sun Sep 13 07:07:49 2009 >>> sys-apps/help2man-1.36.4-r1
Sun Sep 13 07:09:05 2009 >>> app-i18n/enca-1.10
Sun Sep 13 07:12:17 2009 >>> x11-libs/libXt-1.0.6
Sun Sep 13 07:16:42 2009 >>> net-misc/curl-7.19.6
Sun Sep 13 07:20:33 2009 >>> sys-apps/dbus-1.3.0
Sun Sep 13 07:23:01 2009 >>> x11-misc/x11vnc-0.9.8
Sun Sep 13 07:24:55 2009 >>> x11-libs/libXaw-1.0.6
Sun Sep 13 07:30:42 2009 >>> dev-libs/glib-2.20.5
Sun Sep 13 07:31:37 2009 >>> sys-libs/e2fsprogs-libs-1.41.9
Sun Sep 13 07:31:46 2009 >>> app-arch/rar-3.9.0
Sun Sep 13 07:32:54 2009 >>> media-libs/babl-0.1.0
Sun Sep 13 07:34:39 2009 >>> sys-fs/e2fsprogs-1.41.9
Sun Sep 13 07:35:14 2009 >>> dev-perl/glib-perl-1.222
Sun Sep 13 07:37:19 2009 >>> media-libs/schroedinger-1.0.7-r2
Sun Sep 13 07:37:31 2009 >>> sys-kernel/genkernel-3.4.10.906
Sun Sep 13 07:37:50 2009 >>> dev-perl/libwww-perl-5.831
Sun Sep 13 07:38:03 2009 >>> sys-au

[gentoo-user] Re: [OT] Setting up correct domainname

2009-09-20 Thread Harry Putnam
Mick  writes:

> -The following addresses had permanent fatal errors-
> 
>   (reason: 550 5.1.0  sender rejected : invalid 
> sender domain)
>
> -Transcript of session follows -
> ... while talking to smtp.ISP.com:
 MAIL From: SIZE=745 AUTH=<>
> <<< 550 5.1.0  sender rejected : invalid sender
> domain
> 554 5.0.0 Service unavailable
> 
>
> Does this fail because the ISP's reverse DNS on my dynamically allocated IP 
> address resolves to an ISP domain instead of myserver.mydomain.com?
>
> Is there something I could change in the configuration of my server to make 
> this work again?

I think you might avoid the problem by making sendmail Impersonate your
isps domain.

Using some or all of these settings in sendmail.mc
 MASQUERADE_AS(`yourISP.domain')dnl
 MASQUERADE_DOMAIN(`youractual.domain')dnl
 FEATURE(masquerade_entire_domain)dnl
 FEATURE(masquerade_envelope)dnl




[gentoo-user] Re: [OT] Setting up correct domainname

2009-09-20 Thread Harry Putnam
Mick  writes:

>> I think you might avoid the problem by making sendmail Impersonate your
>> isps domain.
>>
>> Using some or all of these settings in sendmail.mc
>>  MASQUERADE_AS(`yourISP.domain')dnl
>>  MASQUERADE_DOMAIN(`youractual.domain')dnl
>>  FEATURE(masquerade_entire_domain)dnl
>>  FEATURE(masquerade_envelope)dnl
>
> Yes, that should fix the reverse DNS problem alright, but then people who 
> receive email notifications from myserver will be confused by the domain that 
> these messages are sent from.
>
> I could also use the ISP's domain for my IP address in the server's 
> /etc/hosts 
> file - although it would have the same problem with regards to the domain 
> that messages are sent from.

It is possible to do lots of complicated rewriting with
`genericstable', both in and out... maybe that would bare looking
into. 




[gentoo-user] Re: fcron & fetchmail & procmail and the "why not?"

2009-09-20 Thread Harry Putnam
Ward Poelmans  writes:

> On Sun, Sep 20, 2009 at 17:34,   wrote:
>>
>> When using the line:
>>
>>    @ 5 fetchmail -a
>>
>> nothing happens: The mail remains on the server and can be downloaded
>> with
>>
>>    fetchmail -a
>>
>> from the commandline.
>>
>> May be I am a little overhacked today...but what the hack I am doing
>> wrong here?
>
> Are you sure the cron job runs? Check the logs. Or try adding:
> */5 * * * * fetchmail -a
> in your cron file.

Another way to go at it might be to use fetchmails' built in daemon
mode (fetchmail -d INTERVAL).  And forget about cron.





[gentoo-user] Re: Why am I seeing only black screen in mplayer

2009-09-21 Thread Harry Putnam
Paul Hartman  writes:

> On Sun, Sep 20, 2009 at 11:07 AM, Harry Putnam  wrote:
>> Following my most recent update world of Sept. 13, mplayer only
>> produces a black screen when playing quicktime .mov files.
>
> It works for me on ~amd64.  I'm using mplayer-1.0_rc4_p20090825 with
> "quicktime" USE flag enabled.  Playing a quicktime movie shows video
> codec as ffrpza (from ffmpeg). I use vdpau for video output.

Today is the first time emerge has been able to find anything newer
than media-video/mplayer-1.0_rc2_p20090731-r1

In any of the nearly a dozen repos I have set in /etc/make.conf.

Maybe now I'll see a difference.

Volker Armin Hemmann  writes:

[...]

>
> you updated ffmpeg. Please rebuild mplayer. It should works afterwards.
>
> And in the future: revdep-rebuilt. It is your frined.

revdep-rebuild didn't help one whit in this case... as reported
earlier in this thread.




[gentoo-user] [ot General Textmode q]

2009-09-22 Thread Harry Putnam
I use a laptop with one of those touch pads you use for a mouse where
you drag your finger around on it and have two buttons for left and
right mouse.

Can any one tell me how to copy with mouse (really the left mouse
button provided on the touchpad) but paste from keyboard while in text
(console) mode?  Or using the touch pad thing somehow.  I've tried
pressing both touchpad buttons at once to emulate middle mouse but it
has no effect.

So I'm thinking there must be a way from the keyboard to release the
copied string someway to `paste' whatever is currently in the copy
buffer or clipboard or whatever it is when you hightlight something in
the terminal with left mouse drag.

If I hook a real mouse to the laptop.. I can do the normal linux stuff
all with mouse.. highlight with left mouse button drag (in a terminal)
and paste the highlighted string with middle mouse.

So again, how can I effect the above with only the keyboard for pasting
or alternatively the touchpad?  (The touchpad and two button apparatus
built into the laptop)

I notice on a windows OS what ever is highlighted anywhere with the
mouse can be pasted with C-v.  Is there a similar keyboard combo in
linux (text) terminal mode?




[gentoo-user] Re: [ot General Textmode q]

2009-09-22 Thread Harry Putnam
Grant Edwards  writes:
[...]

> One assumes that "console mode" means he's not running X.
>
> That said, I presume gpm holds the answer. But, I don't run gpm
> and don't know much about it...

James Ausmus  writes:
[...]

> then edit /etc/conf.d/gpm and add a (or modify an existing uncommented):
>
> APPEND="-2"
>
> And then the right-click should be paste.

Willie Wong  writes:
[...]

> I think a possibility is that you have plugged in and used a mouse
> with three buttons. This forced gpm into 3 button mode, so that the
> middle button becomes paste and right button is extend selection. Then
> you poor two-button touchpad has no more paste. 
>
> To prevent that edit /etc/conf.d/gpm and add APPEND="-2" to force gpm
> to stick with 2-button mode. 

Thanks to all for the prompt answers.

That solves the touch pad problem.

No one responded about the possibility of using the keyboard to do the
paste ... and man gpm is silent about it as well, does that mean its
not really possible to copy with mouse and paste with keyboard?




[gentoo-user] Re: [ot General Textmode q]

2009-09-24 Thread Harry Putnam
Mick  writes:

> On Wednesday 23 September 2009, Willie Wong wrote:
>> On Tue, Sep 22, 2009 at 04:37:15PM -0500, Penguin Lover Harry Putnam 
> squawked:
>> > Can any one tell me how to copy with mouse (really the left mouse
>> > button provided on the touchpad) but paste from keyboard while in text
>> > (console) mode?  Or using the touch pad thing somehow.  I've tried
>> > pressing both touchpad buttons at once to emulate middle mouse but it
>> > has no effect.
>>
>> In console the copy-paste is provided by GPM. And I thought GPM paste
>> is right mouse key, not middle key. And I am also pretty sure that GPM
>> does not do third button emulation the way X does.
>>
>> I think a possibility is that you have plugged in and used a mouse
>> with three buttons. This forced gpm into 3 button mode, so that the
>> middle button becomes paste and right button is extend selection. Then
>> you poor two-button touchpad has no more paste.
>>
>> To prevent that edit /etc/conf.d/gpm and add APPEND="-2" to force gpm
>> to stick with 2-button mode.
>
> I am not running gpm to test; have you tried the obvious 'Insert', or 
> Shift+I, 
> or Shift+Insert?

None of those do what I'm after here.
Someone answered that screen can do the kind of thing I talked about
... and yet it can.




[gentoo-user] Re: [ot General Textmode q]

2009-09-24 Thread Harry Putnam
Harry Putnam  writes:

> Mick  writes:
>
>> On Wednesday 23 September 2009, Willie Wong wrote:
>>> On Tue, Sep 22, 2009 at 04:37:15PM -0500, Penguin Lover Harry Putnam 
>> squawked:
>>> > Can any one tell me how to copy with mouse (really the left mouse
>>> > button provided on the touchpad) but paste from keyboard while in text
>>> > (console) mode?  Or using the touch pad thing somehow.  I've tried
>>> > pressing both touchpad buttons at once to emulate middle mouse but it
>>> > has no effect.
>>>
>>> In console the copy-paste is provided by GPM. And I thought GPM paste
>>> is right mouse key, not middle key. And I am also pretty sure that GPM
>>> does not do third button emulation the way X does.
>>>
>>> I think a possibility is that you have plugged in and used a mouse
>>> with three buttons. This forced gpm into 3 button mode, so that the
>>> middle button becomes paste and right button is extend selection. Then
>>> you poor two-button touchpad has no more paste.
>>>
>>> To prevent that edit /etc/conf.d/gpm and add APPEND="-2" to force gpm
>>> to stick with 2-button mode.
>>
>> I am not running gpm to test; have you tried the obvious 'Insert', or 
>> Shift+I, 
>> or Shift+Insert?
>
> None of those do what I'm after here.
> Someone answered that screen can do the kind of thing I talked about
> ... and yet it can.
   ^yes




[gentoo-user] [ot fonts in firefox]

2009-09-28 Thread Harry Putnam
Can anyone here coach me a little about getting a decent look in
firefox.

I've monkeyed around with the font settings endlessly but it seems I
can only get a look where like in a google search..  The hits are
displayed in a decent and reasonable size. But the font size in the
search box where you enter your terms is much bigger It seams nothing I
do in the supplied font adjustment settings has any effect on that
font.

You can see the window grab here:
  www.jtan.com/~reader/vu/disp.cgi

It doesn't look all that bad but notice how big the font in the search
box is compared to the index of hits.  The font inside search box is
not bold but is a fair bit larger font size than even the headlines in
the index of hits.

How do you control the font inside that search box?  And how do you
get a reliable size in the rest of it.. I tried checked and unchecked
on the item that says [] let the pages show their own fonts.
Doesn't seem to matter either way

I've tried numerous setting on the various font sizes available in the 
Edit/preferences font and advanced dialogs.  But I haven't found a
combination the just works for most stuff.




[gentoo-user] Abut smb:// aware tools

2009-10-02 Thread Harry Putnam
Do we have tools other than Konqueror that are aware of smb/UNK
addressing?

Before you answer please note that:
I know about ssh
I know about fuse
I know about mount -tcifs

I'd really like to be able to use UNK addressing from the cmd line.

  cd //host/share

I don't now how many of you have noticed but bash shell from cygwin on
windows has that capability built in.  Or maybe it comes from windows
env. 
  You can do `cd //linux-host/share' in a bash terminal

If command line smb/UNK is not on without lots of diddling around, what
about some file managing tool that does it like Konqueror does.

Emacs is said to be able to do this using tramp but I haven't ever
gotten it to work.

Konqueror can do it... but I don't run kde, and don't really want to
fiddle with it in that direction.





[gentoo-user] Re: Am I wrong?..

2009-10-02 Thread Harry Putnam
Dale  writes:

> Grant Edwards wrote:
>> 
>>  and my brain just doesn't
>> work the way vi does.
>>
>>   
>
> I'm with you Grant. Mine doesn't work that way either.

You guys do know that Bill Joy was lopsided drunk when he wrote the
bulk of vi ... right? (or so it is said by oldtimers)

Nobodys' brain works that way on purpose... You have to make it happen
with practice (or alcohol).  I should know... I've been practicing for
12 yrs and tried the alcohol technique before becoming a teetotaller
some time earlier, and still a very long ways from being an adept.  Or
even a competent for that matter.

But still compared to nano, even just the basic open file/ write to
file/ close file... is done better and easier from vi.

Someone mentioned being surprised to find nano the default in stage3.

I was surprised too.  My first gentoo installs were several yrs ago
now so I expect it now, but it did surprise me quite a bit that first
time. I'd already been through the grease with vi so could do basic
stuff well enough by that time.

However, all that said... it still isn't a big deal having nano there
at first ... Install disks are networked right off the bat these days,
so its not long before you can emerge vim or emacs, you don't have to
put up with nano for long.  




[gentoo-user] Re: Abut smb:// aware tools

2009-10-02 Thread Harry Putnam
walt  writes:

> On 10/02/2009 01:56 PM, Harry Putnam wrote:
>> Do we have tools other than Konqueror that are aware of smb/UNK
>> addressing?
>>
>> Before you answer please note that:
>> I know about ssh
>> I know about fuse
>> I know about mount -tcifs
>>
>> I'd really like to be able to use UNK addressing from the cmd line.
>>
>>cd //host/share
>
> Well, it sounds like you know more about the subject than I do, but
> do you know about smbmount that comes as part of samba?  Seems to me
> like that's what you're asking for.

I had forgotten about smbmount but that too is not the same as being
able to cd around with cd //host/share
smbmount adds another layer of complexity... and something more to
umount or maintain in mounted state... would also add a few more
characters to each address.

> BTW, what is UNK addressing?

Sorry ...s/K/C/ Universal Naming Convention...  I always think of the
sound `UNK' when I think about that style of address...(//host/share),
it just slipped into print, but I guess I can't hide the fact that I am
largely braindead too.




[gentoo-user] about layman and eix search

2009-10-03 Thread Harry Putnam
How to make eix search an overlay too.

The manpage for layman says:

   You can search through the ebuilds available in the overlays on
   http://overlays.gentoo.org by using "eix". Emerge the package and
   run update-eix-remote update.

But I find no such option in eix or eix --help|grep update
or 'man eix' although I do find eix-remote and eix-layman.

But not at all clear if either of those can cause eix to search
overlays. 

I don't see any likely use flags to change either at:
 emerge -vp eix:
  [ebuild   R   ] app-portage/eix-0.18.0  
  USE="bzip2 nls -deprecated -doc -sqlite -tools" 0 kB

It must be common task for people using overlays... so anyone know how
its done.




[gentoo-user] Re: Abut smb:// aware tools

2009-10-03 Thread Harry Putnam
walt  writes:


[...]

>>>
>>> Well, it sounds like you know more about the subject than I do, but
>>> do you know about smbmount that comes as part of samba?  Seems to me
>>> like that's what you're asking for.
>>
>> I had forgotten about smbmount but that too is not the same as being
>> able to cd around with cd //host/share...
>
> Hm.  I'm wondering if you come from a Windows background and are new
> to the world of *ix? 

I started my computer life on linux 1996.. only moved to windows for
some things when editing video (I like the adobe tools... and linux
just doesn't have anything remotely comparable.)

I admit having a very thick skull, but I also have quite a lot of time
on linux and solaris...so a little has soaked into even my thick
skull.  

It took me quite a while to learn much about windows.  And it still
seems horribly awkward... especially when moving around in the file
system. Its so much slower and time wasting to have to navigate by
clickety clack in something like the navigation windows that open for
on most applications..

I most windows applications, if you want to load a new file... the
navigation starts at My Documents... a place where just about nothing
I do should be kept.  So you must navigate to wherever it is over and
over, while working on windows.  I do know a few short cuts to use
but still the basic fact is that overtime a very lot of time goes
into just moving around on winows.

> ..  That's the only way I can make sense of the
> paragraph above.

Maybe because you left out most of it?

>> I had forgotten about smbmount but that too is not the same as being
>> able to cd around with cd //host/share
>> smbmount adds another layer of complexity... and something more to
>> umount or maintain in mounted state... would also add a few more
>> characters to each address.

> In order to cd to a file system (like smbfs) that file system must
> first be 'mounted' on a mount-point e.g. /mnt/ or /shares/ or wherever
> you choose to put it.  That mounting can be automated and transparent
> to the user, as Dirk said, but it must be done somehow before you can
> cd to it.

Hence my comment "smbmount adds another layer of complexity..."
Hence my comment "would also add a few more characters to each
address." 

Someone has to configure it... and manintain it thru a  new install.
If or when that comes up.  It may not be terribly difficult... but it
does need to be done.

> Just like partitons like /root, /var, /tmp, /usr, /home and the rest
> must be mounted before they can be used by anyone, including the OS.
> This is done automatically during bootup so you don't need to do it
> yourself.  Same with network shares.

Its done automatically only if you make that happen by some
configuration.  It may be worth it though... and like I said.. I'd
forgotten about smbmount and really have never gotten envolved with
automounting things...other than one major nfs share keep on a solaris
zfs server.

automounting is somewhat new in linux... it was not commonly used when
I started out.

> I hope I'm not misunderstanding and giving you an unneeded lecture :o)

Its always a good thing to have the basics hammered into your head.

You might notice that most boxing matches are won by really basic
techniques like keeping that jab out there.  Or slipping punches that
would really do damage if you didn't know how to move with it when you
can. 

So no harm revisiting basic stuff. 

Maybe you didn't notice my reference to cygwin bash on windows being
able to navigate via UNC.

It takes only creating shares to offer thru samba, for cygwin bash to
be able to navigate them with cd //host/share.  No mounting, or if
there is, I didn't have to specifically configure it.

Smb is native to windows... so maybe that is the reason.




[gentoo-user] Re: Abut smb:// aware tools

2009-10-03 Thread Harry Putnam
Paul Hartman  writes:

>> Emacs is said to be able to do this using tramp but I haven't ever
>> gotten it to work.
>>
>> Konqueror can do it... but I don't run kde, and don't really want to
>> fiddle with it in that direction.
>
> Midnight Commander can do it.

Haa, there is an old time tool... what do I need to use  in `eix' to
find it.

`eix midnight' fails as does `eix commander'

Does it have a different name in portage?

I did find a vimcommander... maybe that will have the functionality
too, since it says it has a commander style interface.




  1   2   3   4   5   6   7   8   9   10   >