[gentoo-user] scanner with ADF for Linux

2011-11-26 Thread Joseph

Any suggestion for scanner with good Linux support and ADF

--
Joseph



Re: [gentoo-user] Any vbox made gentoo vm appliances available for dload

2011-11-26 Thread Vishnupradeep
Need login details.


Linux Blog: http://xtreme-linux.blogspot.com/
Fedora Blog: http://xtreme-fedora.blogspot.com/
My Blog: http://sharedonweb.blogspot.com/




On Sun, Nov 27, 2011 at 7:14 AM, Albert W. Hopkins
wrote:

> On Sat, 2011-11-26 at 17:01 -0600, Harry Putnam wrote:
> > Creating a gentoo vm has always been a serious pita to me.  I'm sure
> > there will be those who claim its `simple'.
> >
> > Simple or not, I want to bypass it if possible.
> >
> > So wondering if anyone here has (or has seen) a gentoo (vbox)
> > appliance available for download?
> >
> >
> I maintain a quasi-daily build of a gentoo virtual appliance.  It should
> work with kvm, vmware, and virutalbox (and possibly xen?).
>
> The list of packages installed are:
>
> http://starship.python.net/crew/marduk/base-dist-package.lst
>
> The image is at:
>
> http://starship.python.net/crew/marduk/base-dist.vmdk.bz2
>
> It's a vmdk but I'm told it works with vbox.
>
> This is just a minimal Gentoo install, I have specialized appliances as
> well.
>
>
>
>
>
>


Re: [gentoo-user] Any vbox made gentoo vm appliances available for dload

2011-11-26 Thread Vishnupradeep
Albert W. Hopkins, is that 64bit or 32bit ?



Linux Blog: http://xtreme-linux.blogspot.com/
Fedora Blog: http://xtreme-fedora.blogspot.com/
My Blog: http://sharedonweb.blogspot.com/




On Sun, Nov 27, 2011 at 7:14 AM, Albert W. Hopkins
wrote:

> On Sat, 2011-11-26 at 17:01 -0600, Harry Putnam wrote:
> > Creating a gentoo vm has always been a serious pita to me.  I'm sure
> > there will be those who claim its `simple'.
> >
> > Simple or not, I want to bypass it if possible.
> >
> > So wondering if anyone here has (or has seen) a gentoo (vbox)
> > appliance available for download?
> >
> >
> I maintain a quasi-daily build of a gentoo virtual appliance.  It should
> work with kvm, vmware, and virutalbox (and possibly xen?).
>
> The list of packages installed are:
>
> http://starship.python.net/crew/marduk/base-dist-package.lst
>
> The image is at:
>
> http://starship.python.net/crew/marduk/base-dist.vmdk.bz2
>
> It's a vmdk but I'm told it works with vbox.
>
> This is just a minimal Gentoo install, I have specialized appliances as
> well.
>
>
>
>
>
>


Re: [gentoo-user] Install problem - SATA CD-ROM drive (SOLVED)

2011-11-26 Thread Rod
On Sun, 27 Nov 2011 08:36:56 +1100, Paul Colquhoun 
 wrote:

On Fri, 25 Nov 2011 11:29:16 PM Dale wrote:

Paul Colquhoun wrote:
> On Fri, 25 Nov 2011 07:28:50 PM Albert W. Hopkins wrote:
>> On Sat, 2011-11-26 at 11:01 +1100, Paul Colquhoun wrote:
>>> Some research tells me that this is a problem with SATA CD-ROMs, 
and

>>> needs a
>>> kernel configured with the libata module option atapi_enabled=1
>>>
>>> Does anybody know of a Live CD that will work with a SATA CD 
drive?

>>
>> AFAIK most (all) modern computers that have CDROM drives are 
SATA, at
>> least the one i bought a couple of years ago does.. so I'm 
wondering

>> if
>> your problem is not that you have a SATA CDROM but something 
else.

>>
>> Have you tried boot media other than the Gentoo livecd?
>
> Actually I had tried 4 boot media *other* *than* the Gentoo 
livecd, for

> the simple reason that I thought they had stopped making them!
>
> Stupid me.
>
> Looking at the Gentoo download page, they have an AMD64 minimal 
install

> CD image created just days ago.
>
> The Gentoo livecd works!  I should have looked there first and 
saved

> myself a lot of trouble (and 4 blank CDs!).

Could it be something in the BIOS maybe?  My rig that I built last 
year
has a SATA CD/DVD burner and it boots Gentoo CDs, Knoppix, 
systemrescue
and another that I can't recall.  Knotix (?) or something.  It 
should

work.  You may want to try systemrescue if you haven't already.  I'd
figure this out before something happens and you have to boot 
something

to fix it.

Dale

:-)  :-)



It may be something in the BIOS, but I didn't change anything between 
the
other livecds NOT working, and the Gentoo one working, so the Gentoo 
livecd

seems to have done something different.


I have been running SATA-DVD drive (ok not CD) for a few years with no 
problems with reading or writing from either Gentoo-Linux or Windoze





Re: [gentoo-user] Any vbox made gentoo vm appliances available for dload

2011-11-26 Thread Albert W. Hopkins
On Sat, 2011-11-26 at 17:01 -0600, Harry Putnam wrote:
> Creating a gentoo vm has always been a serious pita to me.  I'm sure
> there will be those who claim its `simple'.  
> 
> Simple or not, I want to bypass it if possible.
> 
> So wondering if anyone here has (or has seen) a gentoo (vbox)
> appliance available for download?
> 
> 
I maintain a quasi-daily build of a gentoo virtual appliance.  It should
work with kvm, vmware, and virutalbox (and possibly xen?).

The list of packages installed are:

http://starship.python.net/crew/marduk/base-dist-package.lst

The image is at:

http://starship.python.net/crew/marduk/base-dist.vmdk.bz2

It's a vmdk but I'm told it works with vbox.

This is just a minimal Gentoo install, I have specialized appliances as
well.







Re: [gentoo-user] Any vbox made gentoo vm appliances available for dload

2011-11-26 Thread James Wall
On Sat, Nov 26, 2011 at 5:01 PM, Harry Putnam  wrote:
> Creating a gentoo vm has always been a serious pita to me.  I'm sure
> there will be those who claim its `simple'.
>
> Simple or not, I want to bypass it if possible.
>
> So wondering if anyone here has (or has seen) a gentoo (vbox)
> appliance available for download?
>
>
>

>From an earlier thread about virtual machine images the link is here:
the thread is titled  [OT virtual stuff] gentoo vm appliance
http://starship.python.net/crew/marduk/base.vmdk

-- 
No trees were harmed in the sending of this message. However, a large
number of electrons were terribly inconvenienced.



Re: [gentoo-user] gnome 3 has landed

2011-11-26 Thread Mark Knecht
On Sat, Nov 26, 2011 at 12:07 PM, walt  wrote:
> Well, at least on ~x86 and ~amd64 gnome3 is the default now.  I have
> mixed feelings about gnome3, so I let gentoo install it on a VirtualBox
> VM to start with and I'll think about updating my real machines later.
>
> The new gnome-shell is the controversial piece of gnome3 and (so far)
> I find it counterproductive.
>
> I googled how to disable the gnome-shell and get my gnome-panel back,
> along with the panel applets that I refuse to give up.  (The gnome-
> shell replaces the gnome-panel, so there is nowhere to run the old
> applets.)
>
> If you want to disable gnome-shell you can do it with the System Info
> function in System Settings.  Click the Graphics icon and enable the
> gnome-fallback setting to disable gnome-shell.  Ah, much better :)

Slashdot today had an announcement of a Linux Mint 12 release which
notably had comments about something called Mint Gnome Shell
Extensions which supposedly lets them use Gnome 3 with a 'Gnome 2-Like
Experience'. (How's that for marketing?!?)

Maybe there's something there that could help you?

Cheers,
Mark



Re: [gentoo-user] LibreOffice 3.4.4: required HDD space

2011-11-26 Thread Dale

Alan McKinnon wrote:
9G is what the dev reckons is the maximum. This other figure of 4G - 
what is that? The amount needed by some arb combination on some arb 
user's machine? That's not a good enough criteria. It's not really the 
maximum plus one well-defined other. It's is the maximum plus every 
other possible combination (there is no defined minimal). If it's an 
issue for you, the solution is simple - keep a copy of the ebuild in 
your local overlay and edit the space requirements. Keep it up to date 
and in-sync with the ebuild in the main tree. It means you get to a 
little extra work, but is preferable to the dev doing a lot of extra work


With a compile that takes as long as LOo does, I'd want the dev to be on 
the side of caution rather than underestimating it.  If the max is 9Gbs, 
then that is what they should check for.  I would much rather the dev do 
that than for me to get to about 90% of the compile done then get the 
little message that it is out of space.  I wouldn't be "hal" mad but it 
would sort of tick me off a bit.  ;-)  Maybe not as bad as /usr on init 
or using a init thingy either.  Still a bit upset tho.


Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] wicd and net-tools

2011-11-26 Thread Paul Hartman
On Fri, Nov 25, 2011 at 4:58 PM, Allan Gottlieb  wrote:
> In the last day or two wicd broke badly due to a net-tools upgrade.
>
> The recommended workarounds are to specify USE=old-output
> for net-tools or to downgrade net-tools one version (I am ~amd64).
>
> Neither of these have helped me.  Wicd cannot start either the
> wired or wireless interface.

I have no solution, but just a "me too" that wicd-based networking
stopped working entirely after I emerged some updates a couple days
ago. My short-term "solution" was just stop wicd and use the old-style
net init script instead since I haven't had time to research any this
weekend yet.



Re: [gentoo-user] glibc-2.14.1 upgrade

2011-11-26 Thread Paul Hartman
On Sat, Nov 26, 2011 at 6:25 PM, Adam Carter  wrote:
 >> /lib64/libc.so.6: version `GLIBC_2.14' not found (required by
 >> /lib64/libcrypt.so.1)
 >>
 >> There were no @preserved-rebuild and revdep-rebuild found nothing. I
 >> rebuilt pam and things seem to be working again. Are there any other
 >> packages I should rebuild before encountering a problem? Or some way
 >> to detect which need to be rebuilt? Should I re-emerge world against
 >> my new glibc? :)
>
> How did you know to rebuild pam?
>
> Both /lib64/libc.so.6 and /lib64/libcrypt.so.1 are from glibc, and I
> interpret your error as  'libcrypt.so.1 couldn't find a GLIBC_2.14
> version of /lib64/libc.so.6', which doesn't make any sense to me as
> both files are from the same package. How could the version dependency
> between them be incorrect?

Sorry, I accidentally pasted the incomplete error message. It was part
of this kind of message in my syslog:

Nov 25 19:40:01 [cron] PAM unable to
dlopen(/lib64/security/pam_unix.so): /lib64/libc.so.6: version
`GLIBC_2.14' not found (required by /lib64/security/pam_unix.so)
Nov 25 19:40:01 [cron] PAM adding faulty module: /lib64/security/pam_unix.so

and xdm wouldn't restart after i upgraded glibc, until I rebuilt PAM.
Or maybe it was coincidental...



Re: [gentoo-user] glibc-2.14.1 upgrade

2011-11-26 Thread Adam Carter
>>> >> /lib64/libc.so.6: version `GLIBC_2.14' not found (required by
>>> >> /lib64/libcrypt.so.1)
>>> >>
>>> >> There were no @preserved-rebuild and revdep-rebuild found nothing. I
>>> >> rebuilt pam and things seem to be working again. Are there any other
>>> >> packages I should rebuild before encountering a problem? Or some way
>>> >> to detect which need to be rebuilt? Should I re-emerge world against
>>> >> my new glibc? :)

How did you know to rebuild pam?

Both /lib64/libc.so.6 and /lib64/libcrypt.so.1 are from glibc, and I
interpret your error as  'libcrypt.so.1 couldn't find a GLIBC_2.14
version of /lib64/libc.so.6', which doesn't make any sense to me as
both files are from the same package. How could the version dependency
between them be incorrect?



Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Mark Knecht
On Sat, Nov 26, 2011 at 3:50 PM, Neil Bothwick  wrote:
> On Sat, 26 Nov 2011 15:43:21 -0800, Mark Knecht wrote:
>
>> > The problem people have with LVM is not working with PVs, VGs and
>> > LVs, it is understanding what they are and how they fit together.
>> > Once that is clear, the system becomes as simple as you stated.
>
>> I have a machine I built a couple of years ago that has a good Intel
>> MB & processor (i5-661) from that time frame, and the machine already
>> has Gentoo on it, but the hard drives where more or less what I had
>> hanging around at the time so it ended up with 4 smallish drives. 3
>> for Gentoo, 1 for Windows. Would it be a reasonable training exercise
>> to take a new 1TB drive and do some sort of rsync copy of those 3
>> drives into some sort of a LVM and see how it works?
>
> Yes, although you could also manage it without a new drive. It's a more
> challenging exercise, and probably not for an LVM novice, but you could
> convert the three drives into a single volume group without recourse to
> another drive, provided they weren't all 90% full.
>
>
> --
> Neil Bothwick

They are all small drives (80GB or 160GB) and they are all over 90%
full. They are also fairly slow and draw higher power than the 1TB
drive so I figure I'll save a few bucks on electricity each month by
doing it.

Not sure if I'll try moving Windows to the same drive. Seems like I
should as it will remove another drive from the box.

- Mark



Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Neil Bothwick
On Sat, 26 Nov 2011 15:43:21 -0800, Mark Knecht wrote:

> > The problem people have with LVM is not working with PVs, VGs and
> > LVs, it is understanding what they are and how they fit together.
> > Once that is clear, the system becomes as simple as you stated.

> I have a machine I built a couple of years ago that has a good Intel
> MB & processor (i5-661) from that time frame, and the machine already
> has Gentoo on it, but the hard drives where more or less what I had
> hanging around at the time so it ended up with 4 smallish drives. 3
> for Gentoo, 1 for Windows. Would it be a reasonable training exercise
> to take a new 1TB drive and do some sort of rsync copy of those 3
> drives into some sort of a LVM and see how it works?

Yes, although you could also manage it without a new drive. It's a more
challenging exercise, and probably not for an LVM novice, but you could
convert the three drives into a single volume group without recourse to
another drive, provided they weren't all 90% full.


-- 
Neil Bothwick

Definition of Trust: Two cannibals having oral sex.


signature.asc
Description: PGP signature


Re: [gentoo-user] Gnupg 2 and BZIP2 preference

2011-11-26 Thread Florian Philipp
Am 27.11.2011 00:03, schrieb Samuraiii:
> Hello fellow Gentoonians,
> 
> I have problem with Gnupg 2 and compress preference on keys.
> 
> When I recieve email which is for recipirnt with set compress preference
> to BZIP2 Thunderbird (with enigmail) fails to decrypt it due this:
> 
> gpg command line and output:
> /usr/bin/gpg2
> gpg: invalid item `BZIP2' in preference string
> gpg: invalid personal compress preferences
> 
> As I have set BZIP2 USE as global in make.conf I don't see why is not
> working
> 
> gpg --version returns:
[...]

I've re-emerged gpg-2.0.17 (USE="nls bzip2) and cannot confirm this issue.

gpg --version
gpg (GnuPG) 2.0.17
libgcrypt 1.4.6
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB, BZIP2

Regards,
Florian Philip



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Mark Knecht
On Sat, Nov 26, 2011 at 3:32 PM, Neil Bothwick  wrote:
> On Sun, 27 Nov 2011 00:01:07 +0100, Alex Schuster wrote:
>
>> > Seriously, LVM looks mighty nice, but it also looks (and is!) mighty
>> > complex.
>>
>> I really don't think so. pvcreate  creates a physical volume,
>> vgcreate   starts a volume group, and lvcreate -n
>>  -L   creates a logical volume that you can use as
>> if it were a physical partition.
>
> The problem people have with LVM is not working with PVs, VGs and LVs, it
> is understanding what they are and how they fit together. Once that is
> clear, the system becomes as simple as you stated.
>
>
> --
> Neil Bothwick

I have a machine I built a couple of years ago that has a good Intel
MB & processor (i5-661) from that time frame, and the machine already
has Gentoo on it, but the hard drives where more or less what I had
hanging around at the time so it ended up with 4 smallish drives. 3
for Gentoo, 1 for Windows. Would it be a reasonable training exercise
to take a new 1TB drive and do some sort of rsync copy of those 3
drives into some sort of a LVM and see how it works?

- Mark



[gentoo-user] Re: gnome 3 has landed

2011-11-26 Thread walt

On 11/26/2011 02:11 PM, Stefan G. Weichinger wrote:

Am 2011-11-26 22:56, schrieb Stefan G. Weichinger:


Let me get this straight: if I want to somehow stay in the world of
gnome-2.32 (panels, desktop, etc) I could simply avoid masking any of
the new stuff and use the mentioned gnome-fallback-setting?

I also hesitate to leave my comfort zone ...  ;-) (and I am on ~amd64 as
well).


I think I will keep on masking ...

http://www.dedoimedo.com/computers/gnome-3-fallback.html for example
tells me there are no applets, no desktop-behavior that I am used to.


That's where I learned about fallback-mode, but you can indeed install
panel applets like system-monitor, weather, clock, etc and add panel
icons to start your favorite apps.

One *very* important thing to know, however:  To do things like move
your panel icons around and add new ones, you must alt-right-click
on the panel instead of just plain right-click.  Took me a while to
google that one.  (This works only in fallback mode, BTW.)

I'd say gnome3 is definitely better now than kde4 was when it first
launched.  (But that's faint praise indeed :)




Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Neil Bothwick
On Sun, 27 Nov 2011 00:01:07 +0100, Alex Schuster wrote:

> > Seriously, LVM looks mighty nice, but it also looks (and is!) mighty
> > complex.  
> 
> I really don't think so. pvcreate  creates a physical volume,
> vgcreate   starts a volume group, and lvcreate -n
>  -L   creates a logical volume that you can use as
> if it were a physical partition.

The problem people have with LVM is not working with PVs, VGs and LVs, it
is understanding what they are and how they fit together. Once that is
clear, the system becomes as simple as you stated.


-- 
Neil Bothwick

I cna ytpe 300 wrods pre mniuet!!!


signature.asc
Description: PGP signature


Re: [gentoo-user] Any vbox made gentoo vm appliances available for dload

2011-11-26 Thread Mark Knecht
On Sat, Nov 26, 2011 at 3:01 PM, Harry Putnam  wrote:
> Creating a gentoo vm has always been a serious pita to me.  I'm sure
> there will be those who claim its `simple'.
>
> Simple or not, I want to bypass it if possible.
>
> So wondering if anyone here has (or has seen) a gentoo (vbox)
> appliance available for download?
>
>
>

They are out there but my experience is they are generally sort of old
and unmaintained. Being a Gentoo user you know a Gentoo machine with
no updates for a year is almost useless in terms of moving forward.

Anyway, here's one I found in Google:

http://virtualboxes.org/images/gentoo/

HTH,
Mark



[gentoo-user] Gnupg 2 and BZIP2 preference

2011-11-26 Thread Samuraiii
Hello fellow Gentoonians,

I have problem with Gnupg 2 and compress preference on keys.

When I recieve email which is for recipirnt with set compress preference
to BZIP2 Thunderbird (with enigmail) fails to decrypt it due this:

gpg command line and output:
/usr/bin/gpg2
gpg: invalid item `BZIP2' in preference string
gpg: invalid personal compress preferences

As I have set BZIP2 USE as global in make.conf I don't see why is not
working

gpg --version returns:

gpg (GnuPG) 2.0.17
libgcrypt 1.4.6
Copyright (C) 2011 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later

This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.

Home: ~/.gnupg
Supported algorithms:
Pubkey: RSA, ELG, DSA
Cipher: 3DES, CAST5, BLOWFISH, AES, AES192, AES256, TWOFISH, CAMELLIA128,
CAMELLIA192, CAMELLIA256
Hash: MD5, SHA1, RIPEMD160, SHA256, SHA384, SHA512, SHA224
Compression: Uncompressed, ZIP, ZLIB


I even recompiled gpg but no luck and my bug
(https://bugs.gentoo.org/show_bug.cgi?id=390163)only got Unconfirmed
flag and that's all
I would appreciate any suggestions (disabling  BZIP2 preference doesn't
solve problem for me)

Thank you in advance
S




Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Alex Schuster
Pandu Poluan writes:

> Everytime I read some guide on LVM, my eyes becomes blurry, the room 
> starts spinning, and I can hear wolves howling ... :D
> 
> Seriously, LVM looks mighty nice, but it also looks (and is!) mighty
> complex.

I really don't think so. pvcreate  creates a physical volume,
vgcreate   starts a volume group, and lvcreate -n
 -L   creates a logical volume that you can use as
if it were a physical partition.

  pvcreate /dev/sda5
  vgcreate myvg /dev/sda5
  lvcreate -n usr -L 10G myvg
  mke2fs -j /dev/myvg/usr

> So, I want to start from something simple.

Of course, just using /dev/sda5 for /usr is simpler. But what if this
turns out to be too small? With so many partitions I would think this is
very likely to happen sooner or later. With LVM, all you'd have to do is:

  lvresize -L +1G /dev/myvg/usr
  resize2fs /dev/myvg/usr

Takes 10 seconds plus the time you need to type this, and you have 1G of
more space. Otherwise, you'd probably have to boot from another system
and use something like parted to move stuff around. Or move stuff like
/usr/src to other partitions.

Another neat featurea are snapshots, this is nice for backups.


> Comments, suggestions, are welcome :)

I also have many partitons, but I've overdone italready.

I like to have all big partitions separated in order to prevent / from
becoming full, so I have /home, /opt, /tmp, /usr and /var. I also have
/usr/{local,src}. And a big partition for /var/portage, contining tree
(sometimes on its own partition), distfiles and tmpdir. And /home. And
/data/{mp3,mpeg}. And /32 for my 32 bit chroot Gentoo. And /backup for
all sorts of backups, including a sub-directory with another partiton
for each of the partitions above. All are LUKS-encrypted, and it takes a
while during bootup until they are all opened. But then, I reboot very
seldomly.

Wonko



[gentoo-user] Any vbox made gentoo vm appliances available for dload

2011-11-26 Thread Harry Putnam
Creating a gentoo vm has always been a serious pita to me.  I'm sure
there will be those who claim its `simple'.  

Simple or not, I want to bypass it if possible.

So wondering if anyone here has (or has seen) a gentoo (vbox)
appliance available for download?




Re: [gentoo-user] gnome 3 has landed

2011-11-26 Thread covici
Vishnupradeep  wrote:

> Is that true, Gnome 3 available for gentoo. can i emerge it ?
> 
> 
> Fedora Blog: http://xtreme-fedora.blogspot.com/
> My Blog: http://sharedonweb.blogspot.com/
> 
> 
> 
> 
> On Sun, Nov 27, 2011 at 1:37 AM, walt  wrote:
> 
> > Well, at least on ~x86 and ~amd64 gnome3 is the default now.  I have
> > mixed feelings about gnome3, so I let gentoo install it on a VirtualBox
> > VM to start with and I'll think about updating my real machines later.
> >
> > The new gnome-shell is the controversial piece of gnome3 and (so far)
> > I find it counterproductive.
> >
> > I googled how to disable the gnome-shell and get my gnome-panel back,
> > along with the panel applets that I refuse to give up.  (The gnome-
> > shell replaces the gnome-panel, so there is nowhere to run the old
> > applets.)
> >
> > If you want to disable gnome-shell you can do it with the System Info
> > function in System Settings.  Click the Graphics icon and enable the
> > gnome-fallback setting to disable gnome-shell.  Ah, much better :)
> >

What do I have to mask to prevent this for the time being?

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

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



Re: [gentoo-user] gnome 3 has landed

2011-11-26 Thread Stefan G. Weichinger
Am 2011-11-26 22:56, schrieb Stefan G. Weichinger:

> Let me get this straight: if I want to somehow stay in the world of
> gnome-2.32 (panels, desktop, etc) I could simply avoid masking any of
> the new stuff and use the mentioned gnome-fallback-setting?
> 
> I also hesitate to leave my comfort zone ...  ;-) (and I am on ~amd64 as
> well).

I think I will keep on masking ...

http://www.dedoimedo.com/computers/gnome-3-fallback.html for example
tells me there are no applets, no desktop-behavior that I am used to.

Right now I use some package.mask-list from a posting in the
gentoo-forums  I'd be happy if the maintainers would provide us with
a way to easily chose to stay w/ 

Re: [gentoo-user] gnome 3 has landed

2011-11-26 Thread Stefan G. Weichinger
Am 2011-11-26 21:07, schrieb walt:

> The new gnome-shell is the controversial piece of gnome3 and (so far)
> I find it counterproductive.
> 
> I googled how to disable the gnome-shell and get my gnome-panel back,
> along with the panel applets that I refuse to give up.  (The gnome-
> shell replaces the gnome-panel, so there is nowhere to run the old
> applets.)
> 
> If you want to disable gnome-shell you can do it with the System Info
> function in System Settings.  Click the Graphics icon and enable the
> gnome-fallback setting to disable gnome-shell.  Ah, much better :)

Let me get this straight: if I want to somehow stay in the world of
gnome-2.32 (panels, desktop, etc) I could simply avoid masking any of
the new stuff and use the mentioned gnome-fallback-setting?

I also hesitate to leave my comfort zone ...  ;-) (and I am on ~amd64 as
well).

Thanks, Stefan



Re: [gentoo-user] Install problem - SATA CD-ROM drive (SOLVED)

2011-11-26 Thread Paul Colquhoun
On Fri, 25 Nov 2011 11:29:16 PM Dale wrote:
> Paul Colquhoun wrote:
> > On Fri, 25 Nov 2011 07:28:50 PM Albert W. Hopkins wrote:
> >> On Sat, 2011-11-26 at 11:01 +1100, Paul Colquhoun wrote:
> >>> Some research tells me that this is a problem with SATA CD-ROMs, and
> >>> needs a
> >>> kernel configured with the libata module option atapi_enabled=1
> >>> 
> >>> Does anybody know of a Live CD that will work with a SATA CD drive?
> >> 
> >> AFAIK most (all) modern computers that have CDROM drives are SATA, at
> >> least the one i bought a couple of years ago does.. so I'm wondering
> >> if
> >> your problem is not that you have a SATA CDROM but something else.
> >> 
> >> Have you tried boot media other than the Gentoo livecd?
> > 
> > Actually I had tried 4 boot media *other* *than* the Gentoo livecd, for
> > the simple reason that I thought they had stopped making them!
> > 
> > Stupid me.
> > 
> > Looking at the Gentoo download page, they have an AMD64 minimal install
> > CD image created just days ago.
> > 
> > The Gentoo livecd works!  I should have looked there first and saved
> > myself a lot of trouble (and 4 blank CDs!).
> 
> Could it be something in the BIOS maybe?  My rig that I built last year
> has a SATA CD/DVD burner and it boots Gentoo CDs, Knoppix, systemrescue
> and another that I can't recall.  Knotix (?) or something.  It should
> work.  You may want to try systemrescue if you haven't already.  I'd
> figure this out before something happens and you have to boot something
> to fix it.
> 
> Dale
> 
> :-)  :-)


It may be something in the BIOS, but I didn't change anything between the 
other livecds NOT working, and the Gentoo one working, so the Gentoo livecd 
seems to have done something different.


-- 
Reverend Paul Colquhoun, ULC.http://andor.dropbear.id.au/~paulcol
 Before you criticize someone, you should walk a mile in their shoes.
Then, when you do, you'll be a mile away, and you'll have their shoes.




Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Neil Bothwick
On Fri, 25 Nov 2011 17:58:55 -0600, Dale wrote:

> If I were you, I would at least try to put /boot and / outside LVM then 
> everything else on LVM.  Just make sure /boot and / have PLENTY of
> space since they are pretty much committed at that point. 

I find 400MB for / (and no separate /boot) to be ample space, usually
only 50% full. Everything else then goes in LVs. This is (soon to be was)
one of the advantages of a small / and separate /usr, all the flexibility
of LVM without the need for an initramfs.


-- 
Neil Bothwick

Save the whales. Collect the whole set.


signature.asc
Description: PGP signature


Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Neil Bothwick
On Sun, 27 Nov 2011 01:42:40 +0700, Pandu Poluan wrote:

> > - Keeping data and code separate is always a good idea. But only a few
> >  things in /var are critical like /var/log and /var/.
> >  Everything else is usually tiny and can safely live on /

> Except /var/tmp, which can grow to epic proportions :-)

Put PORTAGE_TMPDIR on its own filesystem (possibly tmpfs) and that will no
longer happen.


-- 
Neil Bothwick

Q   How many screws are there in a lesbians coffin?
A   None. It's all tongue and groove.


signature.asc
Description: PGP signature


Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Alan McKinnon
On Sun, 27 Nov 2011 02:05:57 +0700
Pandu Poluan  wrote:


> Not really explaining waltdnes' interesting layout, but using
> bindmount (instead of symlinks) ensures that when a program tries to
> find a relative directory from a path, it will not attempt to do so
> from the symlink's target.

[snip]

> Ta da! The ephemeral directories can now just fight among
themselves,
> and the important directories can be backed up in one fell swoop (via
> /mnt/.persistents)?
> 
> Thoughts are welcome, of course :)
> 
> Rgds,

That's an interesting solution but I still don't understand the problem
it solves.

What actual real-world threat does this counter? Not a theoretical
threat, an actual real one, and why do you think you need to stop
software using relative paths?

Not to rain on your parade, but it just sounds a lot like chrooting
named - a huge amount of work, a real PITA for the maintainer, lots and
lots of warm fuzzies for PHBs, but no real actual benefit overall.

-- 
Alan McKinnnon
alan.mckin...@gmail.com



[gentoo-user] Re: gnome 3 has landed

2011-11-26 Thread Remy Blank
Vishnupradeep wrote:
> Is that true, Gnome 3 available for gentoo. can i emerge it ?

You know, you don't need to ask us for permission ;)

-- Remy



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Alan McKinnon
On Sun, 27 Nov 2011 01:42:40 +0700
Pandu Poluan  wrote:

> On Nov 26, 2011 2:57 PM, "Alan McKinnon" 
> wrote:
> >
> > On Fri, 25 Nov 2011 20:53:17 +0700
> > Pandu Poluan  wrote:
> >
> > > I want to build a Gentoo server box whose structure is
> > > highly-partitioned, like this:
> >
> > partition setups are like lovers - highly variable. And the one that
> > suits you will suit almost no-one else.
> >
> 
> Careful, you've just raised some unholy memories there ;-)
> 
> > Many of the recommendations you find on-line come from an earlier
> > time and the reason they got going is no longer valid for the most
> > part. So do take care to evaluate the real reason why you are doing
> > something.
> >
> > Valid reasons included:
> >
> > You want to unmount a dir structure (/boot).
> > The fs type for a partition is different from that fs it mounts to
> > (often /var/log but these days most often used with tmpfs).
> > You need to mount an fs with different mount options to the fs it
> > mounts onto (/home noexec on multi-user setups for example)
> >
> > The way to do this is not to search Google for recommendations, as
> > there is no such valid thing, but to figure out for yourself why you
> > want a mountpoint, calculate how much space *you* need, then do it.
> 
> Indeed, that's what I originally asked: the numbers.
> 
> > Read other's experiences who use similar software as you by all
> > means, but that will be mere hints.
> >
> > My own thoughts:
> >
> > - I can't find a good reason anymore to have a local /usr separate.
> > It's always mounted on my systems, even in maintenance mode (there's
> >  always at least one decent tool that the distro decided to put
> >  in /usr/sbin)
> >
> 
> Mounting it ro not a good idea?

Personally, I find an ro /usr a gigantic PITA. I'm the kind of guy that
will forget to remount it before emerge too many times, then write a
wrapper script around emerge. Thus effectively undoing the entire
benefot of having it ro at all :-)

I also remember the the brain-dead rpm maintainer from RedHat. rpm
would happily update it's database then bail out halfway through the
install() phase if /usr was mounted ro, leaving the database
irreversibly corrupt. For three years this person refused to consider
this a bug even though rpm could easily detect the condition in advance
every single time (i.e. a classic case of verify you *can* write
something before writing it).

Such stories make me fearful of a local /usr mounted ro. Your needs may
differ.

A remote /usr mounted over NFS remotely as a terminal server - that's a
different story altogether.


> 
> > - /tmp is only useful on it's own if it's a tmpfs. Mine hasn't ever
> >  filled up anywhere (despite best efforts of users). tmpfs is
> > general is an awesome idea.
> >
> 
> Noted.
> 
> > - Keeping data and code separate is always a good idea. But only a
> > few things in /var are critical like /var/log and /var/.
> >  Everything else is usually tiny and can safely live on /
> >
> 
> Except /var/tmp, which can grow to epic proportions :-)

As a sysadmin of a real server I would expect no less from you than a
Nagios instance that mails you before the point of epicness :-)

> > - /boot is traditionally separate partly because long long long ago
> >  BIOSs couldn't read past 1024 cylinders which borked lilo. This is
> > no longer true.
> >
> 
> I'm a bit scared that a buggy program or script borked the kernels I
> put there...
> 
> Thus also the reason to mount /usr ro.

Following on from above, consider this:

The only thing you will allow to write to /usr is emerge, right? And
like most folks you don't check every bit of what it does?

So the buggy scripts you are in fear of will be ebuilds. And yet, you
will always allow then to be installed without prior checks.

So why do you plan to have safeguards when you know in advance you
will always suspend them? 

> And if I can make /bin /sbin /etc all ro, I want to make them ro,
> too...
> 
> Am I being too paranoid?

Yes.

You are causing yourself an insane amount of work for no good reason
and it will drive you beserk in a week. Or you will implement
workarounds.

Normally only root can write to those areas. Only root can remount
them. If a user gets into a position where they can overwrite things,
you have already lost every last measure of protection and the game is
already over.

What you need is a proper backup strategy with restores that actually
work.



-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] gnome 3 has landed

2011-11-26 Thread Vishnupradeep
Is that true, Gnome 3 available for gentoo. can i emerge it ?


Fedora Blog: http://xtreme-fedora.blogspot.com/
My Blog: http://sharedonweb.blogspot.com/




On Sun, Nov 27, 2011 at 1:37 AM, walt  wrote:

> Well, at least on ~x86 and ~amd64 gnome3 is the default now.  I have
> mixed feelings about gnome3, so I let gentoo install it on a VirtualBox
> VM to start with and I'll think about updating my real machines later.
>
> The new gnome-shell is the controversial piece of gnome3 and (so far)
> I find it counterproductive.
>
> I googled how to disable the gnome-shell and get my gnome-panel back,
> along with the panel applets that I refuse to give up.  (The gnome-
> shell replaces the gnome-panel, so there is nowhere to run the old
> applets.)
>
> If you want to disable gnome-shell you can do it with the System Info
> function in System Settings.  Click the Graphics icon and enable the
> gnome-fallback setting to disable gnome-shell.  Ah, much better :)
>
>
>
>


Re: [gentoo-user] Re: 200MB waste from /usr/share/locale ?

2011-11-26 Thread Philip Webb
26 walt wrote:
> Someone recommended app-admin/localepurge,
> which removes them after installation.
> Reclaims hundreds of MB when I run it every month or so.

Thanks & to the other who suggested it.  It has removed  82 MB  junk.
As its man page says, hopefully one day it wb in Portage ...

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




[gentoo-user] gnome 3 has landed

2011-11-26 Thread walt

Well, at least on ~x86 and ~amd64 gnome3 is the default now.  I have
mixed feelings about gnome3, so I let gentoo install it on a VirtualBox
VM to start with and I'll think about updating my real machines later.

The new gnome-shell is the controversial piece of gnome3 and (so far)
I find it counterproductive.

I googled how to disable the gnome-shell and get my gnome-panel back,
along with the panel applets that I refuse to give up.  (The gnome-
shell replaces the gnome-panel, so there is nowhere to run the old
applets.)

If you want to disable gnome-shell you can do it with the System Info
function in System Settings.  Click the Graphics icon and enable the
gnome-fallback setting to disable gnome-shell.  Ah, much better :)





Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread kashani

On 11/25/2011 5:53 AM, Pandu Poluan wrote:


So. Care to share your partitioning strategy?


I'm not a fan of building servers outta parts. If this is a proper 
server with a raid card, which is useful for high IO things like mail 
and db servers, then your favorite RAID level, /boot / swap and the rest 
in /var.


If they are separate drives then put the OS/portage on one, Postgres on 
another, Postfix on one, and logging on the last for the best IO. I'd 
call them /mnt/postgres /mnt/postfix and /mnt/logging so the sysadmin 
that comes after you isn't completely confused as to what's going on.


If IO isn't a huge priority I'd put the OS/Portage on one and then 
softraid the three drives into /data or some such and symlink Postgres, 
logging, and Postfix as appropriate.



(And while we're at it, am I overdoing the partitioning?)


Yes, though you'll do it anyway. It's cool, I was spending time on the 
same thing ten years ago. It's ultimately more annoying than useful and 
you'll simplify later.


LVM is always good to know and very useful for snapshotting database 
backups. I find it less useful for changing partitions or adding drives.


In regards to filling up partitions monitoring, cron, and logrotate are 
your friends. I email at 70% and page at 80%.


kashani



Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Pandu Poluan
On Sun, Nov 27, 2011 at 01:22, Mick  wrote:
> On Friday 25 Nov 2011 20:08:01 Walter Dnes wrote:
>> On Fri, Nov 25, 2011 at 11:12:42PM +0700, Pandu Poluan wrote
>>
>> > Everytime I read some guide on LVM, my eyes becomes blurry, the room
>> > starts spinning, and I can hear wolves howling ... :D
>> >
>> > Seriously, LVM looks mighty nice, but it also looks (and is!) mighty
>> > complex.
>> >
>> > So, I want to start from something simple.
>> >
>> > Aaaanyways, after reviewing my production boxes, I decided to
>> > implement the following strategy:
>> >
>> > /  == 800 MiB
>> > /boot == 20 MiB
>> > /usr == 1800 MiB
>> > /usr/portage == 2000 MiB
>> > /var == 4000 MiB
>> > /var/lib/postgresql == 1000 MiB
>> >
>> > Comments, suggestions, are welcome :)
>>
>>   I have my own weird approach that's even weirder than my mdev setup.
>> I start with...
>> * 250 megabytes for / as ext2fs (No that is not a typo)
>> * 4 gigs for swap
>> * the rest of the drive is /home as one huge reiserfs partition
>>
>>   And I do *NOT* use LVM.  "fdisk -l" shows...
>>
>>    Device Boot      Start         End      Blocks   Id  System
>> /dev/sda1            2048   976773167   488385560    5  Extended
>> /dev/sda5            4096      516095      256000   83  Linux
>> /dev/sda6          518144     8906751     4194304   83  Linux
>> /dev/sda7         8908800   976773167   483932184   83  Linux
>>
>> "df" shows
>>
>> Filesystem           1K-blocks      Used Available Use% Mounted on
>> rootfs                  247919     29315    205804  13% /
>> /dev/root               247919     29315    205804  13% /
>> devtmpfs                 10240         0     10240   0% /dev
>> rc-svcdir                 1024        44       980   5% /lib/rc/init.d
>> mdev                     10240         0     10240   0% /dev
>> shm                    1551308         0   1551308   0% /dev/shm
>> /dev/sda7            483917384 251951296 231966088  53% /home
>>
>>   The secret is that I bindmount /opt, /var, /usr, and /tmp onto the
>> large reiserfs partition.
>>
> ###
>> ### /dev/sda5               /         ext2     noatime,nodiratime,async
>>    0 1 /dev/sda7               /home     reiserfs
>> noatime,nodiratime,async,notail 0 1 /home/bindmounts/opt    /opt      auto
>>     bind                            0 0 /home/bindmounts/var    /var
>> auto     bind                            0 0 /home/bindmounts/usr    /usr
>>     auto     bind                            0 0 /home/bindmounts/tmp
>> /tmp      auto     bind                            0 0 /dev/sda6
>>     none            swap            sw              0 0 /dev/cdrom
>>      /mnt/cdrom      iso9660         noauto,users,ro 0 0 /dev/cdrom1
>>       /mnt/cdrom1     auto            noauto,user,ro  0 0 /dev/sdb1
>>  /mnt/extb       auto  noauto,user,noatime,async       0 0 /dev/sdc1
>>   /mnt/extc       auto  noauto,user,noatime,async       0 0
>>
>> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
>> # POSIX shared memory (shm_open, shm_unlink).
>> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
>> #  use almost no memory if not populated with files)
>> shm               /dev/shm        tmpfs nodev,nosuid,noexec       0 0
>>
> ###
>> ###
>
> I recall your interesting mounting approach, but never really understood the
> benefit of it.  Would you please explain why you use bindmount?
>

Not really explaining waltdnes' interesting layout, but using
bindmount (instead of symlinks) ensures that when a program tries to
find a relative directory from a path, it will not attempt to do so
from the symlink's target.

E.g.:

Say I have /lib/gzampl/, which is actually a symlink/bindmount to
/mnt/gzampl/. Then theres another directory /lib/morethings. With a
symlink, if a program wants to do "../morethings" from within
/lib/gzampl/, it might end up in /mnt/morethings if the program tries
to resolve the symlink first. With a bindmount, doing "../morethings"
from /lib/gzampl/ will always end up in /lib/morethings.

(CMIIW)

That said... mentioning bindmount made me rethink things...

What if I have:

/mnt/.temporaries ==> ext4, 4GiB
/mnt/.persistents ==> reiserfs, 2GiB

then I make some directories and bindmounts:

/mnt/.temporaries/tmp --bm--> /tmp
/mnt/.temporaries/vartmp --bm--> /var/tmp
/mnt/.temporaries/run --bm--> /run
/run --bm--> /var/run
/run/lock --bm--> /var/lock
/mnt/.persistents/postgresql --bm--> /var/lib/postgresql
/mnt/.persistents/vardb --bm--> /var/db
/mnt/.persistents/varlog --bm--> /var/log
/mnt/.persistents/varspool --bm--> /var/spool

Ta da! The ephemeral directories can now just fight among themselves,
and the important directories can be backed up in one fell swoop (via
/mnt/.persistents)?

Thoughts are welcome, of course :)

Rgds,
-- 
FdS Pandu E Poluan
~ IT Optimizer ~

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.c

Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Pandu Poluan
On Nov 26, 2011 2:57 PM, "Alan McKinnon"  wrote:
>
> On Fri, 25 Nov 2011 20:53:17 +0700
> Pandu Poluan  wrote:
>
> > I want to build a Gentoo server box whose structure is
> > highly-partitioned, like this:
>
> partition setups are like lovers - highly variable. And the one that
> suits you will suit almost no-one else.
>

Careful, you've just raised some unholy memories there ;-)

> Many of the recommendations you find on-line come from an earlier time
> and the reason they got going is no longer valid for the most part. So
> do take care to evaluate the real reason why you are doing something.
>
> Valid reasons included:
>
> You want to unmount a dir structure (/boot).
> The fs type for a partition is different from that fs it mounts to
> (often /var/log but these days most often used with tmpfs).
> You need to mount an fs with different mount options to the fs it
> mounts onto (/home noexec on multi-user setups for example)
>
> The way to do this is not to search Google for recommendations, as
> there is no such valid thing, but to figure out for yourself why you
> want a mountpoint, calculate how much space *you* need, then do it.

Indeed, that's what I originally asked: the numbers.

> Read other's experiences who use similar software as you by all means,
> but that will be mere hints.
>
> My own thoughts:
>
> - I can't find a good reason anymore to have a local /usr separate. It's
>  always mounted on my systems, even in maintenance mode (there's
>  always at least one decent tool that the distro decided to put
>  in /usr/sbin)
>

Mounting it ro not a good idea?

> - /tmp is only useful on it's own if it's a tmpfs. Mine hasn't ever
>  filled up anywhere (despite best efforts of users). tmpfs is general
>  is an awesome idea.
>

Noted.

> - Keeping data and code separate is always a good idea. But only a few
>  things in /var are critical like /var/log and /var/.
>  Everything else is usually tiny and can safely live on /
>

Except /var/tmp, which can grow to epic proportions :-)

> - /boot is traditionally separate partly because long long long ago
>  BIOSs couldn't read past 1024 cylinders which borked lilo. This is no
>  longer true.
>

I'm a bit scared that a buggy program or script borked the kernels I put
there...

Thus also the reason to mount /usr ro.

And if I can make /bin /sbin /etc all ro, I want to make them ro, too...

Am I being too paranoid?

Rgds,


Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Mick
On Friday 25 Nov 2011 20:08:01 Walter Dnes wrote:
> On Fri, Nov 25, 2011 at 11:12:42PM +0700, Pandu Poluan wrote
> 
> > Everytime I read some guide on LVM, my eyes becomes blurry, the room
> > starts spinning, and I can hear wolves howling ... :D
> > 
> > Seriously, LVM looks mighty nice, but it also looks (and is!) mighty
> > complex.
> > 
> > So, I want to start from something simple.
> > 
> > Aaaanyways, after reviewing my production boxes, I decided to
> > implement the following strategy:
> > 
> > /  == 800 MiB
> > /boot == 20 MiB
> > /usr == 1800 MiB
> > /usr/portage == 2000 MiB
> > /var == 4000 MiB
> > /var/lib/postgresql == 1000 MiB
> > 
> > Comments, suggestions, are welcome :)
> 
>   I have my own weird approach that's even weirder than my mdev setup.
> I start with...
> * 250 megabytes for / as ext2fs (No that is not a typo)
> * 4 gigs for swap
> * the rest of the drive is /home as one huge reiserfs partition
> 
>   And I do *NOT* use LVM.  "fdisk -l" shows...
> 
>Device Boot  Start End  Blocks   Id  System
> /dev/sda12048   976773167   4883855605  Extended
> /dev/sda54096  516095  256000   83  Linux
> /dev/sda6  518144 8906751 4194304   83  Linux
> /dev/sda7 8908800   976773167   483932184   83  Linux
> 
> "df" shows
> 
> Filesystem   1K-blocks  Used Available Use% Mounted on
> rootfs  247919 29315205804  13% /
> /dev/root   247919 29315205804  13% /
> devtmpfs 10240 0 10240   0% /dev
> rc-svcdir 102444   980   5% /lib/rc/init.d
> mdev 10240 0 10240   0% /dev
> shm1551308 0   1551308   0% /dev/shm
> /dev/sda7483917384 251951296 231966088  53% /home
> 
>   The secret is that I bindmount /opt, /var, /usr, and /tmp onto the
> large reiserfs partition.
> 
###
> ### /dev/sda5   / ext2 noatime,nodiratime,async
>0 1 /dev/sda7   /home reiserfs
> noatime,nodiratime,async,notail 0 1 /home/bindmounts/opt/opt  auto
> bind0 0 /home/bindmounts/var/var 
> auto bind0 0 /home/bindmounts/usr/usr 
> auto bind0 0 /home/bindmounts/tmp   
> /tmp  auto bind0 0 /dev/sda6  
> noneswapsw  0 0 /dev/cdrom
>  /mnt/cdrom  iso9660 noauto,users,ro 0 0 /dev/cdrom1  
>   /mnt/cdrom1 autonoauto,user,ro  0 0 /dev/sdb1   
>  /mnt/extb   auto  noauto,user,noatime,async   0 0 /dev/sdc1  
>   /mnt/extc   auto  noauto,user,noatime,async   0 0
> 
> # glibc 2.2 and above expects tmpfs to be mounted at /dev/shm for
> # POSIX shared memory (shm_open, shm_unlink).
> # (tmpfs is a dynamically expandable/shrinkable ramdisk, and will
> #  use almost no memory if not populated with files)
> shm   /dev/shmtmpfs nodev,nosuid,noexec   0 0
> 
###
> ###

I recall your interesting mounting approach, but never really understood the 
benefit of it.  Would you please explain why you use bindmount?

-- 
Regards,
Mick


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


[gentoo-user] Re: 200MB waste from /usr/share/locale ?

2011-11-26 Thread walt

On 11/25/2011 04:28 PM, Sebastian Pipping wrote:

Hello!


It seems that /usr/share/locale is keeping files for many languages not
of any use to me: around 200MB in total.

Is there a way to configure this away that I am not aware of?


There was a thread a few months ago about this problem.  Apparently
quite a few packages ignore any LC settings and just install all of
their *.mo files every time.

Someone recommended app-admin/localepurge, which removes them after
installation.  Reclaims hundreds of MB when I run it every month or
so.




Re: [gentoo-user] glibc-2.14.1 upgrade

2011-11-26 Thread Paul Hartman
On Fri, Nov 25, 2011 at 12:59 PM, Florian Philipp  wrote:
> Am 25.11.2011 19:11, schrieb Pandu Poluan:
>>
>> On Nov 26, 2011 12:05 AM, "微菜" > > wrote:
>>>
>>> 于 2011年11月24日 15:34, justin 写道:
>>> > On 24/11/11 06:27, Paul Hartman wrote:
>>> >> Hi,
>>> >>
>>> >> After emerging glibc-2.14.1 today, pam stopped working, which
>>> >> prevented KDE from working and some other things. I got this kind of
>>> >> message:
>>> >>
>>> >> /lib64/libc.so.6: version `GLIBC_2.14' not found (required by
>>> >> /lib64/libcrypt.so.1)
>>> >>
>>> >> There were no @preserved-rebuild and revdep-rebuild found nothing. I
>>> >> rebuilt pam and things seem to be working again. Are there any other
>>> >> packages I should rebuild before encountering a problem? Or some way
>>> >> to detect which need to be rebuilt? Should I re-emerge world against
>>> >> my new glibc? :)
>>> >>
>>> >> Thanks,
>>> >> Paul
>>> >>
>>> >
>>> > Hi Paul,
>>> >
>>> > after an glibc upgrade it is time to do an
>>> >
>>> > emerge -e system world
>>>
>>> you must be kidding me . it will take days to complete.
>>>
>>
>> On my virtualized servers, emerge -e @system @world, a total of
>> 170-something packages, takes only about 6-7 hours. Remember, these are
>> VMs, which means the 2 vCPUs I assigned them are actually shared with
>> other VMs.
>>
>> On a non-virtualized system, should be faster. Of course, if you have
>> sizable packages, it might take around 24 hours to complete.
>>
>> Rgds,
>>
>
> I've used Gentoo since 2006 and never had any reason to emerge -e. I can
> also cite posts on this mailing list going back as far as 2007 (just my
> local archive, mind you) that say it is unnecessary for glibc updates.
> Or, to cite Volker Armin Hemmann's eloquent reply from 08-11-2007: "no" ;-)

Can I detect which packages need to be rebuilt (revdep-rebuild finds
nothing), other than waiting for something to fail? Or do you think
the messages are a false alarm, symptoms of already-loaded programs
and will go away after my next reboot?



Re: [gentoo-user] booting fails, something with openrc?

2011-11-26 Thread Stefan G. Weichinger
Am 26.11.2011 16:31, schrieb Stefan G. Weichinger:
> Am 26.11.2011 15:48, schrieb Albert W. Hopkins:
> 
>> So a couple of people I've heard of so far have an issue with the
>> parallel setting and the latest openrc.  You should report a bug if
>> there isn't one already.
> 
> Might be that one:
> 
> https://bugs.gentoo.org/show_bug.cgi?id=391945
> 
> Didn't browse the bugzilla as I felt myself guilty of having screwed up
> something ...  ;-)

Just to add that one here, for the records (and people googling this):

After removing "migrate-run" from boot runlevel, rc_parallel=YES works
again as well.

Stefan




Re: [gentoo-user] emerge -j, make -j and make -l

2011-11-26 Thread Stefan G. Weichinger
Am 26.11.2011 16:34, schrieb Alex Schuster:
> Michael Mol writes:
> 
>> http://funnybutnot.wordpress.com/2011/11/26/optimizing-parallel-builds/
> 
> 404, but http://funnybutnot.wordpress.com/2011/11/26/ seems to work.

Yes, got it now as well.

Thanks for "quoting" me, Michael ... but I also googled that command
somewhere ... not my idea ... ;-)

Stefan



Re: [gentoo-user] emerge -j, make -j and make -l

2011-11-26 Thread Michael Mol
On Sat, Nov 26, 2011 at 10:34 AM, Alex Schuster  wrote:
> Michael Mol writes:
>
>> http://funnybutnot.wordpress.com/2011/11/26/optimizing-parallel-builds/
>
> 404, but http://funnybutnot.wordpress.com/2011/11/26/ seems to work.

Should work now. Somehow, I triggered WP's "schedule a post" behavior.
Might still come up as 404 if you've got caching which caches
negatives.


-- 
:wq



Re: [gentoo-user] LVM and LABELS in fstab

2011-11-26 Thread James Wall
On Sun, Nov 20, 2011 at 2:32 PM, Dale  wrote:
> James Wall wrote:
>>
>> On Thu, Nov 17, 2011 at 11:18 PM, Dale  wrote:
>>>
>>> Is there a way to make this work?  I googled but I couldn't find anything
>>> on
>>> this one.  Well, a few worthless hits that just happen to have the words
>>> on
>>> the same page for some reason.
>>
>> Look for /dev/dm-0 to monitor your lvm partition. that is what I use
>> to monitor my LVM /, swap, and /home partitions in the monitor setup.
>>>
>>> Dale
>>>
>>> :-)  :-)
>>>
>>>
>
> I don't see that option here.  All I have is sd* and sr0.  Also composite
> for all drives.
>
> [ebuild   R    ] app-admin/gkrellm-2.3.5  USE="X hddtemp nls ssl -gnutls
> -lm_sensors -ntlm"

My use flags are
[ebuild   R] app-admin/gkrellm-2.3.5  USE="X nls ssl -gnutls
-hddtemp -lm_sensors -ntlm"
Hope this helps,
James Wall

> Your flags look something like mine?
>
> Dale
>
> :-)  :-)
>
> --
> I am only responsible for what I said ... Not for what you understood or how
> you interpreted my words!
>
>
>



-- 
No trees were harmed in the sending of this message. However, a large
number of electrons were terribly inconvenienced.



Re: [gentoo-user] emerge -j, make -j and make -l

2011-11-26 Thread Stefan G. Weichinger
Am 26.11.2011 16:22, schrieb Michael Mol:
> I just wanted to share an experience I had today with optimizing
> parallel builds after discovering "-l" for Make...
> 
> I've got a little more tweaking I still want to do, but this is pretty
> awesome...
> 
> http://funnybutnot.wordpress.com/2011/11/26/optimizing-parallel-builds/

URL ... not found




Re: [gentoo-user] emerge -j, make -j and make -l

2011-11-26 Thread Alex Schuster
Michael Mol writes:

> http://funnybutnot.wordpress.com/2011/11/26/optimizing-parallel-builds/

404, but http://funnybutnot.wordpress.com/2011/11/26/ seems to work.

Wonko



Re: [gentoo-user] booting fails, something with openrc?

2011-11-26 Thread Stefan G. Weichinger
Am 26.11.2011 15:48, schrieb Albert W. Hopkins:

> So a couple of people I've heard of so far have an issue with the
> parallel setting and the latest openrc.  You should report a bug if
> there isn't one already.

Might be that one:

https://bugs.gentoo.org/show_bug.cgi?id=391945

Didn't browse the bugzilla as I felt myself guilty of having screwed up
something ...  ;-)



Re: [gentoo-user] Fonts.

2011-11-26 Thread Urs Schutz
On Sat, 26 Nov 2011 15:35:15 +0300
Stayvoid  wrote:

> > Bad, works immediately: Put them in /usr/share/fonts
> That didn't work for me.
> 
> > Good: I'm sure that there is a setting for per-user
> > font dirs in ${HOME}
> Could you be more specific?
> 

copy the fonts to ~/.fonts/, or make soft links there.

There is a fantastic application (outside portage) for font
management, its called fontmatrix.
The UI of fontmatrix version 0.6.0 is a lot better than
fontmatrix version 0.9.99, which I did not like.
If you use a lot of different fonts for your work,
fontmatrix 0.6.0 is one of the best font managers around.

Urs



[gentoo-user] emerge -j, make -j and make -l

2011-11-26 Thread Michael Mol
I just wanted to share an experience I had today with optimizing parallel
builds after discovering "-l" for Make...

I've got a little more tweaking I still want to do, but this is pretty
awesome...

http://funnybutnot.wordpress.com/2011/11/26/optimizing-parallel-builds/

ZZ


Re: [gentoo-user] booting fails, something with openrc?

2011-11-26 Thread Albert W. Hopkins
On Sat, 2011-11-26 at 15:24 +0100, Stefan G. Weichinger wrote:
> Oh boy:   setting rc_parallel="NO" in /etc/rc.conf did the trick now.
> Around 4 hrs of fiddling ... and then it is one "wrong bit".
> 
> I don't have an explanation, just the result ... up and running fine
> now
> w/ openrc. 

So a couple of people I've heard of so far have an issue with the
parallel setting and the latest openrc.  You should report a bug if
there isn't one already.

-a





Re: [gentoo-user] booting fails, something with openrc?

2011-11-26 Thread Stefan G. Weichinger
Am 26.11.2011 14:51, schrieb Stefan G. Weichinger:
> Am 2011-11-26 14:30, schrieb Stefan G. Weichinger:
> 
>> I know that openrc has already been re-emerged, how could I have screwed
>> up those dependencies by unmerging something yesterday?

Oh boy:   setting rc_parallel="NO" in /etc/rc.conf did the trick now.
Around 4 hrs of fiddling ... and then it is one "wrong bit".

I don't have an explanation, just the result ... up and running fine now
w/ openrc.

*sigh*

Stefan



Re: [gentoo-user] LibreOffice 3.4.4: required HDD space

2011-11-26 Thread Alan McKinnon
On Sat, 26 Nov 2011 13:49:07 +
James Broadhead  wrote:

> On 20 November 2011 20:09, Alan McKinnon 
> wrote:
> > On Sun, 20 Nov 2011 18:58:22 +
> > James Broadhead  wrote:
> >> Seeing as the ebuild is 'aware' of CFLAGS and USE, it would be nice
> >> if it would use that information (roughly) to determine how much
> >> space to check for.
> >>
> >> 4-9GiB is a pretty wide range.
> >
> > A slight mis-measurement on how much space a specific setup needs
> > results in a failed build, or a build that won't start or any
> > amount of other craziness.
> >
> > Read the maintainer's blog sometime (it's on the gentoo.org
> > frontpage) to get a sense of what it takes to maintain that bitch
> > of a project. Something as simple as figuring out what packages
> > LibreOffice bundles and making the ebuild use the system one
> > instead is a mammoth task. Don't forget that every little tweak is
> > 2 hours of building just to test if it builds. Then one has to test
> > if it works
> >
> > I'm not surprised the OOo and LibreOffice ebuilds take the easy
> > route - figure out by enabling everything the maximum amount of
> > free space OOo ould possibly need to build, then insist the build
> > host has at least that much free. Heck, I'd do exactly the same.
> 
> I read the blogs, and I'm well aware of the difficulties. I suppose
> I'm pretty used to running my laptop pretty close to the wire
> space-wise, and so an ebuild asking for 9GiB when it only requires
> 5GiB would cause me to have to shuffle a lot of things around to no
> good end.
> 
> Really though, it would be replacing one (inaccurate, but
> conservative) estimate with two such estimates.

Where are you getting your information from?

9G is what the dev reckons is the maximum. This other figure of 4G -
what is that? The amount needed by some arb combination on some arb
user's machine? That's not a good enough criteria.

It's not really the maximum plus one well-defined other. It's is the
maximum plus every other possible combination (there is no defined
minimal). 

If it's an issue for you, the solution is simple - keep a copy of the
ebuild in your local overlay and edit the space requirements. Keep it up
to date and in-sync with the ebuild in the main tree. It means you get
to a little extra work, but is preferable to the dev doing a lot of
extra work

> 
> Still, nothing much to stress about.
> 



-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] booting fails, something with openrc?

2011-11-26 Thread Stefan G. Weichinger
Am 2011-11-26 14:30, schrieb Stefan G. Weichinger:

> I know that openrc has already been re-emerged, how could I have screwed
> up those dependencies by unmerging something yesterday?

rc-depend and rc-update didn't help so far.
running stuff with systemd is a good enough workaround so far.

Time to get out of the office at least a bit now.

Thanks for any hints on this issue, Stefan




Re: [gentoo-user] LibreOffice 3.4.4: required HDD space

2011-11-26 Thread James Broadhead
On 20 November 2011 20:09, Alan McKinnon  wrote:
> On Sun, 20 Nov 2011 18:58:22 +
> James Broadhead  wrote:
>> Seeing as the ebuild is 'aware' of CFLAGS and USE, it would be nice
>> if it would use that information (roughly) to determine how much
>> space to check for.
>>
>> 4-9GiB is a pretty wide range.
>
> A slight mis-measurement on how much space a specific setup needs
> results in a failed build, or a build that won't start or any amount of
> other craziness.
>
> Read the maintainer's blog sometime (it's on the gentoo.org frontpage)
> to get a sense of what it takes to maintain that bitch of a project.
> Something as simple as figuring out what packages LibreOffice bundles
> and making the ebuild use the system one instead is a mammoth task.
> Don't forget that every little tweak is 2 hours of building just to
> test if it builds. Then one has to test if it works
>
> I'm not surprised the OOo and LibreOffice ebuilds take the easy route -
> figure out by enabling everything the maximum amount of free space OOo
> ould possibly need to build, then insist the build host has at least
> that much free. Heck, I'd do exactly the same.

I read the blogs, and I'm well aware of the difficulties. I suppose
I'm pretty used to running my laptop pretty close to the wire
space-wise, and so an ebuild asking for 9GiB when it only requires
5GiB would cause me to have to shuffle a lot of things around to no
good end.

Really though, it would be replacing one (inaccurate, but
conservative) estimate with two such estimates.

Still, nothing much to stress about.



Re: [gentoo-user] booting fails, something with openrc?

2011-11-26 Thread Stefan G. Weichinger
Am 2011-11-26 14:00, schrieb Stefan G. Weichinger:

> lvm2? Should be part of @system? Will look for that now ...


chroot again, re-emerged lvm2, no change.
chroot again, disabled dmcrypt (I don't have anything encrypted now), no
change.

chroot again, now the service-dependencies look a bit different.

migrate-run (what is it) waits for mdraid
and it waits for lvm

and lvm seems to wait for .. mdraid ??

I booted now with systemd, this is very helpful now! ;-)

I know that openrc has already been re-emerged, how could I have screwed
up those dependencies by unmerging something yesterday?

Stefan



[gentoo-user] booting fails, something with openrc?

2011-11-26 Thread Stefan G. Weichinger

I somehow screwed up my new and shiny box.

Everything ran fine until yesterday I depcleaned a bit too much, as it
seems.

The symptom:

booting sits there and openrc has many services waiting for other
services ... the first one seems to be mdraid ... but I am not sure.

I already chrooted into the installation and did "emerge -e system" and
"revdep-rebuild" and stuff. "emerge -avuDN world" doesn't work for me,
as I don't want to pull in gnome-3.x right now ...

As far as I know everything (system) is now built with gcc-4.5.3 ... so
that shouldn't be the problem.

The raid-arrays (md0 for root) assemble correctly from live-cd, so what
could be the problem? What should I explore now?

*sigh*

lvm2? Should be part of @system? Will look for that now ...

Thanks for any help on this, Stefan



[gentoo-user] Re: experience with rsnapshot

2011-11-26 Thread Jörg Schaible
cov...@ccs.covici.com wrote:

> I am using rdiff-backup which is no longer maintained, but still seems
> to work, but I was thinking to use rsnapshot instead which seems like a
> nice way to do this, but this seems not to have been maintained for a
> while, either, so I was wondering if anyone is using it and how it works
> for you?
> 
> Thanks in advance for any ideas.

I am using dirvish for several years.

- Jörg




[gentoo-user] Re: Fonts.

2011-11-26 Thread Jörg Schaible
Stayvoid wrote:

>> Bad, works immediately: Put them in /usr/share/fonts
> That didn't work for me.

/usr/local/share/fonts

> 
>> Good: I'm sure that there is a setting for per-user font dirs in ${HOME}
> Could you be more specific?





Re: [gentoo-user] Fonts.

2011-11-26 Thread Stayvoid
> Bad, works immediately: Put them in /usr/share/fonts
That didn't work for me.

> Good: I'm sure that there is a setting for per-user font dirs in ${HOME}
Could you be more specific?



Re: [gentoo-user] Fonts.

2011-11-26 Thread James Broadhead
On 26 November 2011 08:00, Stayvoid  wrote:
> Hi there!
>
> I have some fonts which are not included in the repository.
> How can I install them?
>
> Cheers!

Bad, works immediately: Put them in /usr/share/fonts

Good: I'm sure that there is a setting for per-user font dirs in ${HOME}

AMAZING: Copy the existing ebuilds in portage, edit them a bit for
your new fonts, then submit them to Sunrise, so that ALL Gentoo users
can use them!

Pick one :)



Re: [gentoo-user] Install problem - SATA CD-ROM drive

2011-11-26 Thread James Broadhead
On 26 November 2011 00:28, Albert W. Hopkins  wrote:
> Have you tried boot media other than the Gentoo livecd?

I see that you have tried the SysRescueCD - have you tried the vanilla
Gentoo LiveCD? I find that it is usually pretty resilient.

In the past, I've found enabling legacy_ide mode helpful -- can't
remember the exact line, but that's enough to start googling :)

J



Re: [gentoo-user] Re: Partitioning strategy...?

2011-11-26 Thread Dale

Alan McKinnon wrote:

On Sat, 26 Nov 2011 01:31:28 +0700
Pandu Poluan  wrote:


I was once somewhat familiar with UUID-based fstab when I was still
using Ubuntu. Too bad I've deleted my last Ubuntu VM a couple of
weeks ago. Let's see if I can still find my installation notes...


That's the easy part.

Column 1 in /etc/fstab identifies which partition is to be mounted.
Identifiers need to be unique.

Device names in /dev/ are no longer stable, they can and do move around
and change.
User-defined labels are a good choice but users can and do re-use the
same labels.
All filesystems generate a GUID for themselves and these are guaranteed
to be unique in the universe, so simply put it in column 1 and mount
will never ever get it wrong.

Ubuntu takes this approach to be able to give guarantees about
installers. It works well. Until you find you want to edit fstab by
hand.



I installed Kubuntu for my brother and I noticed it uses UUID in fstab 
too.  I also like that it commented where the partition was when Kubuntu 
was originally installed.  That helps if you chroot in and are not sure 
what partition is what but found the fstab file, most likely / at that 
point.  Then you can mount whatever is listed in fstab using UUID or the 
regular device names if nothing has changed.


I might add, if you chose to use UUID, man blkid will be your friend.

Dale

:-)  :-)

--
I am only responsible for what I said ... Not for what you understood or how 
you interpreted my words!




Re: [gentoo-user] Partitioning strategy...?

2011-11-26 Thread Alan McKinnon
On Fri, 25 Nov 2011 08:30:42 -0800
Mark Knecht  wrote:

> > Seriously, LVM looks mighty nice, but it also looks (and is!)
> > mighty complex. 
> 
> I'm exactly as you are WRT to LVM but I admired Dale for giving it a
> shot and I'm sorta feeling like I gotta start learn it just to be part
> of the group... ;-)

The only reasons people find LVM complicated is that the man pages
could stand some re-writing and that most of the guides out on the
intartubes and writing by people equally confused. They give a bunch of
examples and don't explain what all the building blocks of LVM are.

Neil said earlier to spend an hour learning it - this is excellent
advice.

The gentoo docs were very good last time I looked at them, but that was
3+ years ago. I doubt they've changed much.

-- 
Alan McKinnnon
alan.mckin...@gmail.com



Re: [gentoo-user] Re: Partitioning strategy...?

2011-11-26 Thread Alan McKinnon
On Sat, 26 Nov 2011 01:31:28 +0700
Pandu Poluan  wrote:

> I was once somewhat familiar with UUID-based fstab when I was still
> using Ubuntu. Too bad I've deleted my last Ubuntu VM a couple of
> weeks ago. Let's see if I can still find my installation notes...
> 

That's the easy part.

Column 1 in /etc/fstab identifies which partition is to be mounted.
Identifiers need to be unique.

Device names in /dev/ are no longer stable, they can and do move around
and change.
User-defined labels are a good choice but users can and do re-use the
same labels.
All filesystems generate a GUID for themselves and these are guaranteed
to be unique in the universe, so simply put it in column 1 and mount
will never ever get it wrong.

Ubuntu takes this approach to be able to give guarantees about
installers. It works well. Until you find you want to edit fstab by
hand.

-- 
Alan McKinnnon
alan.mckin...@gmail.com



[gentoo-user] Fonts.

2011-11-26 Thread Stayvoid
Hi there!

I have some fonts which are not included in the repository.
How can I install them?

Cheers!