Re: [gentoo-user] Baselayout2/OpenRC migration question - dispatch-conf vs etc-update

2011-05-29 Thread Jake Moe
On 05/29/11 02:07, Bill Longman wrote:

 Yes, absolutely. I use cfgupdate too.

 -- 
 Bill Longman
 Sent from my Galaxy S

There was an announcement on the gentoo-announce mailing list that
listed a few different docs for reference.  Among other things, the part
of interest in this discussion was:

After these packages are emerged, it is absolutely critical that you 
immediately update your configuration files with dispatch-conf, 
etc-update or a similar tool [2] then follow the steps in the OpenRC 
Migration Guide [3].

2. http://www.gentoo.org/doc/en/handbook/handbook-amd64.xml?part=3chap=4
3. http://www.gentoo.org/doc/en/openrc-migration.xml

Like Dale, I used etc-update, and on two different laptops (one x86 and
one amd64), which worked without hitch on both.

Jake Moe



Re: [gentoo-user] [OT - More Router Advice] Cheap Router with decent/reliable VLAN support

2011-05-29 Thread Mick
On Sunday 29 May 2011 02:17:24 Pandu Poluan wrote:
 You might want to look into Mikrotik's offering. They are not only
 inexpensive, but they are extremely reliable. Many Internet cafés in
 my country use Mikrotik: they put the device in an outdoor box, and
 stuck it on the pole bearing the wireless antennae connecting the café
 to the ISP. The boxes have endured untold days of heat and cold, and
 nearly all of them survived to this day (barring some who got hit
 directly by lightning).
 
 The documentation is widely available on the 'net, the CLI is much
 more intuitive than Cisco IOS, and their features are on a par with
 the most expensive IOS variant.

Yes, the RouterBoard products are very highly spoken of in my ISP's forums.  
They are considered extremely versatile and powerful, but at more reasonable 
prices that the Ciscos or other professional network gear of this world.

If I were to replace mine I would seriously consider them.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Converting time formats

2011-05-29 Thread Mick
On Sunday 29 May 2011 01:48:17 William Kenworthy wrote:
 On Sat, 2011-05-28 at 11:37 -0500, Dale wrote:
  I asked this once before but I can't find it.  I have a log file that
  has time stamps that look like this:
  
  lastrun = 1306574899
  
  What do I use to get the human time for that?  I thought it was the date
  command but I couldn't find it in the man page.  I tried google but I
  can't recall what that time stamp is called either so not sure what to
  search for.
  
  Could someone enlighten me a little bit here?
  
  Thanks.
  
  Dale
  
  :-)  :-)
 
 As well as your other replies, check out ccze
 
 rattus ~ # esearch ccze
 [ Results for search key : ccze ]
 [ Applications found : 1 ]
 
 *  app-admin/ccze
   Latest version available: 0.2.1-r2
   Latest version installed: 0.2.1-r2
   Size of downloaded files: 136 kB
   Homepage:http://dev.gentoo.org/~joker/ccze/ccze.txt
   Description: A flexible and fast logfile colorizer
   License: GPL-2
 
 
 Pass your log through it for nicely coloured text (words like alarm
 and error are bright red to stand out) as well as converting date
 epoch on the fly, leaving it in context.
 
 BillK

Hmm  

This project is no longer maintained. There's no valid homepage left.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] Converting time formats

2011-05-29 Thread Neil Bothwick
On Sat, 28 May 2011 21:28:47 -0500, Dale wrote:

 No mention of the @ sign there.  It does say to read the info file but
 I very rarely get into those.  I never have had any good luck with
 them. I felt like I was in Hotel California once before.  O_O  I
 couldn't get out.

I thought you were a KDE user? Press Alt-F2, enter info:/date, enjoy :)


-- 
Neil Bothwick

WinErr 00E: Window open - Do not look inside


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: OT: What does the data stream to a sound card look like?

2011-05-29 Thread Alan Mackenzie
Hi, Nikos and Florian.

Thanks for the helpful elucidation.

-- 
Alan Mackenzie (Nuremberg, Germany).


On Sat, May 28, 2011 at 04:13:18PM +0200, Florian Philipp wrote:
 Am 28.05.2011 12:19, schrieb Nikos Chantziaras:
  On 05/28/2011 12:50 PM, Alan Mackenzie wrote:
  Hi, Gentoo.

  It occurred to me the other day that I am clueless about how a sound
  card works.  How do the data get into it?  Does the sound card use an
  interrupt to ask for more data?

  The data is placed in RAM.  The card reads it from there using a DMA
  operation.  You can read about it here:

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


  What form do the data take?

  It's raw data, and its form depends on what the card is expecting.  What
  the card is expecting is programmable by the card's driver.


 Most likely it is some PCM format (pulse code modulation) not very
 different from WAV, CDDA, etc. (just without headers, of course). In the
 easiest case, the sound card then just feeds this into a digital-analog
 converter connected to the output (together with a analog-digital
 converter this is called an audio codec, for example AC'97).

 AC3 or DTS, the compressed formats found on DVD, can also be passed
 through the sound card to reach a home theater system over a digital
 output without being converted into an analog signal.


  Say I feed an mp3 through the card.  Does
  the Athlon do the decompression, or does the sound card do it?

  The MP3 is decoded by your CPU (by software like libmad, xine,
  gstreamer, etc.)  The decoded data is send to the driver, the driver
  applies any needed conversions to it (according to what the card
  expects), and then places it in RAM so the card can get it by means of DMA.


 This can be observed in some cases when the system crashes during
 playback. Then sometimes the card just seems to loop over the last data
 packet placed in RAM.


  Last of all, is there a command line program which can play a CD by
  feeding its data into the sound card?

  Today this works the same playing any other audio.  The fact that audio
  in this case comes from a CD doesn't matter.  An application reads the
  audio from the CD, sends it to the driver, and from there it gets to the
  sound card.


 The cdparanoia FAQ provides a lot of insight into the special problems
 of reading CD audio:
 http://www.xiph.org/paranoia/faq.html

 Regards,
 Florian Philipp






Re: [gentoo-user] [OT - More Router Advice] Cheap Router with decent/reliable VLAN support

2011-05-29 Thread Volker Armin Hemmann
On Saturday 28 May 2011 13:10:09 Tanstaafl wrote:
 After seeing an older thread asking about a router, I figured I'd ask my
 own question...
 
 I'm looking for a cheap but reliable router that has decent and SIMPLE
 way to add VLANs (I'm not a CISCO guy and don't want to have to become
 one)...
 
 Specifically, I want to have one VLAN that my wireless access points are
 plugged into, to provide ONLY internet access, and then a separate VLAN
 for my internal network...
 
 This is to protect my internal net from any potentially infected
 machines that are on the wireless access points (I routinely work on
 infected computers for friends/family, so, I need internet access, but
 want them isolated from my internal network).
 
 Anyone? Will one of the FLOSS builds for the cheap Cable/DSL routers
 support VLANs on the different built-in router ports (ie, Tomato, DD-WRT
 or OpenWRT)?
 
 Looking forward to any suggestions/ideas...

so - why don't you get a router that ONLY does the routing and a nice good 
switch where you can tag the vlans?

Because if someone takes over your router it does not matter that you have 
different vlans, they can access everything.

But if the router is on a different vlan than the internal network, they have 
to take over the switch - which will be in a vlan inaccessible from any active 
device - to get into the other vlans.



Re: [gentoo-user] Converting time formats

2011-05-29 Thread William Kenworthy
...
  
  *  app-admin/ccze
Latest version available: 0.2.1-r2
Latest version installed: 0.2.1-r2
Size of downloaded files: 136 kB
Homepage:http://dev.gentoo.org/~joker/ccze/ccze.txt
Description: A flexible and fast logfile colorizer
License: GPL-2
  
  
  Pass your log through it for nicely coloured text (words like alarm
  and error are bright red to stand out) as well as converting date
  epoch on the fly, leaving it in context.
  
  BillK
 
 Hmm  
 
 This project is no longer maintained. There's no valid homepage left.

Interesting! - it still works though, and for such a simple utility, I
dont really care about its maintenance status as long as it keeps
working :)

BillK


-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!




Re: [gentoo-user] Converting time formats

2011-05-29 Thread Peter Humphrey
On Sunday 29 May 2011 01:48:17 William Kenworthy wrote:

 As well as your other replies, check out ccze

[...]

 Pass your log through it for nicely coloured text (words like alarm
 and error are bright red to stand out) as well as converting date
 epoch on the fly, leaving it in context.

That looked interesting, so I tried it. I got the following from cat 
/var/log/emerge.log | ccze -C | tail (sorry about the line wraps, which for 
some reason I can't switch off at the moment in kmail). Not only did it not 
convert the timestamps; it overwrote my command. I did get colours though.

1306665698:  *** exiting unsuccessfully with status 'None'. g/emerge.log | 
ccze -C | tail
1306665698:  *** terminating. 
1306675942: Started emerge on: May 29, 2011 14:32:22 
1306675942:  *** emerge --jobs --buildpkg --keep-going --verbose --nospinner 
--with-bdeps --ask 
ccze 
1306675947:   emerge (1 of 1) app-admin/ccze-0.2.1-r2 to / 
1306675947:  === (1 of 1) Cleaning (app-admin/ccze-0.2.1-
r2::/usr/portage/app-admin/ccze/ccze-0.
2.1-r2.ebuild) 
1306675952:  === (1 of 1) Compiling/Packaging (app-admin/ccze-0.2.1-
r2::/usr/portage/app-admin/c
cze/ccze-0.2.1-r2.ebuild) 
1306675965:  === (1 of 1) Merging (app-admin/ccze-0.2.1-
r2::/usr/portage/app-admin/ccze/ccze-0.2
.1-r2.ebuild) 
1306675968:   AUTOCLEAN: app-admin/ccze:0 
1306675969:  === (1 of 1) Updating world file (app-admin/ccze-0.2.1-r2) 
1306675969:  === (1 of 1) Post-Build Cleaning (app-admin/ccze-0.2.1-
r2::/usr/portage/app-admin/c
cze/ccze-0.2.1-r2.ebuild) 
1306675969:  ::: completed emerge (1 of 1) app-admin/ccze-0.2.1-r2 to / 
1306675969:  *** Finished. Cleaning up... 
1306675970:  *** exiting successfully. 
1306675970:  *** terminating. 

(Something is weird on this box. I posted recently about lockups in flash, 
but I now get them at random times even when flash is not running.)

-- 
Rgds
Peter



Re: [gentoo-user] Converting time formats

2011-05-29 Thread Dale

Neil Bothwick wrote:

On Sat, 28 May 2011 21:28:47 -0500, Dale wrote:

   

No mention of the @ sign there.  It does say to read the info file but
I very rarely get into those.  I never have had any good luck with
them. I felt like I was in Hotel California once before.  O_O  I
couldn't get out.
 

I thought you were a KDE user? Press Alt-F2, enter info:/date, enjoy :)


   


I am.  I use Konsole.  Very rarely use Alt F2 tho.

Dale

:-)  :-)



Re: [gentoo-user] Goodbye, Gentoo

2011-05-29 Thread Kevin O'Gorman
On Sat, May 28, 2011 at 12:19 PM, Alan McKinnon alan.mckin...@gmail.comwrote:

 Apparently, though unproven, at 18:38 on Saturday 28 May 2011, Daniel da
 Veiga
 did opine thusly:

  On Thu, May 26, 2011 at 20:28, Kevin O'Gorman kogor...@gmail.com
 wrote:
   It looks like it's time to take Gentoo off of my main machine.  I feel
 a
   little sad about it, or I'd just quietly go away.
  
   So, since I am familiar with Ubuntu from work, and have it on a couple
 of
   laptops, I'm installing from the Ubuntu 11.04 live disk (video is just
   fine).
 
  Good luck.
  A friend just dropped Ubuntu cause they simply decided to use Unity, and
  the dashboard is just (his words) weird. He was used to the Gnome look,
  and they simply changed everthing with an upgrade.
 
  I stick with Gentoo, at least I know my next upgrade won't change my
 whole
  interface...


 Ubuntu are simply doing what KDE already did - take a risk, go with
 something
 new, try to stay ahead of the curve.

 Unity works fine on my netbook with 600 vertical pixels. I'm not sure it
 would
 work well on my 1920x1200 notebook though. That's the risk one takes with
 disruptive technologies, you might annoy some of your users


My hardware is not capable enough to run unity, so it logs into Gnome 2, the
familiar
interface.  I'm eventually going to upgrade the mobo and video, and I'll get
to visit
with Unity on my own schedule.  I generally stick to the LTS versions, which
remain
supported for 3 years.  I don't see the point of more frequent upgrades
because
as an old-timer, I am perfectly happy with the tools I'm used to and find
myself
increasingly exhausted on the learning curves.  I can do it, but I want
there to be
a really good view at the top. :o)

-- 
Kevin O'Gorman, PhD


Re: [gentoo-user] KDE4 localization

2011-05-29 Thread Volker Armin Hemmann
On Saturday 28 May 2011 20:27:59 Alex Schuster wrote:
 Maxim Vorontsov writes:
  27.05.2011, в 21:35, Alex Schuster wo...@wonkology.org написал(а):
   Maxim Vorontsov writes:
   No, for me all works fine.
   
   Probably another problem that only I have.
   BTW, German language is of course set in systemsettings, and it's
   also
   set via Help - Switch Application Language.
   
   It's no big deal, but I'm missing the German language in KMyMoney.
  
  Maybe deleting config files in ~/.kde can help?
 
 It's .kde4 in Gentoo. No, the same happens when I try with a test user with
 clean .kde4 directory.
 
  Dont forget backup it:-)
 
 I backup them up regularly. And I just had to restore some config files
 because all plasma was messed up AGAIN. Most plasmoids were missing,
 including the panel, and I hat lots of additional activities. Before this I
 had to log out because kwin was using 1.3G of memory. Maybe a side effect
 from /var running full? I had 2G of stuff in /var/tmp/kdecache-wonko/http/.
 Is this normal? I moved this directory into my $HOME directory and set a
 symlink so just using KDE will not again fill /var again.
 
   Wonko

no, normal is something like 60 or 100mb for http. You don't delete your 
caches...

btw, a lot of kde stuff ends up in .local nowadays. Stupid standards...



Re: [gentoo-user] KDE4 localization

2011-05-29 Thread Mick
On Sunday 29 May 2011 18:16:04 Volker Armin Hemmann wrote:
 On Saturday 28 May 2011 20:27:59 Alex Schuster wrote:
  Maxim Vorontsov writes:
   27.05.2011, в 21:35, Alex Schuster wo...@wonkology.org написал(а):
Maxim Vorontsov writes:
No, for me all works fine.

Probably another problem that only I have.
BTW, German language is of course set in systemsettings, and it's
also
set via Help - Switch Application Language.

It's no big deal, but I'm missing the German language in KMyMoney.
   
   Maybe deleting config files in ~/.kde can help?
  
  It's .kde4 in Gentoo. No, the same happens when I try with a test user
  with clean .kde4 directory.
  
   Dont forget backup it:-)
  
  I backup them up regularly. And I just had to restore some config files
  because all plasma was messed up AGAIN. Most plasmoids were missing,
  including the panel, and I hat lots of additional activities. Before this
  I had to log out because kwin was using 1.3G of memory. Maybe a side
  effect from /var running full? I had 2G of stuff in
  /var/tmp/kdecache-wonko/http/. Is this normal? I moved this directory
  into my $HOME directory and set a symlink so just using KDE will not
  again fill /var again.
  
  Wonko
 
 no, normal is something like 60 or 100mb for http. You don't delete your
 caches...
 
 btw, a lot of kde stuff ends up in .local nowadays. Stupid standards...

This is mine:

$ du -s -h /var/tmp/kdecache-michael/http
61M /var/tmp/kdecache-michael/http

Are you running some strange plasma or plugin that keeps caching and caching?

In Konqueror I have my Disk Cache Size set at 51200 KiB.

HTH.
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


[gentoo-user] Install issue

2011-05-29 Thread Colleen Beamer
Hi,

I've been trying to update my gentoo system for a couple of months and
couldn't seem to resolve block issues.  Since it has been a couple of years
or more since i did a fresh install, I decided to do one.

I followed the handbook - 1st run, I screwed up and missed a step, 2nd run,
I was careful that I didn't miss anything and I couldn't boot, the 3rd time
I rechecked everything and the same issue arose.

I am able to get my boot menu, the drivers appear to load - the last one
being tg3 which is the one that was typically loaded last on my old gentoo
install.  However, after this I get this message:

ERROR: your real /dev is missing files required to boot (console and null)..

When I was in the chroot'd environment and after I had done the 'mount
--rbind /dev ' command, I checked and there appeared to be a console
file there.  This is just and fyi

Anyway, I did a google search and this was one of the responses:

Some stage3 archives lack few items (like /dev/console and /dev/null)
necessary for boot.
To fix your installation, you need to:
- mount your gentoo root device in read/write mode (for example to
/mnt/gentoo)
- create missing pseudo-files (something like the following):
mknod /mnt/gentoo/dev/console c 5 1
mknod /mnt/gentoo/dev/null c 1 3
- unmount your gentoo root device or execute sync command
- reboot

Since I am a chicken-shit, I am deferring to the more knowledgeable people
on this list and asking, is this a valid fix or is there a better one.

Thanks in advance for your help.

Regards,

Colleen


[gentoo-user] How do I eject an audio CD inside Gnome?

2011-05-29 Thread Alan Mackenzie
Hi, Gentoo.

I've now managed to play CDs in Gnome, primarily by adding myself to the
cdrom group.  I do wish all these restrictions, enforced by group
membership, could be switched off.

Having played a CD, I discover there's no way to eject it; the physical
button on the drive is inactive until I exit from Gnome, which is
clearly suboptimal.

However, if I start Gnome as root, I can eject a CD trouble freely.
But running as root is also suboptimal.

So, I thought, maybe this feature is another pesky group restriction.
So I tried adding myself to group disk, then to group cdrw, all to
no avail.  I still couldn't eject the disk.

Help, please!

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Install issue

2011-05-29 Thread Alan McKinnon
Apparently, though unproven, at 22:35 on Sunday 29 May 2011, Colleen Beamer 
did opine thusly:

 Hi,
 
 I've been trying to update my gentoo system for a couple of months and
 couldn't seem to resolve block issues.  Since it has been a couple of years
 or more since i did a fresh install, I decided to do one.
 
 I followed the handbook - 1st run, I screwed up and missed a step, 2nd run,
 I was careful that I didn't miss anything and I couldn't boot, the 3rd time
 I rechecked everything and the same issue arose.
 
 I am able to get my boot menu, the drivers appear to load - the last one
 being tg3 which is the one that was typically loaded last on my old gentoo
 install.  However, after this I get this message:
 
 ERROR: your real /dev is missing files required to boot (console and
 null)..
 
 When I was in the chroot'd environment and after I had done the 'mount
 --rbind /dev ' command, I checked and there appeared to be a console
 file there.  This is just and fyi
 
 Anyway, I did a google search and this was one of the responses:
 
 Some stage3 archives lack few items (like /dev/console and /dev/null)
 necessary for boot.
 To fix your installation, you need to:
 - mount your gentoo root device in read/write mode (for example to
 /mnt/gentoo)
 - create missing pseudo-files (something like the following):
 mknod /mnt/gentoo/dev/console c 5 1
 mknod /mnt/gentoo/dev/null c 1 3
 - unmount your gentoo root device or execute sync command
 - reboot
 
 Since I am a chicken-shit, I am deferring to the more knowledgeable
 people on this list and asking, is this a valid fix or is there a better
 one.

Google is correct, just do it. All you are doing is making files somewhere 
that have special characteristics (i.e. you are not unleashing Armageddon or 
looking Medusa in the eye)

But you looked in the wrong place. null and console must be in /dev on the 
root partition *before* mounting /dev, you looked after. The reason it must be 
there before is that null and console are needed very early in the boot 
process at a point before udev runs. After udev runs it is no longer relevant 
as udev will provide those nodes.

I wonder if you haven't just tripped over a bug in baselayout or recent 
stage3's. I just did a new install here but used an old stage3 that was still 
baselayout-1. I did not run into the issues you did. What does b.g.o. say?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How do I eject an audio CD inside Gnome?

2011-05-29 Thread Alan McKinnon
Apparently, though unproven, at 22:49 on Sunday 29 May 2011, Alan Mackenzie 
did opine thusly:

 Hi, Gentoo.
 
 I've now managed to play CDs in Gnome, primarily by adding myself to the
 cdrom group.  I do wish all these restrictions, enforced by group
 membership, could be switched off.
 
 Having played a CD, I discover there's no way to eject it; the physical
 button on the drive is inactive until I exit from Gnome, which is
 clearly suboptimal.
 
 However, if I start Gnome as root, I can eject a CD trouble freely.
 But running as root is also suboptimal.
 
 So, I thought, maybe this feature is another pesky group restriction.
 So I tried adding myself to group disk, then to group cdrw, all to
 no avail.  I still couldn't eject the disk.

With a CD in the drive and gnome running, please post the output of

mount
cat /etc/mtab


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Converting time formats

2011-05-29 Thread Neil Bothwick
On Sun, 29 May 2011 08:55:24 -0500, Dale wrote:

  I thought you were a KDE user? Press Alt-F2, enter info:/date,
  enjoy :)

 I am.  I use Konsole.  Very rarely use Alt F2 tho.

So you use the horrible text interface for info instead of seeing nice
HTML in Konqueror, never mind :)


-- 
Neil Bothwick

Deja Moo: The feeling that you heard this bull somewhere before.


signature.asc
Description: PGP signature


Re: [gentoo-user] How do I eject an audio CD inside Gnome?

2011-05-29 Thread Neil Bothwick
On Sun, 29 May 2011 22:58:39 +0200, Alan McKinnon wrote:

 With a CD in the drive and gnome running, please post the output of
 
 mount
 cat /etc/mtab

And the output of eject -v


-- 
Neil Bothwick

Don't cry because it's over. Smile because it happened.


signature.asc
Description: PGP signature


Re: [gentoo-user] How do I eject an audio CD inside Gnome?

2011-05-29 Thread Alan Mackenzie
Hi, Alan.

On Sun, May 29, 2011 at 10:58:39PM +0200, Alan McKinnon wrote:
 Apparently, though unproven, at 22:49 on Sunday 29 May 2011, Alan Mackenzie 
 did opine thusly:

  Hi, Gentoo.

  I've now managed to play CDs in Gnome, primarily by adding myself to the
  cdrom group.  I do wish all these restrictions, enforced by group
  membership, could be switched off.

  Having played a CD, I discover there's no way to eject it; the physical
  button on the drive is inactive until I exit from Gnome, which is
  clearly suboptimal.

  However, if I start Gnome as root, I can eject a CD trouble freely.
  But running as root is also suboptimal.

  So, I thought, maybe this feature is another pesky group restriction.
  So I tried adding myself to group disk, then to group cdrw, all to
  no avail.  I still couldn't eject the disk.

 With a CD in the drive and gnome running, please post the output of

 mount

root@acm ~ # mount
rootfs on / type rootfs (rw)
/dev/root on / type ext2 (rw,noatime,errors=continue)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
rc-svcdir on /lib64/rc/init.d type tmpfs 
(rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
/dev/mapper/vg-usr on /usr type ext3 (rw,noatime,commit=0)
/dev/mapper/vg-usrportage on /usr/portage type ext2 (rw,noatime)
/dev/mapper/vg-usrportagedistfiles on /usr/portage/distfiles type ext2 
(rw,noatime)
/dev/mapper/vg-usrsrc on /usr/src type ext3 (rw,noatime,commit=0)
/dev/mapper/vg-home on /home type ext3 (rw,noatime,commit=0)
/dev/mapper/vg-opt on /opt type ext3 (rw,noatime,commit=0)
/dev/mapper/vg-var on /var type ext3 (rw,noatime,commit=0)
/dev/mapper/vg-varspoolmail on /var/spool/mail type ext3 (rw,noatime,commit=0)
/dev/mapper/vg-varspoolnews on /var/spool/news type reiserfs (rw,noatime)
/dev/mapper/vg-iso on /iso type ext2 (rw,noatime)
/dev/mapper/vg-old on /old type ext2 (rw,noatime)
/dev/mapper/vg-vg--backup on /backup type ext2 (rw,noatime)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)


 cat /etc/mtab

root@acm ~ # cat /etc/mtab
rootfs / rootfs rw 0 0
/dev/root / ext2 rw,noatime,errors=continue 0 0
proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
rc-svcdir /lib64/rc/init.d tmpfs 
rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755 0 0
sysfs /sys sysfs rw,nosuid,nodev,noexec,relatime 0 0
debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
udev /dev tmpfs rw,nosuid,relatime,size=10240k,mode=755 0 0
devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
/dev/mapper/vg-usr /usr ext3 rw,noatime,commit=0 0 0
/dev/mapper/vg-usrportage /usr/portage ext2 rw,noatime 0 0
/dev/mapper/vg-usrportagedistfiles /usr/portage/distfiles ext2 rw,noatime 0 0
/dev/mapper/vg-usrsrc /usr/src ext3 rw,noatime,commit=0 0 0
/dev/mapper/vg-home /home ext3 rw,noatime,commit=0 0 0
/dev/mapper/vg-opt /opt ext3 rw,noatime,commit=0 0 0
/dev/mapper/vg-var /var ext3 rw,noatime,commit=0 0 0
/dev/mapper/vg-varspoolmail /var/spool/mail ext3 rw,noatime,commit=0 0 0
/dev/mapper/vg-varspoolnews /var/spool/news reiserfs rw,noatime 0 0
/dev/mapper/vg-iso /iso ext2 rw,noatime 0 0
/dev/mapper/vg-old /old ext2 rw,noatime 0 0
/dev/mapper/vg-vg--backup /backup ext2 rw,noatime 0 0
usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0
binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0


 -- 
 alan dot mckinnon at gmail dot com

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] How do I eject an audio CD inside Gnome?

2011-05-29 Thread Alan McKinnon
Apparently, though unproven, at 23:20 on Sunday 29 May 2011, Alan Mackenzie 
did opine thusly:

 Hi, Alan.
 
 On Sun, May 29, 2011 at 10:58:39PM +0200, Alan McKinnon wrote:
  Apparently, though unproven, at 22:49 on Sunday 29 May 2011, Alan
  Mackenzie
  
  did opine thusly:
   Hi, Gentoo.
   
   I've now managed to play CDs in Gnome, primarily by adding myself to
   the cdrom group.  I do wish all these restrictions, enforced by group
   membership, could be switched off.
   
   Having played a CD, I discover there's no way to eject it; the physical
   button on the drive is inactive until I exit from Gnome, which is
   clearly suboptimal.
   
   However, if I start Gnome as root, I can eject a CD trouble freely.
   But running as root is also suboptimal.
   
   So, I thought, maybe this feature is another pesky group restriction.
   So I tried adding myself to group disk, then to group cdrw, all to
   no avail.  I still couldn't eject the disk.
  
  With a CD in the drive and gnome running, please post the output of
  
  mount

Well that didn't work too well - they're not listed. Obviously gnome doesn't 
use mount/mtab/fstab to do it's mounting thing. Time for Neil's plan B

eject -v

for comparison, do it as a user and then as root




 
 root@acm ~ # mount
 rootfs on / type rootfs (rw)
 /dev/root on / type ext2 (rw,noatime,errors=continue)
 proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
 rc-svcdir on /lib64/rc/init.d type tmpfs
 (rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755) sysfs on /sys type
 sysfs (rw,nosuid,nodev,noexec,relatime)
 debugfs on /sys/kernel/debug type debugfs (rw,nosuid,nodev,noexec,relatime)
 udev on /dev type tmpfs (rw,nosuid,relatime,size=10240k,mode=755)
 devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620)
 shm on /dev/shm type tmpfs (rw,nosuid,nodev,noexec,relatime)
 /dev/mapper/vg-usr on /usr type ext3 (rw,noatime,commit=0)
 /dev/mapper/vg-usrportage on /usr/portage type ext2 (rw,noatime)
 /dev/mapper/vg-usrportagedistfiles on /usr/portage/distfiles type ext2
 (rw,noatime) /dev/mapper/vg-usrsrc on /usr/src type ext3
 (rw,noatime,commit=0)
 /dev/mapper/vg-home on /home type ext3 (rw,noatime,commit=0)
 /dev/mapper/vg-opt on /opt type ext3 (rw,noatime,commit=0)
 /dev/mapper/vg-var on /var type ext3 (rw,noatime,commit=0)
 /dev/mapper/vg-varspoolmail on /var/spool/mail type ext3
 (rw,noatime,commit=0) /dev/mapper/vg-varspoolnews on /var/spool/news type
 reiserfs (rw,noatime) /dev/mapper/vg-iso on /iso type ext2 (rw,noatime)
 /dev/mapper/vg-old on /old type ext2 (rw,noatime)
 /dev/mapper/vg-vg--backup on /backup type ext2 (rw,noatime)
 usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
 binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc
 (rw,noexec,nosuid,nodev)
 
  cat /etc/mtab
 
 root@acm ~ # cat /etc/mtab
 rootfs / rootfs rw 0 0
 /dev/root / ext2 rw,noatime,errors=continue 0 0
 proc /proc proc rw,nosuid,nodev,noexec,relatime 0 0
 rc-svcdir /lib64/rc/init.d tmpfs
 rw,nosuid,nodev,noexec,relatime,size=1024k,mode=755 0 0 sysfs /sys sysfs
 rw,nosuid,nodev,noexec,relatime 0 0
 debugfs /sys/kernel/debug debugfs rw,nosuid,nodev,noexec,relatime 0 0
 udev /dev tmpfs rw,nosuid,relatime,size=10240k,mode=755 0 0
 devpts /dev/pts devpts rw,nosuid,noexec,relatime,gid=5,mode=620 0 0
 shm /dev/shm tmpfs rw,nosuid,nodev,noexec,relatime 0 0
 /dev/mapper/vg-usr /usr ext3 rw,noatime,commit=0 0 0
 /dev/mapper/vg-usrportage /usr/portage ext2 rw,noatime 0 0
 /dev/mapper/vg-usrportagedistfiles /usr/portage/distfiles ext2 rw,noatime 0
 0 /dev/mapper/vg-usrsrc /usr/src ext3 rw,noatime,commit=0 0 0
 /dev/mapper/vg-home /home ext3 rw,noatime,commit=0 0 0
 /dev/mapper/vg-opt /opt ext3 rw,noatime,commit=0 0 0
 /dev/mapper/vg-var /var ext3 rw,noatime,commit=0 0 0
 /dev/mapper/vg-varspoolmail /var/spool/mail ext3 rw,noatime,commit=0 0 0
 /dev/mapper/vg-varspoolnews /var/spool/news reiserfs rw,noatime 0 0
 /dev/mapper/vg-iso /iso ext2 rw,noatime 0 0
 /dev/mapper/vg-old /old ext2 rw,noatime 0 0
 /dev/mapper/vg-vg--backup /backup ext2 rw,noatime 0 0
 usbfs /proc/bus/usb usbfs rw,noexec,nosuid,devmode=0664,devgid=85 0 0
 binfmt_misc /proc/sys/fs/binfmt_misc binfmt_misc rw,noexec,nosuid,nodev 0 0

-- 
alan dot mckinnon at gmail dot com




Re: [gentoo-user] How do I eject an audio CD inside Gnome?

2011-05-29 Thread Alan Mackenzie
Hi, Neil.

On Sun, May 29, 2011 at 10:13:08PM +0100, Neil Bothwick wrote:
 On Sun, 29 May 2011 22:58:39 +0200, Alan McKinnon wrote:

  With a CD in the drive and gnome running, please post the output of

  mount
  cat /etc/mtab

 And the output of eject -v

acm@acm ~ $ eject -v
eject: using default device `cdrom'
eject: device name is `cdrom'
eject: expanded name is `/dev/cdrom'
eject: `/dev/cdrom' is a link to `/dev/sr0'
eject: `/dev/sr0' is not mounted
eject: `/dev/sr0' is not a mount point
eject: `/dev/sr0' is not a multipartition device
eject: trying to eject `/dev/sr0' using CD-ROM eject command
eject: CD-ROM eject command failed
eject: trying to eject `/dev/sr0' using SCSI commands
eject: SCSI eject succeeded

(This was run as a normal user, not root.)

Hey, eject -v works!  :-)  It's still not quite ideal, though.

 -- 
 Neil Bothwick

 Don't cry because it's over. Smile because it happened.

-- 
Alan Mackenzie (Nuremberg, Germany).



Re: [gentoo-user] Converting time formats

2011-05-29 Thread Dale

Neil Bothwick wrote:

On Sun, 29 May 2011 08:55:24 -0500, Dale wrote:

   

I thought you were a KDE user? Press Alt-F2, enter info:/date,
enjoy :)
   
   

I am.  I use Konsole.  Very rarely use Alt F2 tho.
 

So you use the horrible text interface for info instead of seeing nice
HTML in Konqueror, never mind :)

   

Well, once in a blue moon I do use Konqueror.  I just use man:command here  
instead of info.  Me and info just don't yee haw to well.  LOL I'm going to give info 
a whirl again just for giggles.  There is the kill command if it gets froggy.  o_O

Dale

:-)  :-)



[gentoo-user] virtualbox update v4.0.8 trouble

2011-05-29 Thread Nicolai Beuermann
Hi,
after updating to virtualbox-4.0.8 I cannot start a vm anymore.

The following ebuilds are installed:
app-emulation/virtualbox-4.0.8
app-emulation/virtualbox-additions-4.0.8
app-emulation/virtualbox-extpack-oracle-4.0.8
app-emulation/virtualbox-modules-4.0.8

The logs mention that symlinks are not permitted. /usr/lib64 is a
symlink to /usr/lib on my system.

/ filesystem is ext4 on solid-state-drive mounted with default options.

lsmod:
vboxnetadp  4502  0
vboxnetflt 14541  0
vboxdrv  1745860  2 vboxnetadp,vboxnetflt

By the way stable virtualbox-3.2.12-r4 is able to run the vm.

cat VBox.log
00:00:00.676 VirtualBox 4.0.8-Gentoo r71778 linux.amd64 (May 29 2011
16:47:41) release log
00:00:00.676 Log opened 2011-05-29T17:02:39.312737000Z
00:00:00.676 OS Product: Linux
00:00:00.676 OS Release: 2.6.38-gentoo-r6-28.05.2011-01
00:00:00.676 OS Version: #1 SMP PREEMPT Sat May 28 15:37:06 CEST 2011
00:00:00.676 DMI Product Name: MacPro1,1
00:00:00.676 DMI Product Version: 1.0
00:00:00.677 Host RAM: 9997MB RAM, available: 8732MB
00:00:00.677 Executable: /usr/lib/virtualbox/VirtualBox
00:00:00.677 Process ID: 5576
00:00:00.677 Package type: LINUX_64BITS_GENERIC (OSE)
00:00:00.696 pdmR3LoadR0U: pszName=VMMR0.r0
rc=VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED szErr=Symlinks are not
permitted: '/usr/lib64'
00:00:00.696 VMSetError:
/var/tmp/portage/portage/app-emulation/virtualbox-4.0.8/work/VirtualBox-4.0.8_OSE/src/VBox/VMM/VMMR3/VM.cpp(583)
int vmR3CreateU(UVM*, uint32_t, int (*)(VM*, void*), void*);
rc=VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED
00:00:00.696 VMSetError: Failed to load VMMR0.r0
00:00:00.696 VMSetError:
/var/tmp/portage/portage/app-emulation/virtualbox-4.0.8/work/VirtualBox-4.0.8_OSE/src/VBox/VMM/VMMR3/VM.cpp(354)
int VMR3Create(uint32_t, const VMM2USERMETHODS*, void (*)(VM*, void*,
int, const char*, unsigned int, const char*, const char*,
__va_list_tag*), void*, int (*)(VM*, void*), void*, VM**);
rc=VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED
00:00:00.696 VMSetError: Unknown error creating VM
00:00:00.698 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005)
aIID={515e8e8d-f932-4d8e-9f32-79a52aead882} aComponent={Console}
aText={Failed to load VMMR0.r0 (VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED).
00:00:00.698 Unknown error creating VM
(VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED)}, preserve=false
00:00:00.707 Power up failed
(vrc=VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED, rc=NS_ERROR_FAILURE
(0X80004005))
00:00:00.725 Using XKB for keycode to scan code conversion


Please help. I don't have an idea.

Nico



Re: [gentoo-user] Install issue

2011-05-29 Thread Mick
On Sunday 29 May 2011 21:57:21 Alan McKinnon wrote:
 Apparently, though unproven, at 22:35 on Sunday 29 May 2011, Colleen Beamer
 
 did opine thusly:
  Hi,
  
  I've been trying to update my gentoo system for a couple of months and
  couldn't seem to resolve block issues.  Since it has been a couple of
  years or more since i did a fresh install, I decided to do one.
  
  I followed the handbook - 1st run, I screwed up and missed a step, 2nd
  run, I was careful that I didn't miss anything and I couldn't boot, the
  3rd time I rechecked everything and the same issue arose.
  
  I am able to get my boot menu, the drivers appear to load - the last one
  being tg3 which is the one that was typically loaded last on my old
  gentoo install.  However, after this I get this message:
  
  ERROR: your real /dev is missing files required to boot (console and
  null)..
  
  When I was in the chroot'd environment and after I had done the 'mount
  --rbind /dev ' command, I checked and there appeared to be a console
  file there.  This is just and fyi
  
  Anyway, I did a google search and this was one of the responses:
  
  Some stage3 archives lack few items (like /dev/console and /dev/null)
  necessary for boot.
  To fix your installation, you need to:
  - mount your gentoo root device in read/write mode (for example to
  /mnt/gentoo)
  - create missing pseudo-files (something like the following):
  mknod /mnt/gentoo/dev/console c 5 1
  mknod /mnt/gentoo/dev/null c 1 3
  - unmount your gentoo root device or execute sync command
  - reboot
  
  Since I am a chicken-shit, I am deferring to the more knowledgeable
  people on this list and asking, is this a valid fix or is there a better
  one.
 
 Google is correct, just do it. All you are doing is making files somewhere
 that have special characteristics (i.e. you are not unleashing Armageddon
 or looking Medusa in the eye)
 
 But you looked in the wrong place. null and console must be in /dev on the
 root partition *before* mounting /dev, you looked after. The reason it must
 be there before is that null and console are needed very early in the boot
 process at a point before udev runs. After udev runs it is no longer
 relevant as udev will provide those nodes.
 
 I wonder if you haven't just tripped over a bug in baselayout or recent
 stage3's. I just did a new install here but used an old stage3 that was
 still baselayout-1. I did not run into the issues you did. What does
 b.g.o. say?

I'm sure that I've come across the same problem some time in the distant past 
and had to create these two nodes manually.

However, it should be easy to prove if this is a bug or not - look in the 
stage3 tar file for /dev/console and /dev/null?
-- 
Regards,
Mick


signature.asc
Description: This is a digitally signed message part.


Re: [gentoo-user] How do I eject an audio CD inside Gnome?

2011-05-29 Thread Alan McKinnon
Apparently, though unproven, at 23:37 on Sunday 29 May 2011, Alan Mackenzie 
did opine thusly:

 Hi, Neil.
 
 On Sun, May 29, 2011 at 10:13:08PM +0100, Neil Bothwick wrote:
  On Sun, 29 May 2011 22:58:39 +0200, Alan McKinnon wrote:
   With a CD in the drive and gnome running, please post the output of
   
   mount
   cat /etc/mtab
  
  And the output of eject -v
 
 acm@acm ~ $ eject -v
 eject: using default device `cdrom'
 eject: device name is `cdrom'
 eject: expanded name is `/dev/cdrom'
 eject: `/dev/cdrom' is a link to `/dev/sr0'
 eject: `/dev/sr0' is not mounted
 eject: `/dev/sr0' is not a mount point
 eject: `/dev/sr0' is not a multipartition device
 eject: trying to eject `/dev/sr0' using CD-ROM eject command
 eject: CD-ROM eject command failed
 eject: trying to eject `/dev/sr0' using SCSI commands
 eject: SCSI eject succeeded
 
 (This was run as a normal user, not root.)
 
 Hey, eject -v works!  :-)  It's still not quite ideal, though.


My money says you've been hit by the Gnome Borg - where you are only permitted 
to do things the way the gnome devs have deemed to be appropriate and 
TheOneTrueWay(tm). After all, you are just a user, what do you know? The devs 
know better, you must trust them!

I can't be of much more help to you, I don't use Gnome at all (see above)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] virtualbox update v4.0.8 trouble

2011-05-29 Thread Alan McKinnon
Apparently, though unproven, at 23:50 on Sunday 29 May 2011, Nicolai Beuermann 
did opine thusly:

 Hi,
 after updating to virtualbox-4.0.8 I cannot start a vm anymore.
 
 The following ebuilds are installed:
 app-emulation/virtualbox-4.0.8
 app-emulation/virtualbox-additions-4.0.8
 app-emulation/virtualbox-extpack-oracle-4.0.8
 app-emulation/virtualbox-modules-4.0.8
 
 The logs mention that symlinks are not permitted. /usr/lib64 is a
 symlink to /usr/lib on my system.

Switch it to be the other way round which is how it should be. It works 
perfectly here with the exact same packages:

$ ls -al /usr/
lrwxrwxrwx   1 root  root  5 Oct 27  2010 lib - lib64


The log entry tells you the software will not accept your configuration.



 
 / filesystem is ext4 on solid-state-drive mounted with default options.
 
 lsmod:
 vboxnetadp  4502  0
 vboxnetflt 14541  0
 vboxdrv  1745860  2 vboxnetadp,vboxnetflt
 
 By the way stable virtualbox-3.2.12-r4 is able to run the vm.
 
 cat VBox.log
 00:00:00.676 VirtualBox 4.0.8-Gentoo r71778 linux.amd64 (May 29 2011
 16:47:41) release log
 00:00:00.676 Log opened 2011-05-29T17:02:39.312737000Z
 00:00:00.676 OS Product: Linux
 00:00:00.676 OS Release: 2.6.38-gentoo-r6-28.05.2011-01
 00:00:00.676 OS Version: #1 SMP PREEMPT Sat May 28 15:37:06 CEST 2011
 00:00:00.676 DMI Product Name: MacPro1,1
 00:00:00.676 DMI Product Version: 1.0
 00:00:00.677 Host RAM: 9997MB RAM, available: 8732MB
 00:00:00.677 Executable: /usr/lib/virtualbox/VirtualBox
 00:00:00.677 Process ID: 5576
 00:00:00.677 Package type: LINUX_64BITS_GENERIC (OSE)
 00:00:00.696 pdmR3LoadR0U: pszName=VMMR0.r0
 rc=VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED szErr=Symlinks are not
 permitted: '/usr/lib64'
 00:00:00.696 VMSetError:
 /var/tmp/portage/portage/app-emulation/virtualbox-4.0.8/work/VirtualBox-4.0
 .8_OSE/src/VBox/VMM/VMMR3/VM.cpp(583) int vmR3CreateU(UVM*, uint32_t, int
 (*)(VM*, void*), void*);
 rc=VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED
 00:00:00.696 VMSetError: Failed to load VMMR0.r0
 00:00:00.696 VMSetError:
 /var/tmp/portage/portage/app-emulation/virtualbox-4.0.8/work/VirtualBox-4.0
 .8_OSE/src/VBox/VMM/VMMR3/VM.cpp(354) int VMR3Create(uint32_t, const
 VMM2USERMETHODS*, void (*)(VM*, void*, int, const char*, unsigned int,
 const char*, const char*,
 __va_list_tag*), void*, int (*)(VM*, void*), void*, VM**);
 rc=VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED
 00:00:00.696 VMSetError: Unknown error creating VM
 00:00:00.698 ERROR [COM]: aRC=NS_ERROR_FAILURE (0x80004005)
 aIID={515e8e8d-f932-4d8e-9f32-79a52aead882} aComponent={Console}
 aText={Failed to load VMMR0.r0 (VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED).
 00:00:00.698 Unknown error creating VM
 (VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED)}, preserve=false
 00:00:00.707 Power up failed
 (vrc=VERR_SUPLIB_SYMLINKS_ARE_NOT_PERMITTED, rc=NS_ERROR_FAILURE
 (0X80004005))
 00:00:00.725 Using XKB for keycode to scan code conversion
 
 
 Please help. I don't have an idea.
 
 Nico

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Install issue

2011-05-29 Thread Alan McKinnon
Apparently, though unproven, at 23:56 on Sunday 29 May 2011, Mick did opine 
thusly:

  I wonder if you haven't just tripped over a bug in baselayout or recent
  stage3's. I just did a new install here but used an old stage3 that was
  still baselayout-1. I did not run into the issues you did. What does
  b.g.o. say?
 
 I'm sure that I've come across the same problem some time in the distant
 past  and had to create these two nodes manually.
 
 However, it should be easy to prove if this is a bug or not - look in the 
 stage3 tar file for /dev/console and /dev/null?

True enough recent stage 3 tarballs for amd64 on my mirror are either faulty 
or do not contain /dev/console.

May 20 and 26 are faulty

April 28 is OK

Colleen, you should follow the tip you found on Google to fix this. What stage 
3 did you download and use?



-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Converting time formats

2011-05-29 Thread Henry Gebhardt
On Sat, May 28, 2011 at 09:28:47PM -0500, Dale wrote:
 
 I went back to the man page, it sort of left the @ out on mine:
 
 -d, --date=STRING
display time described by STRING, not `now'
 
 No mention of the @ sign there.  It does say to read the info file but I 
 very rarely get into those.  I never have had any good luck with them.  

May I suggest sending a patch upstream? That'd be pretty cool. Just fix
it in the right place where everyone will find it. I bet other people
would appreciate it, too.


Thanks,

H



[gentoo-user] Re: [OT] network discovery tools

2011-05-29 Thread Harry Putnam
James wirel...@tampabay.rr.com writes:

 Harry Putnam reader at newsguy.com writes:


 Is there some quick and sure way to discover any IPs on the home lan?

 emerge fping
 man fping

 fping -g 192.168.222.0/24


 searches quite fast and accurate...

Yup, that's quick and easy... thanks 




[gentoo-user] Re: openrc and /etc/modprobe.d/*

2011-05-29 Thread Harry Putnam
Nikos Chantziaras rea...@arcor.de writes:

 If you have modules you wish to get loaded automatically on boot,
 only then put entries for them in /etc/conf.d/modules.

Sorry to butt in and change the subject slightly:

Do you happen to know the exact syntax for that kind of rule or
whatever it's called.

I've been trying to auto load the `fuse' module using this:

  modules=fuse

Which appears to be the proper syntax judging from the comments in
the stub file provided (/etc/conf.d/modules).

But `fuse' never gets auto loaded.  There must be something more or
different it needs.




Re: [gentoo-user] Re: openrc and /etc/modprobe.d/*

2011-05-29 Thread Alan McKinnon
Apparently, though unproven, at 00:38 on Monday 30 May 2011, Harry Putnam did 
opine thusly:

 Nikos Chantziaras rea...@arcor.de writes:
  If you have modules you wish to get loaded automatically on boot,
  only then put entries for them in /etc/conf.d/modules.
 
 Sorry to butt in and change the subject slightly:
 
 Do you happen to know the exact syntax for that kind of rule or
 whatever it's called.
 
 I've been trying to auto load the `fuse' module using this:
 
   modules=fuse
 
 Which appears to be the proper syntax judging from the comments in
 the stub file provided (/etc/conf.d/modules).
 
 But `fuse' never gets auto loaded.  There must be something more or
 different it needs.


Your syntax is correct. I suspect a module loading issue (not a config issue). 
The answer is likely in your dmesg or messages log 

:-)

can you successfully modprobe fuse after first login?


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Install issue

2011-05-29 Thread Colleen Beamer
On Sun, May 29, 2011 at 6:11 PM, Alan McKinnon alan.mckin...@gmail.comwrote:

 Apparently, though unproven, at 23:56 on Sunday 29 May 2011, Mick did opine
 thusly:

   I wonder if you haven't just tripped over a bug in baselayout or recent
   stage3's. I just did a new install here but used an old stage3 that was
   still baselayout-1. I did not run into the issues you did. What does
   b.g.o. say?
 
  I'm sure that I've come across the same problem some time in the distant
  past  and had to create these two nodes manually.
 
  However, it should be easy to prove if this is a bug or not - look in the
  stage3 tar file for /dev/console and /dev/null?

 True enough recent stage 3 tarballs for amd64 on my mirror are either
 faulty
 or do not contain /dev/console.

 May 20 and 26 are faulty

 April 28 is OK

 Colleen, you should follow the tip you found on Google to fix this. What
 stage
 3 did you download and use?


Actually, I used the most recent one - I think May 26th,  However, my first
install (that I screwed up on was the May 25th one, but I got the same
message.  Don't know if it makes a difference, but I used a tarball for x86.

Think I'll try the fix that I found on google first before attempting to
find a stage 3 tarball that is not faulty.

BTW, I can't recall from previous installs when I'm supposed to do this, but
I thought that baselayout got emerged somewhere during the install prior to
rebooting.  There was no place in the handbook that mentioned installing
baselayout .. and yes, I did read the news item about baselayout2 and
openrc migration.

Regards,

Colleen






 --
 alan dot mckinnon at gmail dot com




Re: [gentoo-user] gnome 3 ??

2011-05-29 Thread Allan Gottlieb
On Thu, May 26 2011, Canek Peláez Valdés wrote:

 On Thu, May 26, 2011 at 4:23 PM, Allan Gottlieb gottl...@nyu.edu wrote:

 Thank you.  Some forum posts suggest that upgrading to gnome3 from
 gnome2 is difficult.  Did you

 1.  Upgrade from 2.32.1
 2.  Unmerge 2.32.1 then merge 3
 3.  Do a fresh install of gentoo w/o gnome and then install gnome3
 4.  Do something else

 All of the above? :D

 I keyworded and unmasked the necessary packages to make
 =gnome-base/gnome-3.0.0 emergable; then I upgraded like usual. There
 were some problems, but usually solvable by emerge -C the offending
 package (and older version, generally). I removed (after backup)
 ~/.gconf, ~/.gnome2* ~/.metacity ~/.nautilus and ~/.evolution (I
 *think* this was not really necessary, by I wanted to see a pristine
 GNOME 3). At the end, I emerge --depclean, and then after a couple of
 emerge -uDNvp world everything went to normal. I haven't had  any
 problem since then.

 Oh, at some point I emerge @preserved-rebuild and then again emerge
 --depclean.

 It took a couple of days of try/error, and be warned that you should
 do this fom a VT, not from X (unless you do it under twm or something
 like that).

Thanks again for sharing your experiences.
allan



Re: [gentoo-user] Install issue

2011-05-29 Thread Alan McKinnon
Apparently, though unproven, at 01:09 on Monday 30 May 2011, Colleen Beamer 
did opine thusly:

  Colleen, you should follow the tip you found on Google to fix this. What
  stage
  3 did you download and use?
 
 Actually, I used the most recent one - I think May 26th,  However, my first
 install (that I screwed up on was the May 25th one, but I got the same
 message.  Don't know if it makes a difference, but I used a tarball for
 x86.

I'm not sure how the stages are built. it might be a hand-crafted list of 
stuffs, or maybe it's a script that builds the (mostly) same thing for each 
arch.

I reckon the latter, in which case x86 and amd64 will probably give similar 
results.

 Think I'll try the fix that I found on google first before attempting to
 find a stage 3 tarball that is not faulty.

The google fix will work. Really, trust me, I'm a sysadmin :-)

It's just a missing file that the install process should have made. You simply 
need to make it manually.

 BTW, I can't recall from previous installs when I'm supposed to do this,
 but I thought that baselayout got emerged somewhere during the install
 prior to rebooting.  There was no place in the handbook that mentioned
 installing baselayout .. and yes, I did read the news item about
 baselayout2 and openrc migration.

The initial stage contains baselayout already, it's one of those things that 
is absolutely needed for a gentoo system to even exist at all. All a stage 
really is, is a large archive of an actual install with all it's various bits 
- files, dirs, and the matching entries in portage's database of things 
installed.

OK, it's not really built like that but the analogy will suffice. The end 
result is the same and portage cannot tell the difference between baselayout 
coming out of the stage and you installing it yourself.

The only time you install baselayout during an install is when you update 
world and there's a newer baselayout available than the one in the stage. 
That's true for almost every package in portage (except kernel sources, those 
are special)


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] How do I eject an audio CD inside Gnome?

2011-05-29 Thread Peter Humphrey
On Sunday 29 May 2011 22:56:10 Alan McKinnon wrote:

 My money says you've been hit by the Gnome Borg - where you are only
 permitted to do things the way the gnome devs have deemed to be
 appropriate and TheOneTrueWay(tm). After all, you are just a user, what
 do you know? The devs know better, you must trust them!

Just like Windows.

-- 
Rgds
Peter



[gentoo-user] setting locale

2011-05-29 Thread Allan Gottlieb
On one of my machines all the LC_ variables are POSIX.
I want them to be en_US.utf8 as on my other machines.

I have the done the following (from the handbook)

1.  cat /etc/local.gen (ignoring comments)

   en_US ISO-8859-1
   en_US.UTF-8 UTF-8

2.  locale-gen

3.  source /etc/profile

4.  locale

   LANG=
   LC_CTYPE=POSIX
   LC_NUMERIC=POSIX
   LC_TIME=POSIX
   and others as well
   LC_All=

What must I do to get en_US_utf8 ?

thanks,
allan



Re: [gentoo-user] setting locale

2011-05-29 Thread Nils Larsson
måndagen den 30 maj 2011 03:26:49 skrev  Allan Gottlieb:
 What must I do to get en_US_utf8 ?

echo LANG=en_US_utf8  /etc/env.d/02locale
and
env-update
should work.