Re: [gentoo-user] Cannot emerge libgksu: lacks XML::Parser

2009-08-01 Thread Stroller


On 1 Aug 2009, at 04:56, Kevin O'Gorman wrote:


I've got portage's dev-perl/XML-Parser-2.36, but nevertheless several
packages have started to fail during emerge for lack of Perl's
XML::Parser.
Even the simple script fails to run under perl:

#!/usr/bin/perl -w

use XML::Parser;

print yes\n;


Do I have to get it from CPAN?


Why would  you get it from CPAN? Have you tried re-emerging the package?



Consider libgksu; here's the end of the emerge output, where
XML::Parser is required by intltool:

checking for perl... /usr/bin/perl
checking for XML::Parser... configure: error: XML::Parser perl module
is required for intltool


It's surely saying that because the ebuild or makefile has a test  
script to see whether XML::Parser is present  working. Just as your  
`print yes\n` is failing so is the test run by the installation  
scripts, thus preventing install of libgksu.


It sounds like ABCD is on the right track with his suggestion  
regarding the ithreads USE flag. But in any case you might normally  
try re-emerging the package and running revdep-rebuild before calling  
us.


If I had this problem then - depending on how quick my machine was,  
how urgently I needed it fixed, and considering one might wait a few  
hours for a response here - I might well remerge everything with  
perl in the package name or category before becoming too flustered  
about this. You might well find that does the job.


Stroller.



Re: [gentoo-user] how to amrecover in amanda-2.6.0

2009-08-01 Thread Stefan G. Weichinger
John Blinka schrieb:
 On Sat, Jul 18, 2009 at 5:42 AM, Stefan G. Weichingerli...@xunil.at wrote:
 
 Didn't the binary-paths change with 2.6 ?
 
 Yes.
 
 Check if /usr/libexec/amanda/amandad exists and adjust the xinetd-entry
 if necessary.

 
 Did that.  The binaries exist and xinetd entries point correctly.
 
 (Sorry for the very long delay in replying.  My backup machine's root
 partition disk started
 failing, and it has taken me a long time to rebuild things.)

Sorry to hear.

Maybe you should post your issues to the amanda-users mailing list.
Some of the devs read it and may be able to help you quickly.

Stefan



[RESOLVED] Re: [gentoo-user] how to amrecover in amanda-2.6.0

2009-08-01 Thread John Blinka
I'm not exactly sure what I've done to fix things, but backups and
amrecovers are now working properly.

For the record, on the backup server, the /etc/xinetd.d/amanda file contains:

service amanda
{
socket_type = dgram
protocol= udp
wait= yes
user= amanda
group   = amanda
groups  = yes
server  = /usr/libexec/amanda/amandad
server_args = amdump amindexd amidxtaped

only_from   = 192.168.1.0
disable = no
log_type= SYSLOG daemon debug
}

and, again on the backup server, the /etc/amanda/amandahosts file contains:

# Machine-name for those hosts which are permitted to back up (fully-qualified
# is best).  An entry in /etc/hosts adds fail-safe against DNS death :-)
# |
# | permitted user-name
# | |

server  amanda amdump
server  root amindexd amidxtaped
client  root amindexd amidxtaped

On the backup client, the /etc/xinetd.d/amanda file is identical to
the server's.

On the backup client, the /etc/amanda/amandahosts file contains:

# vim: ts=4 sts=4 sw=4 noexpandtab:
# Machine-name for those hosts which are permitted to back up (fully-qualified
# is best).  An entry in /etc/hosts adds fail-safe against DNS death :-)
# |
# | permitted user-name
# | |

client  amanda amdump
server  amanda amdump
client  root amindexd amidxtaped

I used the fqdn for the client and server names in the above files.

John Blinka



Re: [gentoo-user] File synchronisation utility (searching for/about to program it)

2009-08-01 Thread Mike Kazantsev
On Sat, 25 Jul 2009 13:10:41 -0400
Simon turne...@gmail.com wrote:

 I have tried using git in the past and found that it doesnt work in my
 'space constrained' scenario.  The need for a repository is a problem.
  The use of the usbkey however is nice since it allows git to work
 without having each computer maintain its own repository... but
 still... i dont currently have a usbkey that's large enough to hold
 all my data, even if i could compress it i doubt it would fit.
 
 Another thing is, i wonder if it retains the attributes of the file
 (creation date, mod date, owner/group, permissions)?  As this can be
 important on some aspects of my synchronisation needs.

Vanilla git doesn't, apart from executable bit.

Due to highly-modular structure of git, one can easily implement it
as a wrapper or replacement binary at some level, storing metadata in
some form (plain list, mirror tree or just alongside each file) when
pushing changes to repo, applying on each pull.
Then there are also git-hooks, which should be a better way than
wrapper in theory, but I found them much harder to use in practice.


 Still, git is a very good solution that works incrementally in a
 differential manner (makes patches from previous versions).  But when
 i tried it, i found to suit my needs it would require the programming
 of a big wrapper that would interface git to make some daily quick
 actions simpler than a few git commands.

That's another advantage of wrapper, but note that git-commands
themselves can be quite extensible via aliases, configurable in
gitconfig at any level (repo, home, system-wide).

  [alias]
ci = commit -a
co = checkout
st = status -a
br = branch
ru = remote update
ui = update-index --refresh
cp = cherry-pick

Still, things such are git ui  git cp X are quite common, so
wrapper, or at least a set of shell aliases is quite handy.


 I apologize if the existence of a bare repo as an intermediary is a problem.
 This can be done on a server as well.  

 It is...  it makes all my computer dependant on that repo...  sync'ing
 computers at home can be done alright, but will still require walking
 around pluging/unpluging.  Makes this practically impossible to do
 over the network (or to sync my host on the internet, not all my pc
 are connected to the internet so the repo cant be just on the server,
 i would have to maintain several repositories to work this out...).
 It may be possible to adapt it to my scenario, but i think it will
 require a lot of design in advance...  but i'll check it out...  at
 worst it will convince me i should program my own, better it will give
 me some good ideas or fortify some of my own good ideas and at best it
 will be the thing i've been looking for!

Why keep bare repo at all? That's certainly not a prequisite with
distributed VCS like git.

You can fetch / merge / rebase / cherry-pick commits with git via ssh
just as easy as with rsync, using some intermediate media only if
machines aren't connected at all, but then there's just no way around
it.
And even here, knowing approximate date of last sync, you can use
commands like git-bundle to create single pack of new objects, which
remote(s) can easily import, transferring this via any applicable method
or protocol between / to any number of hosts.


As you've noted already, git is quite efficient when it comes to
storage, keeping the changes alone.
When this will become a problem due to long history of long-obsoleted
changes, you can drop them all, effectively 'sqashing' all the commits
in one of the repos, rebasing the rest against it.
So that should cover requirement one.

Cherry-picking commits or checking out individual files / dirs on top
of any base from any other repo/revision is pretty much what is stated
in the next three requirements.
One gotcha here is that you should be used to making individual commits
consistent and atomic, so each set of changes serves one purpose and
you won't be in situation when you'll need half of commit anywhere.

Conflict resolution is what you get with merge / rebase (just look at
the fine git-merge man page), but due to abscence of ultimate AI
these better used repeatedly against the same tree.

About the last point of original post... I don't think git is
intuitive until you understand exactly how it works - that's when it
becomes one, with all the high-level and intermediate interfaces having
great manpage and sole, clear purpose.


That said, I don't think git is the best way to sync everything.
I don't mix binary files with configuration, because just latter suffice
with gentoo: you have git-synced portage (emerge can sync via VCS
out-of-the-box), git-controlled overlay on top of it and pull the
world/sets/flag/etc changes... just run emerge and you're set, without
having to worry about architectural incompatibilities of binaries or
missing misc libs, against which they're linked here and there. That's
what portage is made for, after all.
Just think of 

[gentoo-user] Re: How send mail when user login on ssh or local ?

2009-08-01 Thread James
Vagner Rodrigues vagner at litrixlinux.org writes:


 I work with another admin's  and I never told me  when they access and
 for what  my server  to do something,  I try log but this can be erased 
 and maybe mail can help me about access and with this I can Ask about
 this access.


Well, what the others have said rings very true. I'd just add a few things.
If they have had root access on the system(s), and you want to remove them,
it's very difficult (if they are knowledgeable) to do so, no matter what
you do. It would be best to re-install that system(s) just to be safe.
Re installation may be the quickest solution, and brings finality
to a comprimised system problem.


If in the future, should you need to have several folks with extended
privileges, then look into sudo.  It may or may not be a solution
for your network.


Personally, I like to divide and conquer; Split admin responsibilities
across servers, and then one or two principals access/control everything
and everyone That way you can document what other admins have done,
with a variety of techniques and when servers are migrated to another
admin, the new admin can document how things work or have been set up,
to the point of training another admin. Often, particularly among the
younger admins, folks do not like to perform a 'knowledge transfer' so
when you switch admins, that situation gets flushed out.


caveat emptor!


hth,
James






Re: [gentoo-user] Re: Cannot emerge libgksu: lacks XML::Parser

2009-08-01 Thread Kevin O'Gorman
On Fri, Jul 31, 2009 at 9:51 PM, ABCDen.a...@gmail.com wrote:
 Kevin O'Gorman wrote:

 I've got portage's dev-perl/XML-Parser-2.36, but nevertheless several
 packages have started to fail during emerge for lack of Perl's
 XML::Parser.
 Even the simple script fails to run under perl:
 #!/usr/bin/perl -w

 use XML::Parser;

 print yes\n;

 Do I have to get it from CPAN?

 Consider libgksu; here's the end of the emerge output, where
 XML::Parser is required by intltool:

 checking for perl... /usr/bin/perl
 checking for XML::Parser... configure: error: XML::Parser perl module
 is required for intltool

 !!! Please attach the following file when seeking support:
 !!! /var/tmp/portage/x11-libs/libgksu-2.0.9/work/libgksu-2.0.9/config.log
  *
  * ERROR: x11-libs/libgksu-2.0.9 failed.
  * Call stack:
  *               ebuild.sh, line   49:  Called src_compile
  *             environment, line 2896:  Called gnome2_src_compile
  *             environment, line 2264:  Called gnome2_src_configure
  *             environment, line 2278:  Called econf '--enable-nls'
 '--disable-gtk-doc'
  *               ebuild.sh, line  534:  Called die
  * The specific snippet of code:
  *                      die econf failed
  *  The die message:
  *   econf failed
  *
  * If you need support, post the topmost build error, and the call
 stack if relevant.
  * A complete build log is located at
 '/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/build.log'.
  * The ebuild environment file is located at
 '/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/environment'.
  *

 Failed to emerge x11-libs/libgksu-2.0.9, Log file:

  '/var/tmp/portage/x11-libs/libgksu-2.0.9/temp/build.log'


 Have you recently changed the ithreads USE flag on dev-lang/perl? If so,
 then you will need to remerge all ebuilds that installed files in
 /usr/lib*/perl5/vendor_perl/${PERL_VER}/${CHOST%%-*}-linux if ithreads was
 disabled, and /usr/lib*/perl5/vendor_perl/${PERL_VER}/${CHOST%%-*}-linux-
 thread-multi if ithreads was enabled.

 Also, if you have recently upgraded perl, the same provisions apply.

 NOTE: In the above expansion, the following applies [sorry if you already
 know this]:

 - lib* is lib on x86, lib64 on amd64
 - ${PERL_VER} is your perl version, probably 5.8.8
 - ${CHOST%%-*} is the part of the CHOST before the first -:
  * on x86, it will be one of i486, i586, or i686
  * on amd64, it will be x86_64

 If you aren't on x86 or amd64, I assume you can figure it out :).

This is helpful, as I do remember fooling with ithreads and not
getting it completely right.  I'm now emerging anything that has
'perl' in the name or category.

It has always baffled me, given this sensitivity, that all such
packages don't just declare that they use the 'ithreads' USE flag,
even if they don't explicitly.  Then my usual emerge --newuse would do
the Right Thing (TM).

++ kevin

-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] Re: Cannot emerge libgksu: lacks XML::Parser

2009-08-01 Thread Stroller


On 1 Aug 2009, at 14:54, Kevin O'Gorman wrote:

...
It has always baffled me, given this sensitivity, that all such
packages don't just declare that they use the 'ithreads' USE flag,
even if they don't explicitly.  Then my usual emerge --newuse would do
the Right Thing (TM).


The build scripts (makefile or whatever) of some packages will  
autodetect whether a feature is available. Thus they take advantage of  
another package's USE flag, without their own ebuild featuring it. I  
think this issue may be complicated by upstream decisions, thus  
complicating matters so that it may not be so easy for Gentoo  
developers to do the right thing.


Stroller.
 



[gentoo-user] Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Paul Hartman
Hi,

For some reason, YouTube doesn't work for me in some web browsers. It
acts like the hostname is not found. When I do host www.youtube.com
lookups and tcptraceroute to port 80 and everything else I have tried
to diagnose it seems to work just fine. I'm not using a proxy, I don't
have youtube in my hosts file, and I haven't encountered this problem
with any other website, including all of Google's other sites which I
use frequently. I'm totally baffled.

Loads perfectly fine in:
lynx
links (text and graphical mode)
Opera

Does not load at all in:
Seamonkey
Konqueror
Firefox

I tried it at work from a Windows machine (and a different ISP) using
all of the above browsers and it worked fine. So I have no idea.

I have not tried to do a wireshark capture yet.

Has anyone seen this before or have any hints for me? I'm not a big
YouTube person so I'm more interested in why this is happening than
seeing videos. This has happened in the past with YouTube and after a
few weeks it started working normally again. Not sure how long it has
been since it stopped.

Thanks.



Re: [gentoo-user] Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Alan McKinnon
On Saturday 01 August 2009 16:53:08 Paul Hartman wrote:
 Hi,

 For some reason, YouTube doesn't work for me in some web browsers. It
 acts like the hostname is not found. When I do host www.youtube.com
 lookups and tcptraceroute to port 80 and everything else I have tried
 to diagnose it seems to work just fine. I'm not using a proxy, I don't
 have youtube in my hosts file, and I haven't encountered this problem
 with any other website, including all of Google's other sites which I
 use frequently. I'm totally baffled.

 Loads perfectly fine in:
 lynx
 links (text and graphical mode)
 Opera

 Does not load at all in:
 Seamonkey
 Konqueror
 Firefox

Those three browsers can all use the same plugins, I'm not sure about the 
first three. I'd be checking for stuff that works like AdBlock. I especially 
know of extensions that block YouTube

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: How send mail when user login on ssh or local ?

2009-08-01 Thread Alan McKinnon
On Saturday 01 August 2009 15:35:35 James wrote:
 That way you can document what other admins have done,
 with a variety of techniques and when servers are migrated to another
 admin, the new admin can document how things work or have been set up,
 to the point of training another admin. Often, particularly among the
 younger admins, folks do not like to perform a 'knowledge transfer' so
 when you switch admins, that situation gets flushed out.

My team has a brilliant solution for this:

A wiki.

You can't start on project #2 till #2 is fully documented. 
Projects #1, #2 and #3 etc are all on our Key Performance Indicators for each 
half-year.
Yearly bonus and salary increase depends only on Performance Appraisal 
interview.
Technical aspects of Performance Appraisal interview depends only on progress 
through your projects.

See where this is going?
No documentation = no knowledge transfer = no wage increase.

:-)

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Paul Hartman
On Sat, Aug 1, 2009 at 11:21 AM, Alan McKinnonalan.mckin...@gmail.com wrote:
 On Saturday 01 August 2009 16:53:08 Paul Hartman wrote:
 Hi,

 For some reason, YouTube doesn't work for me in some web browsers. It
 acts like the hostname is not found. When I do host www.youtube.com
 lookups and tcptraceroute to port 80 and everything else I have tried
 to diagnose it seems to work just fine. I'm not using a proxy, I don't
 have youtube in my hosts file, and I haven't encountered this problem
 with any other website, including all of Google's other sites which I
 use frequently. I'm totally baffled.

 Loads perfectly fine in:
 lynx
 links (text and graphical mode)
 Opera

 Does not load at all in:
 Seamonkey
 Konqueror
 Firefox

 Those three browsers can all use the same plugins, I'm not sure about the
 first three. I'd be checking for stuff that works like AdBlock. I especially
 know of extensions that block YouTube

To add more confusion: I just tried accessing YouTube over Tor from
the very browser in which it refuses to work normally and it loaded
fine. So I am leaning heavily towards this being an ISP issue. The
fact that traceroute shows no errors really makes me wonder if my ISP
(a Cable TV provider) is intentionally blocking YouTube (their
competition?). But only for certain browsers? It doesn't make any
sense.

Following that thought -- I wonder if there is a special YouTube
server for my ISP and the standard/outside YouTube server farm is
blocked? I've read about Google hosting servers at or near major ISPs
to reduce the number of hops, but have never heard anything about my
ISP doing it. I do not use my ISP's DNS servers, so I could very well
be trying access a different YouTube. I guess I will have to do some
lookups on their servers and compare the results.

My ISP's DNS servers have 3 strikes against them:

1. It is slow, slow, slow, slow, slow... and did I mention slow? :)
2. They have previously sold user's DNS/browsing history to
advertisers. They claim to have stopped, but...
3. They hijack DNS, making every invalid address resolve to an
address anyway, which when viewed in a web browser goes to an error
page (full of advertisements and sponsored links). You never know if
a hostname is really invalid or not, which makes troubleshooting
non-HTTP connections interesting.



[gentoo-user] Re: Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Remy Blank
Paul Hartman wrote:
 My ISP's DNS servers have 3 strikes against them:
 
 1. It is slow, slow, slow, slow, slow... and did I mention slow? :)
 2. They have previously sold user's DNS/browsing history to
 advertisers. They claim to have stopped, but...
 3. They hijack DNS, making every invalid address resolve to an
 address anyway, which when viewed in a web browser goes to an error
 page (full of advertisements and sponsored links). You never know if
 a hostname is really invalid or not, which makes troubleshooting
 non-HTTP connections interesting.

Time to switch to http://www.opendns.com/ ?

(I haven't used them, but they seem to be recommended a lot theses days)

-- Remy



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Robin Atwood
On Saturday 01 August 2009, Paul Hartman wrote:
 My ISP's DNS servers have 3 strikes against them:

 1. It is slow, slow, slow, slow, slow... and did I mention slow? :)
 2. They have previously sold user's DNS/browsing history to
 advertisers. They claim to have stopped, but...
 3. They hijack DNS, making every invalid address resolve to an
 address anyway, which when viewed in a web browser goes to an error
 page (full of advertisements and sponsored links). You never know if
 a hostname is really invalid or not, which makes troubleshooting
 non-HTTP connections interesting.

http://www.opendns.com is your friend. :) I switched a few months back and not 
regretted it.

HTH
-Robin
-- 
--
Robin Atwood.

Ship me somewheres east of Suez, where the best is like the worst,
 Where there ain't no Ten Commandments an' a man can raise a thirst
 from Mandalay by Rudyard Kipling
--












Re: [gentoo-user] Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Alan McKinnon
On Saturday 01 August 2009 18:56:24 Paul Hartman wrote:
 Following that thought -- I wonder if there is a special YouTube
 server for my ISP and the standard/outside YouTube server farm is
 blocked? I've read about Google hosting servers at or near major ISPs
 to reduce the number of hops, but have never heard anything about my
 ISP doing it. I do not use my ISP's DNS servers, so I could very well
 be trying access a different YouTube. I guess I will have to do some
 lookups on their servers and compare the results.

That is certainly possible - Google has YouTube caches all over the world. 
It's not inconceivable that tweaks for specific browsers accidentally nuke the 
content.

The test for this would be to try to view videos through a different ISP Are 
you able to do this?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Alan McKinnon
On Saturday 01 August 2009 19:03:49 Remy Blank wrote:
 Paul Hartman wrote:
  My ISP's DNS servers have 3 strikes against them:
 
  1. It is slow, slow, slow, slow, slow... and did I mention slow? :)
  2. They have previously sold user's DNS/browsing history to
  advertisers. They claim to have stopped, but...
  3. They hijack DNS, making every invalid address resolve to an
  address anyway, which when viewed in a web browser goes to an error
  page (full of advertisements and sponsored links). You never know if
  a hostname is really invalid or not, which makes troubleshooting
  non-HTTP connections interesting.

 Time to switch to http://www.opendns.com/ ?

 (I haven't used them, but they seem to be recommended a lot theses days)

side comment

Paul's post tells us who his ISP probably is :-) What they do makes my blood 
boil - if I tried a stunt like that with my DNS caches, I'd be frog-marched 
out the door with bangles on in about 30 minutes flat.

I'd let you use my cache network with pleasure, but there's ACLs in place. In 
other good news, I've also heard good things about opendns, I recommend Paul 
gives them a try if he can.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Arttu V.
On 8/1/09, Remy Blank remy.bl...@pobox.com wrote:
 Paul Hartman wrote:
 My ISP's DNS servers have 3 strikes against them:

 1. It is slow, slow, slow, slow, slow... and did I mention slow? :)
 2. They have previously sold user's DNS/browsing history to
 advertisers. They claim to have stopped, but...
 3. They hijack DNS, making every invalid address resolve to an
 address anyway, which when viewed in a web browser goes to an error
 page (full of advertisements and sponsored links). You never know if
 a hostname is really invalid or not, which makes troubleshooting
 non-HTTP connections interesting.

 Time to switch to http://www.opendns.com/ ?

 (I haven't used them, but they seem to be recommended a lot theses days)

Which part of the problems he lists are not associated to OpenDNS as well? :)

http://en.wikipedia.org/wiki/OpenDNS#Privacy_issues.2C_conflicts_and_covert_redirection

-- 
Arttu V.



Re: [gentoo-user] Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Dale
Paul Hartman wrote:


 My ISP's DNS servers have 3 strikes against them:

 1. It is slow, slow, slow, slow, slow... and did I mention slow? :)
 2. They have previously sold user's DNS/browsing history to
 advertisers. They claim to have stopped, but...
 3. They hijack DNS, making every invalid address resolve to an
 address anyway, which when viewed in a web browser goes to an error
 page (full of advertisements and sponsored links). You never know if
 a hostname is really invalid or not, which makes troubleshooting
 non-HTTP connections interesting.


   

I got the IP of the youtube I go to.  Maybe try the IP number instead.

http://64.15.120.233/

Hope that helps.

Dale

:-)  :-) 



Re: [gentoo-user] Re: Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Paul Hartman
On Sat, Aug 1, 2009 at 12:03 PM, Remy Blankremy.bl...@pobox.com wrote:
 Paul Hartman wrote:
 My ISP's DNS servers have 3 strikes against them:

 1. It is slow, slow, slow, slow, slow... and did I mention slow? :)
 2. They have previously sold user's DNS/browsing history to
 advertisers. They claim to have stopped, but...
 3. They hijack DNS, making every invalid address resolve to an
 address anyway, which when viewed in a web browser goes to an error
 page (full of advertisements and sponsored links). You never know if
 a hostname is really invalid or not, which makes troubleshooting
 non-HTTP connections interesting.

 Time to switch to http://www.opendns.com/ ?

 (I haven't used them, but they seem to be recommended a lot theses days)

I'm already not using my ISP's DNS server. I was just outlining my
reasons for that (in case the fact that I don't use theirs is causing
my problem). :)



Re: [gentoo-user] Strange issue with YouTube not working at all in some browsers

2009-08-01 Thread Paul Hartman
On Sat, Aug 1, 2009 at 12:46 PM, Dalerdalek1...@gmail.com wrote:
 Paul Hartman wrote:


 My ISP's DNS servers have 3 strikes against them:

 1. It is slow, slow, slow, slow, slow... and did I mention slow? :)
 2. They have previously sold user's DNS/browsing history to
 advertisers. They claim to have stopped, but...
 3. They hijack DNS, making every invalid address resolve to an
 address anyway, which when viewed in a web browser goes to an error
 page (full of advertisements and sponsored links). You never know if
 a hostname is really invalid or not, which makes troubleshooting
 non-HTTP connections interesting.




 I got the IP of the youtube I go to.  Maybe try the IP number instead.

 http://64.15.120.233/

 Hope that helps.

That actually worked, sort of. The site and images all load using that
IP but videos are apparently served by another host because they get
stuck on the loading animation forever. I found a couple other
YouTube IPs on Google which also work:

http://208.65.153.238/
http://208.117.236.69/

These are the IPs I got for www.youtube.com:
youtube-ui.l.google.com has address 72.14.213.100
youtube-ui.l.google.com has address 72.14.213.101
youtube-ui.l.google.com has address 72.14.213.102
youtube-ui.l.google.com has address 72.14.213.113
youtube-ui.l.google.com has address 72.14.213.138
youtube-ui.l.google.com has address 72.14.213.139

So at least I'm getting a little closer. Going to try to find my ISP's
DNS servers and perform the lookups on them to see what the difference
is.

Thanks,
Paul



[gentoo-user] Problem with ssmtp-2.62-r6

2009-08-01 Thread David Relson
Starting on July 26, my email client started displaying a number
of messages lacking subject lines.  The messages were all cronjob
outputs.

Here's a sample:

From rel...@osage.osagesoftware.com  Mon Jul 27 00:15:02 2009
Return-Path: rel...@osage.osagesoftware.com
X-Original-To: r...@osagesoftware.com
Delivered-To: r...@osagesoftware.com
Received: from osage (osage.osagesoftware.com [192.168.1.10])
by mail.osagesoftware.com (Postfix) with SMTP id AC1C27BC85
for r...@osagesoftware.com; Mon, 27 Jul 2009 00:15:01
-0400 (EDT) Received: by osage (sSMTP sendmail emulation); Mon, 27
Jul 2009 00:13:02 -0400 From: is an optional port number that
defaults to 25. Message-Id:
20090727041501.ac1c27b...@mail.osagesoftware.com Date: Mon, 27
Jul 2009 00:15:01 -0400 (EDT) To: undisclosed-recipients:;

Date: Mon, 27 Jul 2009 00:13:02 -0400
To: r...@osagesoftware.com
Subject: Cron rel...@osage /home/relson/bogofilter/mail/n2o
X-Cron-Env: SHELL=/bin/bash
X-Cron-Env: PATH=/sbin:/bin:/usr/sbin:/usr/bin
X-Cron-Env: mailto=r...@osagesoftware.com
X-Cron-Env: HOME=/
X-Cron-Env: LOGNAME=relson
X-Cron-Env: USER=relson

...[snip]...

The peculiar bits of this message are the lines

From: is an optional port number that defaults to 25.

and

To: undisclosed-recipients:;

What the heck is the optional port number message and why is there a
second To: line (with the first one being bogus).

The blank line after the To: undisclosed-recipients:; line is also
strange, as a blank line is the separator between the message header
and the message body. This presence of this blank line causes a mail
client to ignore the To: root... and Subject:  header lines.

Checking /var/log/portage, I noticed that mail-mta:ssmtp-2.62-r4 was
upgraded to 2.62-r6 shortly before the messages started.  After
downgrading back to r4, the problem went away.

Anybody familiar with this problem and know the cause and what to do
about it?



[gentoo-user] portage and library troubles with GL

2009-08-01 Thread Kevin O'Gorman
I've been trying to get a few recalcitrant packages to build
(evolution-data-server, openoffice) but they seem to require things
that my system does not have, and portage doesn't know this.

So I'm trying revdep-rebuild, which also fails.  In particular,
x11-libs/gtkglext-1.2.0 won't build because during configuration, it
lacks GL library.  I've been trying to use equery to figure out what
package owns some of the things in the /usr/include/GL directory, to
no avail.  So here's the tail end of the revdep output, in hopes a
more experienced hand can help...



checking for GL/glu.h... yes
checking for glVertex3d in -lGLcore... no
checking for glVertex3d in -lGL... no
checking for glVertex3f in -lGL... no
checking for glVertex3i in -lGL... no
checking for glVertex3s in -lGL... no
checking for glVertex3d in -lMesaGL... no
configure: error: Cannot find GL library

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/x11-libs/gtkglext-1.2.0/work/gtkglext-1.2.0/config.log
 *
 * ERROR: x11-libs/gtkglext-1.2.0 failed.
 * Call stack:
 *   ebuild.sh, line   49:  Called src_configure
 * environment, line 1334:  Called gnome2_src_configure
 * environment, line 1113:  Called econf
 *   ebuild.sh, line  534:  Called die
 * The specific snippet of code:
 *  die econf failed
 *  The die message:
 *   econf failed
 *
 * If you need support, post the topmost build error, and the call
stack if relevant.
 * A complete build log is located at
'/var/tmp/portage/x11-libs/gtkglext-1.2.0/temp/build.log'.
 * The ebuild environment file is located at
'/var/tmp/portage/x11-libs/gtkglext-1.2.0/temp/environment'.
 *

 Failed to emerge x11-libs/gtkglext-1.2.0, Log file:

  '/var/tmp/portage/x11-libs/gtkglext-1.2.0/temp/build.log'

 * GNU info directory index is up-to-date.
 *
 * revdep-rebuild failed to emerge all packages.
 * you have the following choices:
 * - If emerge failed during the build, fix the problems and re-run
revdep-rebuild.
 * - Use /etc/portage/package.keywords to unmask a newer version of the package.
 *   (and remove 5_order.rr to be evaluated again)
 * - Modify the above emerge command and run it manually.
 * - Compile or unmerge unsatisfied packages manually,
 *   remove temporary files, and try again.
 *   (you can edit package/ebuild list first)
 *
 * To remove temporary files, please run:
 * rm /var/cache/revdep-rebuild/*.rr
treat ~ #

-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] portage and library troubles with GL

2009-08-01 Thread Alan McKinnon
On Saturday 01 August 2009 23:19:52 Kevin O'Gorman wrote:
 I've been trying to get a few recalcitrant packages to build
 (evolution-data-server, openoffice) but they seem to require things
 that my system does not have, and portage doesn't know this.

 So I'm trying revdep-rebuild, which also fails.  In particular,
 x11-libs/gtkglext-1.2.0 won't build because during configuration, it
 lacks GL library.  I've been trying to use equery to figure out what
 package owns some of the things in the /usr/include/GL directory, to
 no avail.  So here's the tail end of the revdep output, in hopes a
 more experienced hand can help...



 checking for GL/glu.h... yes
 checking for glVertex3d in -lGLcore... no
 checking for glVertex3d in -lGL... no
 checking for glVertex3f in -lGL... no
 checking for glVertex3i in -lGL... no
 checking for glVertex3s in -lGL... no
 checking for glVertex3d in -lMesaGL... no
 configure: error: Cannot find GL library

install mesa. 

openoffice depends on virtual/glu which depends on mesa

-- 
alan dot mckinnon at gmail dot com



[gentoo-user] how do I resolve udev145 masked issue?

2009-08-01 Thread John covici
Hi.  On my latest update attempt, I get the following message: !!! All
ebuilds that could satisfy =sys-fs/udev-145[extras] have been
masked.
!!! One of the following masked packages is required to complete your
request:
- sys-fs/udev- (masked by: package.mask, missing keyword)
/usr/portage/profiles/package.mask:
# Matthias Schwarzott z...@gentoo.org (3 Jul 2009)
# It needs libblkid provided by util-linux-2.16 not yet released

- sys-fs/udev-145 (masked by: package.mask)

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.

I tried this a week ago and waited a week hoping that this would be
resolved, but the latest emerge --sync still has not resolved the
problem.

Any suggestions would be appreciated as to possible courses of action,
as there seems to be no way to tell emerge to do other updates while
this is still not resolved.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



Re: [gentoo-user] portage and library troubles with GL

2009-08-01 Thread Kevin O'Gorman
On Sat, Aug 1, 2009 at 2:28 PM, Alan McKinnonalan.mckin...@gmail.com wrote:
 On Saturday 01 August 2009 23:19:52 Kevin O'Gorman wrote:
 I've been trying to get a few recalcitrant packages to build
 (evolution-data-server, openoffice) but they seem to require things
 that my system does not have, and portage doesn't know this.

 So I'm trying revdep-rebuild, which also fails.  In particular,
 x11-libs/gtkglext-1.2.0 won't build because during configuration, it
 lacks GL library.  I've been trying to use equery to figure out what
 package owns some of the things in the /usr/include/GL directory, to
 no avail.  So here's the tail end of the revdep output, in hopes a
 more experienced hand can help...



 checking for GL/glu.h... yes
 checking for glVertex3d in -lGLcore... no
 checking for glVertex3d in -lGL... no
 checking for glVertex3f in -lGL... no
 checking for glVertex3i in -lGL... no
 checking for glVertex3s in -lGL... no
 checking for glVertex3d in -lMesaGL... no
 configure: error: Cannot find GL library

 install mesa.

 openoffice depends on virtual/glu which depends on mesa

According to eix, I've got the latest stable: media-libs/mesa-7.3-r1;
why would you think portage would not pull it in if I was emerging
openoffice?

++ kevin


-- 
Kevin O'Gorman, PhD



[gentoo-user] Remove stranded gcc-config's?

2009-08-01 Thread Mark Knecht
I was updating my wife's machine today and noticed that there are a
number of older/stranded gcc-config's left on the machine. I still
have gcc-4.1.2 but the other 3.3/3.4 versions should not remain.

How would I remove these?

Thanks,
Mark

dragonfly ~ # gcc-config -l
 [1] i686-pc-linux-gnu-3.3.3
 [2] i686-pc-linux-gnu-3.4.4
 [3] i686-pc-linux-gnu-3.4.4-hardened
 [4] i686-pc-linux-gnu-3.4.4-hardenednopie
 [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp
 [6] i686-pc-linux-gnu-3.4.4-hardenednossp
 [7] i686-pc-linux-gnu-4.1.2
 [8] i686-pc-linux-gnu-4.3.2 *
dragonfly ~ #



[gentoo-user] Re: How send mail when user login on ssh or local ?

2009-08-01 Thread James
Alan McKinnon alan.mckinnon at gmail.com writes:


 See where this is going?
 No documentation = no knowledge transfer = no wage increase.


Well, these days, I work in smaller circles, but, I like your 
ideas. I pretty much do the same thing with consultants, 
contracts and money

wink...nod...giggle



James







Re: [gentoo-user] portage and library troubles with GL

2009-08-01 Thread Kenneth Prugh
On Sat, 1 Aug 2009 14:19:52 -0700
Kevin O'Gorman kogor...@gmail.com wrote:

 [...]

Are the packages looking for a .la file? I had a problem on my system
that it wanted a nonexistant opengl.la or something similar. I ended up
fixing it by emerging dev-util/lafilefixer and running it
over /usr/lib/.

This is a wild guess though as you didn't post what the other programs
were erroring out with, I could be completely off target with the .la
file thing.



Re: [gentoo-user] Remove stranded gcc-config's?

2009-08-01 Thread Jacob Todd
On Sat, Aug 01, 2009 at 04:41:51PM -0700, Mark Knecht wrote:
 I was updating my wife's machine today and noticed that there are a
 number of older/stranded gcc-config's left on the machine. I still
 have gcc-4.1.2 but the other 3.3/3.4 versions should not remain.
 
 How would I remove these?
 
 Thanks,
 Mark
 
 dragonfly ~ # gcc-config -l
  [1] i686-pc-linux-gnu-3.3.3
  [2] i686-pc-linux-gnu-3.4.4
  [3] i686-pc-linux-gnu-3.4.4-hardened
  [4] i686-pc-linux-gnu-3.4.4-hardenednopie
  [5] i686-pc-linux-gnu-3.4.4-hardenednopiessp
  [6] i686-pc-linux-gnu-3.4.4-hardenednossp
  [7] i686-pc-linux-gnu-4.1.2
  [8] i686-pc-linux-gnu-4.3.2 *
 dragonfly ~ #
 

emerge -C =cat/pack-ver

-- 
Jake Todd
// If it isn't broke, tweak it!


pgpjxGy8cIuwz.pgp
Description: PGP signature


Re: [gentoo-user] portage and library troubles with GL

2009-08-01 Thread Kevin O'Gorman
On Sat, Aug 1, 2009 at 6:06 PM, Kenneth Prughken69...@gmail.com wrote:
 On Sat, 1 Aug 2009 14:19:52 -0700
 Kevin O'Gorman kogor...@gmail.com wrote:

 [...]

 Are the packages looking for a .la file? I had a problem on my system
 that it wanted a nonexistant opengl.la or something similar. I ended up
 fixing it by emerging dev-util/lafilefixer and running it
 over /usr/lib/.

 This is a wild guess though as you didn't post what the other programs
 were erroring out with, I could be completely off target with the .la
 file thing.



I have not seen anything about .la files.  It has been a GL library
mostly, much like the sample I posted.
I'm going to remember that fixer, though.  I've had that in the past.
I re-emerged mesa and I'm re-running revdep-rebuild right now just in
case.  Well see...

++ kevin

-- 
Kevin O'Gorman, PhD



Re: [gentoo-user] portage and library troubles with GL

2009-08-01 Thread Kevin O'Gorman
On Sat, Aug 1, 2009 at 8:53 PM, Kevin O'Gormankogor...@gmail.com wrote:
 On Sat, Aug 1, 2009 at 6:06 PM, Kenneth Prughken69...@gmail.com wrote:
 On Sat, 1 Aug 2009 14:19:52 -0700
 Kevin O'Gorman kogor...@gmail.com wrote:

 [...]

 Are the packages looking for a .la file? I had a problem on my system
 that it wanted a nonexistant opengl.la or something similar. I ended up
 fixing it by emerging dev-util/lafilefixer and running it
 over /usr/lib/.

 This is a wild guess though as you didn't post what the other programs
 were erroring out with, I could be completely off target with the .la
 file thing.



 I have not seen anything about .la files.  It has been a GL library
 mostly, much like the sample I posted.
 I'm going to remember that fixer, though.  I've had that in the past.
 I re-emerged mesa and I'm re-running revdep-rebuild right now just in
 case.  Well see...

No such luck.  It just errored out in exactly the same way.

So I've got a busted gentoo.  That's twice this summer, and it's
making me grumpy.

I could do the emptytree thing.  Or I could build a replacement in a
spare partition.
They're probably about the same amount of work, but I really don't
want to do it.

++ kevin

-- 
Kevin O'Gorman, PhD



[gentoo-user] DOS VIM permissions problem under DOSEMU

2009-08-01 Thread Walter Dnes
  I don't want to get into a flamewar over this, but I'm working on
Fortran 77 program for a personal project.  Because the gcc maintainers
gave up on F77, and f95 is partial superset that deprecates some F77
stuff, I'm trying to do this with the DJGPP g77 compiler under DOS
emulation.  g77 dies under DOSBOX, so I switched to DOSEMU.  I've been
able to test-build Hello World and was itching to get started.  I
really don't like DOS EDIT (and it's memory constrained), and I love
VIM.  So the 32-bit DOS version of VIM seemed a natural choice within
DOSEMU.  But any attempt to save a file after editing causes error
messages galore, and wipes out the original file (OUCH!).  A bit of
detective work shows that DOS VIM starts off with zero-byte files that
have weird permissions, like so...

waltd...@d530 ~/.dosemu/drive_c/tmp $ ll
total 0
drwxr-xr-x 2 waltdnes users 104 Aug  1 20:59 .
drwxr-xr-x 8 waltdnes users 336 Aug  1 21:01 ..
-r--r--r-- 1 waltdnes users   0 Aug  1 18:08 VIEW.BAT~
-r--rw-r-- 1 waltdnes users   0 Aug  1 20:59 hw.for~

  Needless to say, it cannot save to read-only files.  I've already
tried monkeying with umask, with no effect.

  For now, I use an xterm with linux VIM editing the DOS files, and
DOSEMU runs in another window, where I do the compile and test runs.
Yeah, it works, but I'd prefer an all-in-one solution.

-- 
Walter Dnes waltd...@waltdnes.org