Re: [gentoo-user] mysterious syslog message .

2010-02-03 Thread Neil Bothwick
On Wed, 03 Feb 2010 08:57:19 +0930, Iain Buchanan wrote:

  b. use wicd instead, which is decidedly not a piece of shit  
 
 I had a look at that, but it doesn't do 2 things that I use
 NetworkManager for:
  1. mobile broadband (essential for on the road)

True, it's been on todo for a while. It's no longer an issue for me now
as I use a Mi-Fi 3G modem, which connects to the computer via WiFi
instead of having a dongle sticking out the side waiting to be knocked
off.

  2. NetworkManager sends dbus messages that evolution uses to toggle
 its online / offline state.  I was sick of forever waiting for
 evolution to time out because I'd gone offline.  (Granted, you
 may think evolution is another POS, but it does certain things
 that no other mail client can do, but that's another story)

Wicd can run any command or script you want before and after going on and
offline.


-- 
Neil Bothwick

-Come, come, why they couldn't hit an elephant from this dist-


signature.asc
Description: PGP signature


Re: [gentoo-user] baselayout2/openrc question

2010-02-03 Thread Neil Bothwick
On Tue, 02 Feb 2010 18:09:08 -0600, Dale wrote:

 In my opinion, the old portage was good, the new one is even better.  
 Now if the next version will prevent a person from borking their
 system, that would be heaven.  lol  You know, unmerge python and see
 what happens.  Yes, you can still unmerge python, even the only version
 you have left, and portage not say a darn thing.  It kills the heck out
 of portage tho. 

Portage gives you a big red warning if you try to do this, but it
doesn't, and shouldn't, try to stop you. What if you really want to
remove Python? Postage is not the only package manager, so python is not
compulsory.


-- 
Neil Bothwick

Time is the best teacher., unfortunately it kills all the students


signature.asc
Description: PGP signature


Re: [gentoo-user] Gracefully shut down program by request through ssh?

2010-02-03 Thread Neil Bothwick
On Tue, 2 Feb 2010 19:50:34 -0800, Mark Knecht wrote:

 I didn't have as much luck with VirtualBox that didn't seem to like me
 moving copies from one partition to another. I must go back and give
 that another try as I'd like to be using Open Source but for now
 VMWare is very nice.

VirtualBox isn't fully open source. There is an open source version but
it is crippled compared with the binary release.


-- 
Neil Bothwick

Top Oxymorons Number 37: Sanitary landfill


signature.asc
Description: PGP signature


Re: [gentoo-user] baselayout2/openrc question

2010-02-03 Thread Peter Humphrey
On Tuesday 02 February 2010 20:53:39 Alan McKinnon wrote:

 Whereas willy-nilly mixing stable and unstable is normally condemned as a
  bad idea (with good reason), it generally considered OK with portage for
  the above reason. Portage is self-contained, unmasking it doesn't
  contaminate the system with legions of other unstable $STUFF

...with the one exception* of a couple of eselect packages, which hardly 
counts anyway.

* Is a couple one or two? You decide.

-- 
Rgds
Peter.



Re: [gentoo-user] GNOME: Selecting shut down in the menu sometimes lands me back a gdm login screen.

2010-02-03 Thread Daniel Troeder
On 02/02/2010 06:10 PM, ubiquitous1980 wrote:
 Selecting shut down in the menu sometimes lands me back a gdm login 
 screen.  At other times, the computer shuts down normally.
When I had similar problems it was sometimes because of
permission-problems when talking to some service over the dbus. Check
your ~/.xsession-errors for dbus-send errors.

Just a wild guess :)
Daniel



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] GNOME: Selecting shut down in the menu sometimes lands me back a gdm login screen.

2010-02-03 Thread Alan McKinnon
On Wednesday 03 February 2010 09:15:05 ubiquitous1980 wrote:
 Daniel Troeder wrote:
  On 02/02/2010 06:10 PM, ubiquitous1980 wrote:
  Selecting shut down in the menu sometimes lands me back a gdm login
  screen.  At other times, the computer shuts down normally.
 
  When I had similar problems it was sometimes because of
  permission-problems when talking to some service over the dbus. Check
  your ~/.xsession-errors for dbus-send errors.
 
  Just a wild guess :)
  Daniel
 
 It hasn't done it in the last few reboots, but I have nopasted it:
 http://dpaste.com/154084/ to see if you might find any problems
 

Please don't use short-lived URL shorteners here. This list is archived and 
after a time your posted info goes away and cannot help any future user.

The post was very small anyway and it's perfectly acceptable to insert it in-
line.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] mysterious syslog message .

2010-02-03 Thread Alan McKinnon
On Wednesday 03 February 2010 01:27:19 Iain Buchanan wrote:
 On Wed, 2010-02-03 at 00:05 +0200, Alan McKinnon wrote:
  On Tuesday 02 February 2010 04:06:14 Iain Buchanan wrote:
   The 50k of messages all look like this:
 
  That's definitely not right. Even with full debugging enabled no app
  should emit that amount of logs.
 
 and yet with debugging disabled, there's no cpu usage, so perhaps
 there's just a problem with my syslog-ng rules?
 
  Seeing as we are dealing with networkmanager with it's long history of
  being hard to deal with, I recommend you
 
  a. recognize the truth - that it is a piece of shit
 
 I appreciate the humour, but so far for me, it's Just Worked(TM).  Even
 with this log file annoyance, it's still working.

You're the lucky one :-)

nm seems to work OK on the RedHats and SuSEs of this world, I've not seen many 
folk get it work smoothly on Gentoo

  b. use wicd instead, which is decidedly not a piece of shit
 
 I had a look at that, but it doesn't do 2 things that I use
 NetworkManager for:

In that case, you could retain NetworkManager and tweak your syslogger to 
discard the logs. You'd have to be specific in your MATCH otherwise you might 
toss too many false positives, but we already know you ignore those messages 
anyway
.
  1. mobile broadband (essential for on the road)
  2. NetworkManager sends dbus messages that evolution uses to toggle
 its online / offline state.  I was sick of forever waiting for
 evolution to time out because I'd gone offline.  (Granted, you
 may think evolution is another POS, but it does certain things
 that no other mail client can do, but that's another story)
 
 I found a post that suggested in fact iwlagn wasn't reloading properly
 after a suspend, so I've added UnloadModules iwlagn
 to /etc/hibernate/common.conf and so far I haven't seen the spurious log
 messages (cross my fingers).

Unfortunately, that sounds all too realistic. I gave up trying to use suspend 
some time ago after battling with wirelss and graphics hardware that wouldn't 
suspend/resume reliably. But with 4G of RAM here, I find it doesn't take much 
longer to power down/cold start than suspend/resume
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Gracefully shut down program by request through ssh?

2010-02-03 Thread Mark Knecht
On Wed, Feb 3, 2010 at 1:43 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Tue, 2 Feb 2010 19:50:34 -0800, Mark Knecht wrote:

 I didn't have as much luck with VirtualBox that didn't seem to like me
 moving copies from one partition to another. I must go back and give
 that another try as I'd like to be using Open Source but for now
 VMWare is very nice.

 VirtualBox isn't fully open source. There is an open source version but
 it is crippled compared with the binary release.


 --
 Neil Bothwick

 Top Oxymorons Number 37: Sanitary landfill


Hi Neil,
   I guess that you're correct that it's been crippled a bit but
according to this page it doesn't seem that bad to me:

http://www.virtualbox.org/wiki/Editions

   I don't personally need the USB stuff inside of VB so for me it
might be enough.

   Anyway, if there's no special reason that I cannot build the OSE
version on Gentoo AMD64 stable then I might go ahead and do it just to
see what happens.

Thanks,
Mark



Re: [gentoo-user] baselayout2/openrc question

2010-02-03 Thread Dale

Neil Bothwick wrote:

On Tue, 02 Feb 2010 18:09:08 -0600, Dale wrote:

  
In my opinion, the old portage was good, the new one is even better.  
Now if the next version will prevent a person from borking their

system, that would be heaven.  lol  You know, unmerge python and see
what happens.  Yes, you can still unmerge python, even the only version
you have left, and portage not say a darn thing.  It kills the heck out
of portage tho. 



Portage gives you a big red warning if you try to do this, but it
doesn't, and shouldn't, try to stop you. What if you really want to
remove Python? Postage is not the only package manager, so python is not
compulsory.

  


It doesn't here.  Someone else did the same thing a few weeks ago with 
no warning or didn't mention seeing one at least.  I've read where 
others have done this too.


It just seems to me that portage should keep it so it can work.  It 
needs python to do that.  Since portage is the package manager for 
Gentoo, portage is the one that should be protected. 


Dale

:-)  :-) 



Re: [gentoo-user] Gracefully shut down program by request through ssh?

2010-02-03 Thread Neil Bothwick
On Wed, 3 Feb 2010 09:29:40 -0800, Mark Knecht wrote:

I guess that you're correct that it's been crippled a bit but
 according to this page it doesn't seem that bad to me:
 
 http://www.virtualbox.org/wiki/Editions
 
I don't personally need the USB stuff inside of VB so for me it
 might be enough.

It seems a little underhand to me, either its open source or it isn't.
There's no good technical reason to not release the USB source, only
commercial reasons.


-- 
Neil Bothwick

The quickest way to a man's heart is through his sternum.


signature.asc
Description: PGP signature


Re: [gentoo-user] baselayout2/openrc question

2010-02-03 Thread Neil Bothwick
On Wed, 03 Feb 2010 12:07:33 -0600, Dale wrote:

  Portage gives you a big red warning if you try to do this, but it
  doesn't, and shouldn't, try to stop you. What if you really want to
  remove Python? Postage is not the only package manager, so python is
  not compulsory.


 It doesn't here.  Someone else did the same thing a few weeks ago with 
 no warning or didn't mention seeing one at least.  I've read where 
 others have done this too.
have changed.
You're right. It used to do this if you tried to remove anything from
@system, but this appears to 

 It just seems to me that portage should keep it so it can work.  It 
 needs python to do that.  Since portage is the package manager for 
 Gentoo, portage is the one that should be protected. 

Portage is A package manager, but if you are using portage to remove
packages, it should be intelligent about removing its own dependencies.

Taken more globally, maybe portage should warn whenever you are trying to
remove a package that is a dependency of anything in @world.


-- 
Neil Bothwick

Computers are like Old Testament gods; lots of rules and no mercy.


signature.asc
Description: PGP signature


[gentoo-user] How can I find all hard-links and soft-links?

2010-02-03 Thread Jarry

Hi,

just out of curiosity: is there any quick way to find all
hard- and soft-links on a system? I just want to be sure
they were all created after I moved system from the old disk
to the new one...

Jarry
--
___
This mailbox accepts e-mails only from selected mailing-lists!
Everything else is considered to be spam and therefore deleted.



Re: [gentoo-user] How can I find all hard-links and soft-links?

2010-02-03 Thread dhk
Jarry wrote:
 Hi,
 
 just out of curiosity: is there any quick way to find all
 hard- and soft-links on a system? I just want to be sure
 they were all created after I moved system from the old disk
 to the new one...
 
 Jarry


I think everything falls under the category of a hard or soft link.  The
following commands may help.

This will print everything that has more than zero (one or more) links.
  find / -links +0

This will print all symbolic links.
  find / -type l

This should print all broken links from the current directory down:
notice no / or path.
  find -L -type l

I would recommend testing these in /tmp or in a subdirectory first
before running them from /.

dhk




Re: [gentoo-user] How can I find all hard-links and soft-links?

2010-02-03 Thread Alan McKinnon
On Wednesday 03 February 2010 20:37:36 Jarry wrote:
 Hi,
 
 just out of curiosity: is there any quick way to find all
 hard- and soft-links on a system? I just want to be sure
 they were all created after I moved system from the old disk
 to the new one...


Soft links are easy

app-misc/symlinks and/or find / -type l will do the job nicely.

Hard links are much harder to find. They are files, nothing more, nothing 
less, so you have to examine the link count:

find / -type f -links +1 -ls

ought to do it. It will not tell you what else links to a given dentry, you 
have to eyeball the entire jigsaw puzzle to piece that together. Sort the 
output by file size, if you find 5 entries with a link count of 5 and the same 
size and timestamps, they are probably all hardlinked to the same inode.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] baselayout2/openrc question

2010-02-03 Thread Alan McKinnon
On Wednesday 03 February 2010 20:07:33 Dale wrote:
 Neil Bothwick wrote:
  On Tue, 02 Feb 2010 18:09:08 -0600, Dale wrote:
  In my opinion, the old portage was good, the new one is even better.
  Now if the next version will prevent a person from borking their
  system, that would be heaven.  lol  You know, unmerge python and see
  what happens.  Yes, you can still unmerge python, even the only version
  you have left, and portage not say a darn thing.  It kills the heck out
  of portage tho.
 
  Portage gives you a big red warning if you try to do this, but it
  doesn't, and shouldn't, try to stop you. What if you really want to
  remove Python? Postage is not the only package manager, so python is not
  compulsory.
 
 It doesn't here.  Someone else did the same thing a few weeks ago with
 no warning or didn't mention seeing one at least.  I've read where
 others have done this too.
 
 It just seems to me that portage should keep it so it can work.  It
 needs python to do that.  Since portage is the package manager for
 Gentoo, portage is the one that should be protected.


Portage is not the package manager for Gentoo. It is *A* package manager for 
Gentoo.

Trying to assign it some special exalted status will always get you in trouble 
when trying to understand why things are the way they are. The only special 
thing about portage is that it carries officially supported status.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] baselayout2/openrc question

2010-02-03 Thread Alan McKinnon
On Wednesday 03 February 2010 20:31:31 Neil Bothwick wrote:
  It just seems to me that portage should keep it so it can work.  It 
  needs python to do that.  Since portage is the package manager for 
  Gentoo, portage is the one that should be protected. 
 
 Portage is A package manager, but if you are using portage to remove
 packages, it should be intelligent about removing its own dependencies.
 
 Taken more globally, maybe portage should warn whenever you are trying to
 remove a package that is a dependency of anything in @world.
 
Could be useful if implemented with an off switch

Or leave it off by default, users can enable it in make.conf if they wish. I 
often unmerge deps of things in world, but I know (usually) what I'm doing and 
will follow up with a --deep later. Annoying Are you sure? Are you REALLY 
sure? might make me switch to Ubuntu :-)



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How can I find all hard-links and soft-links?

2010-02-03 Thread Stefan Schulte
Hi Jarry,

searching for softlinks is pretty easy:

find / -type l

If my understanding of hardlinks is correct you cannot say which file is
the original and which file is the link. Both inodes just point to the
same datablocks. But you can identify those files by checking the
linkcount.

find / -type f -links '+1'

-Stefan

On Wed, Feb 03, 2010 at 07:37:36PM +0100, Jarry wrote:
 Hi,
 
 just out of curiosity: is there any quick way to find all
 hard- and soft-links on a system? I just want to be sure
 they were all created after I moved system from the old disk
 to the new one...
 
 Jarry
 -- 
 ___
 This mailbox accepts e-mails only from selected mailing-lists!
 Everything else is considered to be spam and therefore deleted.
 


pgpjolqEkBy2P.pgp
Description: PGP signature


Re: [gentoo-user] How can I find all hard-links and soft-links?

2010-02-03 Thread Alan McKinnon
On Wednesday 03 February 2010 21:43:31 Stefan Schulte wrote:
 Hi Jarry,
 
 searching for softlinks is pretty easy:
 
 find / -type l
 
 If my understanding of hardlinks is correct you cannot say which file is
 the original and which file is the link.

It's worse than that - the concept of original and the link simply does 
not exist at all.

Like invisible pink unicorns; you can't say you can't see them so you can't 
say if it's there or not. The truth is There are no invisible pink unicorns

 Both inodes just point to the
 same datablocks. But you can identify those files by checking the
 linkcount.
 
 find / -type f -links '+1'
 
 -Stefan
 
 On Wed, Feb 03, 2010 at 07:37:36PM +0100, Jarry wrote:
  Hi,
 
  just out of curiosity: is there any quick way to find all
  hard- and soft-links on a system? I just want to be sure
  they were all created after I moved system from the old disk
  to the new one...
 
  Jarry
 

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Gracefully shut down program by request through ssh?

2010-02-03 Thread Mark Knecht
On Wed, Feb 3, 2010 at 10:28 AM, Neil Bothwick n...@digimed.co.uk wrote:
 On Wed, 3 Feb 2010 09:29:40 -0800, Mark Knecht wrote:

    I guess that you're correct that it's been crippled a bit but
 according to this page it doesn't seem that bad to me:

 http://www.virtualbox.org/wiki/Editions

    I don't personally need the USB stuff inside of VB so for me it
 might be enough.

 It seems a little underhand to me, either its open source or it isn't.
 There's no good technical reason to not release the USB source, only
 commercial reasons.


 --
 Neil Bothwick

 The quickest way to a man's heart is through his sternum.

I agree, but it may be that Sun had licensed stuff like this from
someone else prior to making the project Open Source and cannot
release it.

It would be great if it got rewritten from scratch by someone not
involved so that it could be 100% Open Source, but practically
speaking it won't be an issue in terms of running the platform for
most people today.

I didn't like some of the language on that page where they said:

It is functionally equivalent to the full VirtualBox package, except
for a few features that primarily target enterprise customers.

I don't like it when they say 'functionally equivalent' as it makes me
think it's not __exactly__ the same code. There may have been other
portions of the code they couldn't release into Open Source so some of
it has been rewritten already

- Mark



Re: [gentoo-user] How can I find all hard-links and soft-links?

2010-02-03 Thread Stefan Schulte
Yeah, you're right. And I think I have to correct myself. You don't have
two inodes, you have two directoryentries pointing to the same inode. So
if you want to find corresponding files, you can sort by inodenumber:

find /usr/bin -type f -links '+1' -print0 | xargs -0 ls -li | sort -n

On Wed, Feb 03, 2010 at 10:02:37PM +0200, Alan McKinnon wrote:
 On Wednesday 03 February 2010 21:43:31 Stefan Schulte wrote:
  Hi Jarry,
  
  searching for softlinks is pretty easy:
  
  find / -type l
  
  If my understanding of hardlinks is correct you cannot say which file is
  the original and which file is the link.
 
 It's worse than that - the concept of original and the link simply does 
 not exist at all.
 
 Like invisible pink unicorns; you can't say you can't see them so you can't 
 say if it's there or not. The truth is There are no invisible pink unicorns
 
  Both inodes just point to the
  same datablocks. But you can identify those files by checking the
  linkcount.
  
  find / -type f -links '+1'
  
  -Stefan
  
  On Wed, Feb 03, 2010 at 07:37:36PM +0100, Jarry wrote:
   Hi,
  
   just out of curiosity: is there any quick way to find all
   hard- and soft-links on a system? I just want to be sure
   they were all created after I moved system from the old disk
   to the new one...
  
   Jarry
  
 
 -- 
 alan dot mckinnon at gmail dot com
 


pgptp35soYo6Z.pgp
Description: PGP signature


[gentoo-user] revdep-rebuild keeps reinstalling binutils

2010-02-03 Thread Harry Putnam
After todays update world, I run revdep-rebuild which reports binutils
broken and uses  `oneshot' to reinstall it.  Follow with another
revdep-rebuild and it finds the same thing.

Anyone seen something similar or have an idea what might be the problem?  




Re: [gentoo-user] revdep-rebuild keeps reinstalling binutils

2010-02-03 Thread Alan McKinnon
On Wednesday 03 February 2010 23:45:00 Harry Putnam wrote:
 After todays update world, I run revdep-rebuild which reports binutils
 broken and uses  `oneshot' to reinstall it.  Follow with another
 revdep-rebuild and it finds the same thing.
 
 Anyone seen something similar or have an idea what might be the problem?

full output from revdep-rebuild?

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] revdep-rebuild keeps reinstalling binutils

2010-02-03 Thread Steven
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

On 15:45/02/03/10, Harry Putnam wrote:
 After todays update world, I run revdep-rebuild which reports binutils
 broken and uses  `oneshot' to reinstall it.  Follow with another
 revdep-rebuild and it finds the same thing.
 
 Anyone seen something similar or have an idea what might be the problem?  


Sounds like your haveing a similar problem to what I have been haveing
for the last few weeks now. Can you post the output of revdep-rebuild.
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (GNU/Linux)

iF4EAREIAAYFAktp9M4ACgkQpSa/g4Qb1ZlxfwD/XGRzyLO+2tFs5ZyfU7s3Aj3u
gOFbNS5daghWSpahrL8A/0R1fGvJLrges3AhXYBcyWwz8LgCHx+lw8gmzPbG8dg9
=2L6r
-END PGP SIGNATURE-



Re: [gentoo-user] GNOME: Selecting shut down in the menu sometimes lands me back a gdm login screen.

2010-02-03 Thread ubiquitous1980
Alan McKinnon wrote:
 On Wednesday 03 February 2010 09:15:05 ubiquitous1980 wrote:
   
 Daniel Troeder wrote:
 
 On 02/02/2010 06:10 PM, ubiquitous1980 wrote:
   
 Selecting shut down in the menu sometimes lands me back a gdm login
 screen.  At other times, the computer shuts down normally.
 
 When I had similar problems it was sometimes because of
 permission-problems when talking to some service over the dbus. Check
 your ~/.xsession-errors for dbus-send errors.

 Just a wild guess :)
 Daniel
   
 It hasn't done it in the last few reboots, but I have nopasted it:
 http://dpaste.com/154084/ to see if you might find any problems

 

 Please don't use short-lived URL shorteners here. This list is archived and 
 after a time your posted info goes away and cannot help any future user.

 The post was very small anyway and it's perfectly acceptable to insert it in-
 line.

   
No worries Alan.  Here are the full details of that config file.

/etc/X11/gdm/Xsession: Beginning session setup...
which: no keychain in
(/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4:/usr/lib64/subversion/bin:/usr/games/bin)
/etc/X11/gdm/Xsession: Setup done, will execute: gnome-session
GNOME_KEYRING_SOCKET=/tmp/keyring-OaCPoA/socket
SSH_AUTH_SOCK=/tmp/keyring-OaCPoA/socket.ssh
shm_open() failed: Permission denied
Window manager warning: Failed to read saved session file
/home/ubiquitous1980/.config/metacity/sessions/10f50da8e07be8ee3112651893384549780046660017.ms:
Failed to open file
'/home/ubiquitous1980/.config/metacity/sessions/10f50da8e07be8ee3112651893384549780046660017.ms':
No such file or directory

(gnome-settings-daemon:4705): GLib-GObject-CRITICAL **:
g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed

(gnome-settings-daemon:4705): GLib-GObject-CRITICAL **:
g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
** Message: NumLock remembering disabled because hostname is set to
localhost
shm_open() failed: Permission denied
shm_open() failed: Permission denied
shm_open() failed: Permission denied
shm_open() failed: Permission denied
** (gnome-volume-control-applet:4822): DEBUG: Disabling debugging
shm_open() failed: Permission denied
shm_open() failed: Permission denied
shm_open() failed: Permission denied
Failure: Module initalization failed

** (nm-applet:4811): WARNING **: WARN  request_name(): Could not
acquire the session service as it is already taken.  Return: 3


** (nm-applet:4811): WARNING **: WARN  constructor(): Couldn't
initialize the D-Bus manager.

** Message: Initializing gksu extension...

(gnome-panel:4771): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
to allocate widget with width -9 and height 24
Unable to open desktop file epiphany.desktop for panel launcher
Unable to open desktop file evolution.desktop for panel launcher

** (nautilus:4792): WARNING **: Unable to add monitor: Not supported

** (nautilus:4792): WARNING **: Unable to add monitor: Not supported
error: option --qt not a unique prefix

HP Linux Imaging and Printing System (ver. 2.8.6b)
System Tray Status Service ver. 0.1

Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
This software comes with ABSOLUTELY NO WARRANTY.
This is free software, and you are welcome to distribute it
under certain conditions. See COPYING file for more details.



Usage: hp-systray [OPTIONS]

[OPTIONS]
  Force Qt3:  --qt3 (default)  
  Force Qt4:  --qt4
  Startup even if no  -x or --force-startup
  hplip CUPS queues
  are present: 
  Set the logging -llevel or --logging=level   
  level:   
  level: none, info*, error, warn, debug (*default)  
  Run in debug mode:  -g (same as option: -ldebug) 
  This help   -h or --help 
  information: 



** (gnome-settings-daemon:4705): WARNING **: No screensaver available
No running windows found
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message
with a timestamp of 0 for 0x2200045 (Mozilla Fi)
Window manager warning: meta_window_activate called by a pager with a 0
timestamp; the pager needs to be fixed.
Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message
with a timestamp of 0 for 0x2200045 (Mozilla Fi)
Window manager warning: meta_window_activate called by a pager with a 0
timestamp; the pager needs to be fixed.






Re: [gentoo-user] baselayout2/openrc question

2010-02-03 Thread Dale

Alan McKinnon wrote:

On Wednesday 03 February 2010 20:07:33 Dale wrote:
  

Neil Bothwick wrote:


On Tue, 02 Feb 2010 18:09:08 -0600, Dale wrote:
  

In my opinion, the old portage was good, the new one is even better.
Now if the next version will prevent a person from borking their
system, that would be heaven.  lol  You know, unmerge python and see
what happens.  Yes, you can still unmerge python, even the only version
you have left, and portage not say a darn thing.  It kills the heck out
of portage tho.


Portage gives you a big red warning if you try to do this, but it
doesn't, and shouldn't, try to stop you. What if you really want to
remove Python? Postage is not the only package manager, so python is not
compulsory.
  

It doesn't here.  Someone else did the same thing a few weeks ago with
no warning or didn't mention seeing one at least.  I've read where
others have done this too.

It just seems to me that portage should keep it so it can work.  It
needs python to do that.  Since portage is the package manager for
Gentoo, portage is the one that should be protected.




Portage is not the package manager for Gentoo. It is *A* package manager for 
Gentoo.


Trying to assign it some special exalted status will always get you in trouble 
when trying to understand why things are the way they are. The only special 
thing about portage is that it carries officially supported status.


  


That was my point.  Someone else can make a package manager if they want 
to but portage is the official Gentoo package manager.  As far as I 
know, portage has always been Gentoo's package manager.  I been here 
since 1.4 so while it is possible that I missed it but somewhat doubtful.


Dale

:-)  :-) 



Re: [gentoo-user] Gracefully shut down program by request through ssh?

2010-02-03 Thread Neil Bothwick
On Wed, 3 Feb 2010 12:09:57 -0800, Mark Knecht wrote:

  It seems a little underhand to me, either its open source or it isn't.
  There's no good technical reason to not release the USB source, only
  commercial reasons.

 I agree, but it may be that Sun had licensed stuff like this from
 someone else prior to making the project Open Source and cannot
 release it.

That's possible, but reading what they say about it makes me doubt that,
that this was a choice they made.

 I didn't like some of the language on that page where they said:
 
 It is functionally equivalent to the full VirtualBox package, except
 for a few features that primarily target enterprise customers.

Since when was USB storage primarily for Enterprise users?

 I don't like it when they say 'functionally equivalent' as it makes me
 think it's not __exactly__ the same code.

Good point. This seems more like crippleware masquerading as open source.


-- 
Neil Bothwick

A snooze button is a poor substitute for no alarm clock at all.


signature.asc
Description: PGP signature


Re: [gentoo-user] baselayout2/openrc question

2010-02-03 Thread Neil Bothwick
On Wed, 3 Feb 2010 21:29:30 +0200, Alan McKinnon wrote:

  Taken more globally, maybe portage should warn whenever you are
  trying to remove a package that is a dependency of anything in
  @world.  
  
 Could be useful if implemented with an off switch
 
 Or leave it off by default, users can enable it in make.conf if they
 wish. I often unmerge deps of things in world, but I know (usually)
 what I'm doing and will follow up with a --deep later. Annoying Are
 you sure? Are you REALLY sure? might make me switch to Ubuntu :-)

A command line argument (--force?) would be fine, but you can't complain
it's annoying when you have just complained that portage doesn't do this.
Either you want to be able to shoot yourself in the foot or you don't.


-- 
Neil Bothwick

Cross-country skiing is great in small countries.


signature.asc
Description: PGP signature


Re: [gentoo-user] mysterious syslog message .

2010-02-03 Thread Iain Buchanan
On Wed, 2010-02-03 at 09:37 +, Neil Bothwick wrote:
 On Wed, 03 Feb 2010 08:57:19 +0930, Iain Buchanan wrote:
 
   b. use wicd instead, which is decidedly not a piece of shit  
  
  I had a look at that, but it doesn't do 2 things that I use
  NetworkManager for:
   1. mobile broadband (essential for on the road)
 
 True, it's been on todo for a while. It's no longer an issue for me now
 as I use a Mi-Fi 3G modem, which connects to the computer via WiFi
 instead of having a dongle sticking out the side waiting to be knocked
 off.

And how do you power it on the road?  Much more hungry to have 2x wifi
going than one usb 3G modem (imho) and many netbooks are integrating
them so you won't have the dongle sticking out any more.

   2. NetworkManager sends dbus messages that evolution uses to toggle
  its online / offline state.  I was sick of forever waiting for
  evolution to time out because I'd gone offline.  (Granted, you
  may think evolution is another POS, but it does certain things
  that no other mail client can do, but that's another story)
 
 Wicd can run any command or script you want before and after going on and
 offline.

you're suggestions on exactly what script to run to tell the current evo
process to go offline immediately is welcome :)  I couldn't figure it
out, but no doubt theres some way I could emulate the dbus message from
NetworkManager...

-- 
Iain Buchanan iaindb at netspace dot net dot au

America: born free and taxed to death.




Re: [gentoo-user] mysterious syslog message .

2010-02-03 Thread Iain Buchanan
On Wed, 2010-02-03 at 18:57 +0200, Alan McKinnon wrote:
 On Wednesday 03 February 2010 01:27:19 Iain Buchanan wrote:

  I appreciate the humour, but so far for me, it's Just Worked(TM).  Even
  with this log file annoyance, it's still working.
 
 You're the lucky one :-)
 
 nm seems to work OK on the RedHats and SuSEs of this world, I've not seen 
 many 
 folk get it work smoothly on Gentoo

Wow, I must remember to buy a lottery ticket on the way home :)
Seriously, it was just emerge and go!

  I found a post that suggested in fact iwlagn wasn't reloading properly
  after a suspend, so I've added UnloadModules iwlagn
  to /etc/hibernate/common.conf and so far I haven't seen the spurious log
  messages (cross my fingers).
 
 Unfortunately, that sounds all too realistic. I gave up trying to use suspend 
 some time ago after battling with wirelss and graphics hardware that wouldn't 
 suspend/resume reliably. But with 4G of RAM here, I find it doesn't take much 
 longer to power down/cold start than suspend/resume

really?  4G RAM, Core 2 Duo T9500 @ 2.60GHz here, and hibernate is much
faster.  Do you have an SSD?  Resuming with gnome, compiz, firefox, etc.
already loaded is supremely better than my boot up AND log-in time
otherwise.

-- 
Iain Buchanan iaindb at netspace dot net dot au

Pets are always a great help in times of stress. And in times of
starvation too, o'course.
-- (Terry Pratchett, Small Gods)




Re: [gentoo-user] GNOME: Selecting shut down in the menu sometimes lands me back a gdm login screen.

2010-02-03 Thread Daniel Troeder
On 02/03/2010 05:50 PM, ubiquitous1980 wrote:
 Alan McKinnon wrote:
 On Wednesday 03 February 2010 09:15:05 ubiquitous1980 wrote:
   
 Daniel Troeder wrote:
 
 On 02/02/2010 06:10 PM, ubiquitous1980 wrote:
   
 Selecting shut down in the menu sometimes lands me back a gdm login
 screen.  At other times, the computer shuts down normally.
 
 When I had similar problems it was sometimes because of
 permission-problems when talking to some service over the dbus. Check
 your ~/.xsession-errors for dbus-send errors.

 Just a wild guess :)
 Daniel
   
 It hasn't done it in the last few reboots, but I have nopasted it:
 http://dpaste.com/154084/ to see if you might find any problems

 

 Please don't use short-lived URL shorteners here. This list is archived and 
 after a time your posted info goes away and cannot help any future user.

 The post was very small anyway and it's perfectly acceptable to insert it in-
 line.

   
 No worries Alan.  Here are the full details of that config file.
 
 /etc/X11/gdm/Xsession: Beginning session setup...
 which: no keychain in
 (/usr/local/bin:/usr/bin:/bin:/opt/bin:/usr/x86_64-pc-linux-gnu/gcc-bin/4.3.4:/usr/lib64/subversion/bin:/usr/games/bin)
 /etc/X11/gdm/Xsession: Setup done, will execute: gnome-session
 GNOME_KEYRING_SOCKET=/tmp/keyring-OaCPoA/socket
 SSH_AUTH_SOCK=/tmp/keyring-OaCPoA/socket.ssh
 shm_open() failed: Permission denied
 Window manager warning: Failed to read saved session file
 /home/ubiquitous1980/.config/metacity/sessions/10f50da8e07be8ee3112651893384549780046660017.ms:
 Failed to open file
 '/home/ubiquitous1980/.config/metacity/sessions/10f50da8e07be8ee3112651893384549780046660017.ms':
 No such file or directory
 
 (gnome-settings-daemon:4705): GLib-GObject-CRITICAL **:
 g_param_spec_flags: assertion `G_TYPE_IS_FLAGS (flags_type)' failed
 
 (gnome-settings-daemon:4705): GLib-GObject-CRITICAL **:
 g_object_class_install_property: assertion `G_IS_PARAM_SPEC (pspec)' failed
 ** Message: NumLock remembering disabled because hostname is set to
 localhost
 shm_open() failed: Permission denied
 shm_open() failed: Permission denied
 shm_open() failed: Permission denied
 shm_open() failed: Permission denied
 ** (gnome-volume-control-applet:4822): DEBUG: Disabling debugging
 shm_open() failed: Permission denied
 shm_open() failed: Permission denied
 shm_open() failed: Permission denied
 Failure: Module initalization failed
 
 ** (nm-applet:4811): WARNING **: WARN  request_name(): Could not
 acquire the session service as it is already taken.  Return: 3
 
 
 ** (nm-applet:4811): WARNING **: WARN  constructor(): Couldn't
 initialize the D-Bus manager.
 
 ** Message: Initializing gksu extension...
 
 (gnome-panel:4771): Gtk-WARNING **: gtk_widget_size_allocate(): attempt
 to allocate widget with width -9 and height 24
 Unable to open desktop file epiphany.desktop for panel launcher
 Unable to open desktop file evolution.desktop for panel launcher
 
 ** (nautilus:4792): WARNING **: Unable to add monitor: Not supported
 
 ** (nautilus:4792): WARNING **: Unable to add monitor: Not supported
 error: option --qt not a unique prefix
 
 HP Linux Imaging and Printing System (ver. 2.8.6b)
 System Tray Status Service ver. 0.1
 
 Copyright (c) 2001-8 Hewlett-Packard Development Company, LP
 This software comes with ABSOLUTELY NO WARRANTY.
 This is free software, and you are welcome to distribute it
 under certain conditions. See COPYING file for more details.
 
 
 
 Usage: hp-systray [OPTIONS]
 
 [OPTIONS]
   Force Qt3:  --qt3 (default)  
   Force Qt4:  --qt4
   Startup even if no  -x or --force-startup
   hplip CUPS queues
   are present: 
   Set the logging -llevel or --logging=level   
   level:   
   level: none, info*, error, warn, debug (*default)  
   Run in debug mode:  -g (same as option: -ldebug) 
   This help   -h or --help 
   information: 
 
 
 
 ** (gnome-settings-daemon:4705): WARNING **: No screensaver available
 No running windows found
 Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message
 with a timestamp of 0 for 0x2200045 (Mozilla Fi)
 Window manager warning: meta_window_activate called by a pager with a 0
 timestamp; the pager needs to be fixed.
 Window manager warning: Buggy client sent a _NET_ACTIVE_WINDOW message
 with a timestamp of 0 for 0x2200045 (Mozilla Fi)
 Window manager warning: meta_window_activate called by a pager with a 0
 timestamp; the pager needs to be fixed.
 It hasn't done it in the last few reboots, 

Re: [gentoo-user] baselayout2/openrc question

2010-02-03 Thread Dale

Neil Bothwick wrote:

On Wed, 3 Feb 2010 21:29:30 +0200, Alan McKinnon wrote:

  

Taken more globally, maybe portage should warn whenever you are
trying to remove a package that is a dependency of anything in
@world.  
  
 
Could be useful if implemented with an off switch


Or leave it off by default, users can enable it in make.conf if they
wish. I often unmerge deps of things in world, but I know (usually)
what I'm doing and will follow up with a --deep later. Annoying Are
you sure? Are you REALLY sure? might make me switch to Ubuntu :-)



A command line argument (--force?) would be fine, but you can't complain
it's annoying when you have just complained that portage doesn't do this.
Either you want to be able to shoot yourself in the foot or you don't.

  


I agree with this.  I like the idea of --force.  It would let portage 
know that you are aware of what you are doing.  Thing is, sometimes new 
people remove python and they don't know YET that portage has to have 
python.  They find that out afterwards. 

Thing is, if you try to unmerge portage, it will tell you it will break 
stuff.  Removing portage can be recovered from easily.  We don't really 
need a warning for that.  You just untar the thing and carry on.  
Removing python is not that simple unless you happen to have a binary 
saved.  The bad thing is, since python is not a system package, it 
doesn't even save the last compiled binary in /usr/portage/packages/All/ 
if you only have buildsyspkg in make.conf.  It does portage but not 
python.  If you want to have python saved, you have to do it manually or 
set buildpkg in make.conf which will save a copy of EVERYTHING.  That 
would include the world packages as well.


I seriously doubt the devs will change any of this anytime soon tho.  
This is pretty much a mute point.


Dale

:-)  :-) 



[gentoo-user] mplayer does not have man page output info is chinese

2010-02-03 Thread Xi Shen
hi,

my system is gentoo amd64. my /etc/env.d/01locale is empty. after i
compiled mplayer, the output info is chinese, and i cannot read it
console, even though i can read it in the xterm. how to make the
output to english?

in my /etc/locale.gen file, i do have chinese support.


and, my mplayer does not have man page. i tried to add the 'doc' use
flag, but it does not have affect.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



Re: [gentoo-user] mplayer does not have man page output info is chinese

2010-02-03 Thread Xi Shen
On Thu, Feb 4, 2010 at 12:07 PM, Xi Shen davidshe...@googlemail.com wrote:
 hi,

 my system is gentoo amd64. my /etc/env.d/01locale is empty. after i
 compiled mplayer, the output info is chinese, and i cannot read it
 console, even though i can read it in the xterm. how to make the
 output to english?

 in my /etc/locale.gen file, i do have chinese support.


 and, my mplayer does not have man page. i tried to add the 'doc' use
 flag, but it does not have affect.


 --
 Best Regards,
 David Shen

 http://twitter.com/davidshen84/



ok, i figured it out myself. i double checked my environment, and
found that the LC_CTYPE was set the en_US.UTF8. but i do not
understand why it compiles my 'mplayer' to display chinese. after i
changed the LC_CTYPE value to en_US and recompile 'mplayer', the
output info becomes english, and the man page is back.


-- 
Best Regards,
David Shen

http://twitter.com/davidshen84/



[gentoo-user] Re: mplayer does not have man page output info is chinese

2010-02-03 Thread Nikos Chantziaras

On 02/04/2010 06:50 AM, Xi Shen wrote:

On Thu, Feb 4, 2010 at 12:07 PM, Xi Shendavidshe...@googlemail.com  wrote:

hi,

my system is gentoo amd64. my /etc/env.d/01locale is empty. after i
compiled mplayer, the output info is chinese, and i cannot read it
console, even though i can read it in the xterm. how to make the
output to english?

in my /etc/locale.gen file, i do have chinese support.


and, my mplayer does not have man page. i tried to add the 'doc' use
flag, but it does not have affect.


ok, i figured it out myself. i double checked my environment, and
found that the LC_CTYPE was set the en_US.UTF8. but i do not
understand why it compiles my 'mplayer' to display chinese. after i
changed the LC_CTYPE value to en_US and recompile 'mplayer', the
output info becomes english, and the man page is back.


On Gentoo, the languages a program supports is controlled by the list of 
languages specified in the LINGUAS variable in /etc/make.conf.  This is 
because most software can support more than one language. If your 
LINGUAS includes Chinese, mplayer will be compiled with support for Chinese.


The language used when the program is running is controlled by the 
LC_ALL and LANG environment variables.  This is usually set in 
/etc/env.d/02locale.  If you can't see Chinese in your console but can 
in an xterm, that means your console is using a font that does not 
support the encoding of LC_ALL or does not have Chinese characters in 
it. You will need to load a console font with Chinese support. The 
console font is usually specified in /etc/conf.d/consolefont.





[gentoo-user] binutils broken revdep-rebuild

2010-02-03 Thread Steven
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA256

I am having a recurring error for the last few weeks

revdep-rebuild -p

* Configuring search environment for revdep-rebuild

* Checking reverse dependencies
* Packages containing binaries and libraries broken by a package
* update
* will be emerged.

* Collecting system binaries and libraries
* Generated new 1_files.rr
* Collecting complete LD_LIBRARY_PATH
* Generated new 2_ldpath.rr
* Checking dynamic linking consistency
[ 37% ]  *   broken
/usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la (requires
- -liberty)
*   broken
*   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
*   (requires -liberty)
[ 100% ] 
* Generated new 3_broken.rr
* Assigning files to packages
*   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libbfd.la
*   - sys-devel/binutils
*   /usr/lib64/binutils/x86_64-pc-linux-gnu/2.20/libopcodes.la
*   - sys-devel/binutils
* Generated new 4_raw.rr and 4_owners.rr
* Cleaning list of packages to rebuild
* Generated new 4_pkgs.rr
* Assigning packages to ebuilds
* Generated new 4_ebuilds.rr
* Evaluating package order
* Generated new 5_order.rr
* All prepared. Starting rebuild

emerge --oneshot --pretend  sys-devel/binutils:0

I am not to sure how to go about trouble shooting this problem.
Everything seems to be running as usual aside from the revdep-rebuild
broken error.
- -- 
public key @
apartment415.homelinux.com
-BEGIN PGP SIGNATURE-
Version: GnuPG v2.0.14 (GNU/Linux)

iF4EAREIAAYFAktqdBgACgkQpSa/g4Qb1ZnXAwD/VSWifc6i99nZYmg7ke6jgR2N
KI4OUmMokkh+y50IksEA/3IRYTjAY8o7kVbMkQ6+u1xpjnXMRGB8QgPPe1jcSUk4
=KslU
-END PGP SIGNATURE-