[gentoo-user] net-misc/wget-1.13.3-r2: unexpected behaviour with some options

2011-09-07 Thread Casper Ti. Vector
With net-misc/wget-1.13.3-r2, when executing `wget --version', I get
"GNU Wget 1.13.3 built on linux-gnu.\n\n+digest "
(intepret as C string, you migh need to note that there is no newline in
the end of the output); when executing `wget --help', I get
"GNU Wget 1.13.3, a non-interactive network retriever.\n"
(also intepret as C string).

This seems to be a bug since with `--help', wget should print its
options; and with `--version', wget should print its compile-time
configurations, which should be more than 20 lines.

My Gentoo system is updated daily with global ~amd64 keyword in use.
USE flags of net-misc/wget-1.13.3-r2:
ipv6 nls ssl -debug -idn -ntlm -static

Sorry to report this in the mail list, but there's some difficulties in
accessing  for me. Please tell me if this is
inappropriate.

-- 
Using GPG/PGP? Please get my current public key (ID: 0xAEF6A134,
valid from 2010 to 2013) from a key server.



signature.asc
Description: Digital signature


[gentoo-user] dev-lang/R: lots of "Error in strsplit" in using

2011-09-07 Thread Casper Ti. Vector
When using R on my Gentoo machine, whether in interactive or in batch
mode, calling `help()' causes the following error:
Error in strsplit(txt, "\n", fixed = TRUE) : 
  'split' string 1 is invalid UTF-8
When in interactive mode, typing any function with an opening bracket
(eg. `help(') and then pressing tab (intending to get a command
completion) causes the same error.

Above is the situation in the default locale on my machine,
`en_GB.UTF-8'; and with LANG=C, this does not happen.

My Gentoo system is updated daily with global ~amd64 keyword in use.
Available locales as following:
C, en_GB.UTF-8, POSIX
USE flags of dev-lang/R (version: 2.13.1) as following:
X bash-completion cairo jpeg nls openmp perl png readline -doc -java
-lapack -minimal -profile -static-libs -tk

Sorry to report this in the mail list, but there's some difficulties in
accessing  for me. Please tell me if this is
inappropriate.

-- 
Using GPG/PGP? Please get my current public key (ID: 0xAEF6A134,
valid from 2010 to 2013) from a key server.



signature.asc
Description: Digital signature


Re: [gentoo-user] Wireless Configuration...

2011-09-07 Thread BRM
- Original Message -

> From: Mick 
> To: gentoo-user@lists.gentoo.org
> Cc: 
> Sent: Tuesday, September 6, 2011 5:32 PM
> Subject: Re: [gentoo-user] Wireless Configuration...
> 
> On Tuesday 06 Sep 2011 15:24:33 BRM wrote:
>>  - Original Message -
>> 
>>  > From: Mick 
>>  > 
>>  > On Saturday 03 Sep 2011 15:14:27 BRM wrote:
>>  >>  - Original Message -
> 
>>  > I think the above should be either:
>>  > 
>>  >   ctrl_interface=/var/run/wpa_supplicant
>>  >   ctrl_interface_group=wheel
>>  > 
>>  > or,
>>  > 
>>  >   DIR=/var/run/wpa_supplicant GROUP=wheel
>> 
>>  Ok. Corrected that to the first one.
> 
> Fine.  I note that you said the wpa_gui won't scan further down this thread, 
> 
> just in case ... is your user part of the wheel group?
> 
>>  >>  #ctrl_interface_group=wheel
>>  >>  ap_scan=1
>>  >>  fast_reauth=1
>>  >>  # This blank configuration will automatically use DHCP for any 
> net.*
>>  >>  # scripts in /etc/init.d.  To create a more complete 
> configuration,
>>  >>  # please review /etc/conf.d/net.example and save your 
> configuration
>>  >>  # in /etc/conf.d/net (this file :]!).
>>  >>  
>>  >>  # Standard Network:
>>  >>  config_eth0=( "dhcp" )
>>  > 
>>  > The old syntax you use here, which was ( "value" ) is now 
> deprecated. 
>>  > You
>>  > should replace all such entries by removing the brackets, e.g. the 
> above
>>  > becomes:
>>  > 
>>  > config_eth0="dhcp"
>>  > 
>>  > This is explained in: 
> http://www.gentoo.org/doc/en/openrc-migration.xml
>> 
>>  Corrected that one too. eth0 was working fine though.
> 
> Yes, because eth0 will default to dhcp, after the old syntax you were using 
> errors out or is ignored.
> 
> 
>>  > modules="wpa_supplicant"
>>  > wpa_supplicant_wlan0="-Dwext"
>>  > config_wlan0="dhcp"
>> 
>>  I re-enabled those and added the last line.
> 
> OK, wpa_supplicant should now work as intended.
> 
> 
>>  > You need to add or uncomment the following to your 
> wpa_supplicant.conf:
>>  > =
>>  > network={
>>  >         key_mgmt=NONE
>>  >         priority=0
>>  > }
>>  > =
>>  > The above will let latch on the first available AP.
>> 
>>  I wasn't sure that that one was for. I've re-enabled it and the 
> original
>>  one for my network. 
> 
> OK, this is useful for open AP which accept connections.  If they need 
> encryption you can add this using the wpa_gui.
> 
> 
>>  > Also, you can then add any AP of preference with passphrases and what
>>  > not: =
>>  > # Home Network
>>  > network={
>>  >       ssid="MY-NETWORK"
>>  > #      key_mgmt=IEEE8021X  <--You don't need these entries 
> here, unless
>>  > #      eap=TLS             <--you run SSL certs for authentication
>>  >       wep_key0=DEADBEAF0123456789ABCDEF000
>>  >       priority=1
>>  >       auth_alg=OPEN
>>  > }
>>  > =
>> 
>>  Interestingly, wpa_supplicant complains if those two lines are not there
>>  even though I am not doing SSL auth. 
> 
> Hmm ... what is the error/warning that comes up?

pneumo-martyr wpa_supplicant # /etc/init.d/net.wlan0 start  
 * Bringing up interface wlan0
 *   Starting wpa_supplicant on wlan0 ...
Line 17: WPA-PSK accepted for key management, but no PSK configured.
Line 17: failed to parse network block.
Failed to read or parse configuration '/etc/wpa_supplicant/wpa_supplicant.conf'.
 *   start-stop-daemon: failed to start 
`/usr/sbin/wpa_supplicant'  
 [ !! ]
 * ERROR: net.wlan0 failed to start


> Either way, can you please add:
> 
> eapol_version=1

Done.

>>  > and something like this for WPA2:
>>  > =
>>  > network={
>>  >         ssid="what-ever"
>>  >         proto=RSN
>>  >         key_mgmt=WPA-PSK
>>  >         pairwise=CCMP
>>  >         auth_alg=OPEN
>>  >         group=CCMP
>>  >         psk"pass_123456789"
>>  >         priority=5
>>  > =
>> 
>>  I want to try to get away from adding things directly to the
>>  wpa_supplicant.conf file as I would rather that the connection information
>>  be managed by a GUI tool. 
> 
> You should be able to add such details in the GUI of choice.  Adding them in 
> wpa_supplicant.conf means that they should appear already filled in the GUI.
> 
> 
>>  I'd rather use the NetworkManager in KDE than wpa_gui.
>> 
>>  That said, NetworkManager in KDE seems to be using wicd for some reason.
> 
> You need someone else to chime in here, because I use neither of these.  As 
> far as I read in this M/L wicd is more or less fool-proof.
> 
>>  I also have KDE running under Kubuntu on my work computer (4.6.2) and the
>>  Network Manager is completely different (don't know why) - it's not 
> wicd
>>  as far as I can tell.
>> 
>>  However, They are still not working. wpa_gui refuses to scan and find
>>  networks; while wicd is not finding networks either - but there's so
>>  little information in the GUI that it is practically useless 

Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Dale

Canek Peláez Valdés wrote:
Then don't update. Wanna keep up with upstream? Then accept that 
sometimes you will need to change your setup, and change how you do 
stuff. Regards. 


This is so like something I have told folks about windoze.  Awesome !  
To think I stayed away from windoze because of the freedom Linux gives a 
user just to find out now, its not as different as I thought.  :-(


Yeppie !!

Dale

:-)  :-)



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Canek Peláez Valdés
On Wed, Sep 7, 2011 at 9:37 PM, David W Noon  wrote:
> On Wed, 7 Sep 2011 23:54:57 +0100, Neil Bothwick wrote about Re:
> [gentoo-user] /dev/sda* missing at boot:
>
>> On Wed, 7 Sep 2011 13:52:22 -0400, Canek Peláez Valdés wrote:
>>
>> > After reading that, and other similar threads, I still don't
>> > understand the benefits of a separated /usr.
>>
>> Putting it on a logical volume is one advantage, allowing /usr to be
>> resized should the need arise.
>
> More than this, one can put /usr on a stripe set so that /usr/bin
> and /usr/lib, two of the directories with the highest I/O traffic, can
> be made more performant.  But this requires LVM, RAID or some blend of
> both.  This, in turn, precludes that it be merged with /, unless the
> initramfs grows even more to handle those extra DASD management
> facilities.
>
> The more I think about this merge of / and /usr, the dumber I think the
> idea is.  As I wrote in an earlier message on this list, the initramfs
> will be many times larger than the kernel itself.  Indeed, my /boot
> partition is only 32 MiB, and that will be too small to contain all the
> extra libraries and programs to run the initramfs script.

I don't see any problem with an initramfs larger than the kernel. It
will handle a lot of stuff. But if you don't want to change your /boot
partition, then don't upgrade to new kernels.

Change happens.

>> > Mounting it read-only
>> > seems the only sensible one, and then I think is better to go all
>> > the way and mount / read-only.
>>
>> Putting /etc on a read-only filesystem seems a really bad idea.
>
> To say the least.

It works, and it makes life easier for upstream. Which are the ones
writting the code.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Canek Peláez Valdés
On Wed, Sep 7, 2011 at 7:55 PM, Neil Bothwick  wrote:
> On Wed, 7 Sep 2011 19:04:17 -0400, Canek Peláez Valdés wrote:
>
>> > Putting it on a logical volume is one advantage, allowing /usr to be
>> > resized should the need arise.
>>
>> Why not allow / to be resized entirely? You probably will take the
>> machine off-line anyway.
>
> Because you can't boot from an LV, so you'd than need a separate /boot
> and an initramfs. Without LVM, you are unlikely to be able to resize /
> or /usr as it is not usually the last partition on the drive.

So, you guys want a separated /usr, but don't want a separate /boot. Awesome.

>> >> Mounting it read-only
>> >> seems the only sensible one, and then I think is better to go all the
>> >> way and mount / read-only.
>> >
>> > Putting /etc on a read-only filesystem seems a really bad idea.
>>
>> mount -o remount,rw /
>> emerge --sync && emerge -uDNv world
>> dispatch-conf
>> mount -o remount,ro /
>>
>> Or, if you only want to modify some configuration file (which in a
>> sane environment doesn't happen that often):
>>
>> mount -o remount,rw /
>> adduser fulano ...
>> mount -o remount,ro /
>
> This is longer than the init script needed in an initramfs. I wonder what
> problems you'd have when booting as the kernel tries to update the likes
> of /etc/mtab on a read-only fs.

# ls -l /etc/mtab
lrwxrwxrwx 1 root root 17 Dec  1  2010 /etc/mtab -> /proc/self/mounts

I don't see any problem at all.

>> Again, I don't see the reason for a separated /usr.
>
> That doesn't mean there aren't several valid reasons to do so.

I didn't say they were invalid, I say that *I* don't see the reason to
separate /usr. The arguments exposed just don't convice me. But
anyway, you will be able to do it with an initramfs.

>> But *again*, if
>> that's what you want, you will be able to do it. You will just need an
>> initramfs.
>
> I neither have nor need one at the moment, which means this update will
> break my system.

Then don't update. Wanna keep up with upstream? Then accept that
sometimes you will need to change your setup, and change how you do
stuff.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Canek Peláez Valdés
On Wed, Sep 7, 2011 at 7:39 PM, Michael Mol  wrote:
> On Wed, Sep 7, 2011 at 7:04 PM, Canek Peláez Valdés  wrote:
>> On Wed, Sep 7, 2011 at 6:54 PM, Neil Bothwick  wrote:
>>> On Wed, 7 Sep 2011 13:52:22 -0400, Canek Peláez Valdés wrote:
>>>
 After reading that, and other similar threads, I still don't
 understand the benefits of a separated /usr.
>>>
>>> Putting it on a logical volume is one advantage, allowing /usr to be
>>> resized should the need arise.
>>
>> Why not allow / to be resized entirely? You probably will take the
>> machine off-line anyway.
>
> A few months ago, I had to recover a live Debian machine which had
> massive filesystem corruption in /usr; the hard drive it was on had
> begun going bad, and it was taking out /usr slowly.
>
> I wound up being able to recover by doing a full reinstall of all
> packages on the live system after mounting /usr into a freshly-mkfs'd
> new lvm volume. If I'd taken the system offline, it would have been
> much more difficult.

You can always remount / in another LVM module. Really, what's so
especial about /usr?

> (As it was, I was shocked it worked)
>
>>
 Mounting it read-only
 seems the only sensible one, and then I think is better to go all the
 way and mount / read-only.
>>>
>>> Putting /etc on a read-only filesystem seems a really bad idea.
>>
>> mount -o remount,rw /
>> emerge --sync && emerge -uDNv world
>> dispatch-conf
>> mount -o remount,ro /
>>
>> Or, if you only want to modify some configuration file (which in a
>> sane environment doesn't happen that often):
>>
>> mount -o remount,rw /
>> adduser fulano ...
>> mount -o remount,ro /
>
> So, no hobbyists? Operating a 'sane' environment at home isn't how
> I've taught myself Linux. In a production environment, sure; having
> everything possible be read-only is nice, from a security standpoint.

Then why you want another partition for /usr?

>>
>> Again, I don't see the reason for a separated /usr. But *again*, if
>> that's what you want, you will be able to do it. You will just need an
>> initramfs.
>
> Yeah, great. Used to be, I could configure needed components to be
> built-ins in the kernel.

Yeah, first time I installed Linux, it required 512 Mb (if I installed
X), and 16 Mb of memmory. Change happens. I welcome it happily,
because that's how we progress and get even better stuff.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Dale

David W Noon wrote:
The more I think about this merge of / and /usr, the dumber I think 
the idea is. As I wrote in an earlier message on this list, the 
initramfs will be many times larger than the kernel itself. Indeed, my 
/boot partition is only 32 MiB, and that will be too small to contain 
all the extra libraries and programs to run the initramfs script.


If you don't like the idea, better hope over to -dev and help come up 
with ideas.  Actually, you may have to go hunt down the Fedora dev that 
came up with this brilliant idea.  The Gentoo devs are just having to 
follow along since the Fedora dev isn't listening.  Personally, I hope 
he runs into a real hair pulling issue that makes him regret this.  Then 
again, he is using a binary distro which uses a init* anyway so he may 
not care either way.  Should we wish for a nice rm command to get put 
into his init* thingy and erase his stuff?  Evil ain't I?   LOL


What's the emoticon thingy for choking a person?  This work?  :-@

Dale

:-)  :-)



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread David W Noon
On Wed, 7 Sep 2011 23:54:57 +0100, Neil Bothwick wrote about Re:
[gentoo-user] /dev/sda* missing at boot:

> On Wed, 7 Sep 2011 13:52:22 -0400, Canek Peláez Valdés wrote:
> 
> > After reading that, and other similar threads, I still don't
> > understand the benefits of a separated /usr.
> 
> Putting it on a logical volume is one advantage, allowing /usr to be
> resized should the need arise.

More than this, one can put /usr on a stripe set so that /usr/bin
and /usr/lib, two of the directories with the highest I/O traffic, can
be made more performant.  But this requires LVM, RAID or some blend of
both.  This, in turn, precludes that it be merged with /, unless the
initramfs grows even more to handle those extra DASD management
facilities.

The more I think about this merge of / and /usr, the dumber I think the
idea is.  As I wrote in an earlier message on this list, the initramfs
will be many times larger than the kernel itself.  Indeed, my /boot
partition is only 32 MiB, and that will be too small to contain all the
extra libraries and programs to run the initramfs script.

> > Mounting it read-only
> > seems the only sensible one, and then I think is better to go all
> > the way and mount / read-only.
> 
> Putting /etc on a read-only filesystem seems a really bad idea.

To say the least.
-- 
Regards,

Dave  [RLU #314465]
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*
dwn...@ntlworld.com (David W Noon)
*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*-*


signature.asc
Description: PGP signature


Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Neil Bothwick
On Wed, 7 Sep 2011 19:04:17 -0400, Canek Peláez Valdés wrote:

> > Putting it on a logical volume is one advantage, allowing /usr to be
> > resized should the need arise.  
> 
> Why not allow / to be resized entirely? You probably will take the
> machine off-line anyway.

Because you can't boot from an LV, so you'd than need a separate /boot
and an initramfs. Without LVM, you are unlikely to be able to resize /
or /usr as it is not usually the last partition on the drive.

> >> Mounting it read-only
> >> seems the only sensible one, and then I think is better to go all the
> >> way and mount / read-only.  
> >
> > Putting /etc on a read-only filesystem seems a really bad idea.  
> 
> mount -o remount,rw /
> emerge --sync && emerge -uDNv world
> dispatch-conf
> mount -o remount,ro /
> 
> Or, if you only want to modify some configuration file (which in a
> sane environment doesn't happen that often):
> 
> mount -o remount,rw /
> adduser fulano ...
> mount -o remount,ro /

This is longer than the init script needed in an initramfs. I wonder what
problems you'd have when booting as the kernel tries to update the likes
of /etc/mtab on a read-only fs.

> Again, I don't see the reason for a separated /usr.

That doesn't mean there aren't several valid reasons to do so.

> But *again*, if
> that's what you want, you will be able to do it. You will just need an
> initramfs.

I neither have nor need one at the moment, which means this update will
break my system.


-- 
Neil Bothwick

Last words of a Windows user: = Where do I have to click now? - There?


signature.asc
Description: PGP signature


Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Michael Mol
On Wed, Sep 7, 2011 at 7:04 PM, Canek Peláez Valdés  wrote:
> On Wed, Sep 7, 2011 at 6:54 PM, Neil Bothwick  wrote:
>> On Wed, 7 Sep 2011 13:52:22 -0400, Canek Peláez Valdés wrote:
>>
>>> After reading that, and other similar threads, I still don't
>>> understand the benefits of a separated /usr.
>>
>> Putting it on a logical volume is one advantage, allowing /usr to be
>> resized should the need arise.
>
> Why not allow / to be resized entirely? You probably will take the
> machine off-line anyway.

A few months ago, I had to recover a live Debian machine which had
massive filesystem corruption in /usr; the hard drive it was on had
begun going bad, and it was taking out /usr slowly.

I wound up being able to recover by doing a full reinstall of all
packages on the live system after mounting /usr into a freshly-mkfs'd
new lvm volume. If I'd taken the system offline, it would have been
much more difficult.

(As it was, I was shocked it worked)

>
>>> Mounting it read-only
>>> seems the only sensible one, and then I think is better to go all the
>>> way and mount / read-only.
>>
>> Putting /etc on a read-only filesystem seems a really bad idea.
>
> mount -o remount,rw /
> emerge --sync && emerge -uDNv world
> dispatch-conf
> mount -o remount,ro /
>
> Or, if you only want to modify some configuration file (which in a
> sane environment doesn't happen that often):
>
> mount -o remount,rw /
> adduser fulano ...
> mount -o remount,ro /

So, no hobbyists? Operating a 'sane' environment at home isn't how
I've taught myself Linux. In a production environment, sure; having
everything possible be read-only is nice, from a security standpoint.

>
> Again, I don't see the reason for a separated /usr. But *again*, if
> that's what you want, you will be able to do it. You will just need an
> initramfs.

Yeah, great. Used to be, I could configure needed components to be
built-ins in the kernel.

-- 
:wq



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Canek Peláez Valdés
On Wed, Sep 7, 2011 at 6:54 PM, Neil Bothwick  wrote:
> On Wed, 7 Sep 2011 13:52:22 -0400, Canek Peláez Valdés wrote:
>
>> After reading that, and other similar threads, I still don't
>> understand the benefits of a separated /usr.
>
> Putting it on a logical volume is one advantage, allowing /usr to be
> resized should the need arise.

Why not allow / to be resized entirely? You probably will take the
machine off-line anyway.

>> Mounting it read-only
>> seems the only sensible one, and then I think is better to go all the
>> way and mount / read-only.
>
> Putting /etc on a read-only filesystem seems a really bad idea.

mount -o remount,rw /
emerge --sync && emerge -uDNv world
dispatch-conf
mount -o remount,ro /

Or, if you only want to modify some configuration file (which in a
sane environment doesn't happen that often):

mount -o remount,rw /
adduser fulano ...
mount -o remount,ro /

Again, I don't see the reason for a separated /usr. But *again*, if
that's what you want, you will be able to do it. You will just need an
initramfs.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Neil Bothwick
On Wed, 7 Sep 2011 13:52:22 -0400, Canek Peláez Valdés wrote:

> After reading that, and other similar threads, I still don't
> understand the benefits of a separated /usr.

Putting it on a logical volume is one advantage, allowing /usr to be
resized should the need arise.

> Mounting it read-only
> seems the only sensible one, and then I think is better to go all the
> way and mount / read-only.

Putting /etc on a read-only filesystem seems a really bad idea.


-- 
Neil Bothwick

Q: What's the proper plural of a 'Net-connected Windows machine?
A: A Botnet


signature.asc
Description: PGP signature


Re: [gentoo-user] Filesystem with lowest CPU load, acceptable emerge performance, and stable?

2011-09-07 Thread kashani

On 9/7/2011 5:25 AM, Pandu Poluan wrote:

On Wed, Sep 7, 2011 at 01:15, kashani  wrote:

On 9/6/2011 10:26 AM, Pandu Poluan wrote:


So, can anyone recommend me a filesystem that fulfills my following needs:

Scenario: vFirewall (virtual Firewall) that is going to be deployed at
my IaaS Cloud Provider.

Disk I/O Characteristic: Occasional writes during 'normal' usage,
once-a-week eix-sync + emerge -avuD

Priority: Stable (i.e., less chance of corruption), least CPU usage.

My Google-Fu seems to indicate either XFS or JFS; what do you think?


I think it's a useless local optimization for no real world gain
which only increases the complexity of your systems. Use the same filesystem
you use on all your other servers.



Well, for all my other servers, I standardized on ext4.

Since a vFirewall have to perform lots of packet-juggling, I'd rather
dedicate the CPU time to the kernel rather than the HD I/O.

Of course, a vFirewall needs to be updated every now and then, but
everytime an update is called for, it should not overly tax the CPU
and degrade the netfilter framework.

Rgds,


	You are making my point for me, but not realizing the end result of the 
logic. There isn't any filesystem change that is going to affect CPU 
usage by more than a few percentage points in the use case you've 
described. Rsync, portage, and gcc use a massive amount of CPU compared 
to the amount the filesystem changes will use other than brief points 
during the rsync. Additionally most benchmarks are testing filesystem 
throughput and comparing it to CPU. Because disk IO isn't under pressure 
in your scenario you're unlikely to see the pathological use of CPU that 
can highlight the differences between filesystems.

That said, you have a few reasonable choices.

1. Move to a binary distro
2. Use buildpkg on a clone of this server and only install packages on 
your Firewall.

3. NFS mount /usr/portage when you need it and dist build on another server
4. Don't upgrade
5. Get a firewall server with more CPU so that it doesn't matter
6. Script a new firewall server install every x months and swap it into 
place and drop the original server.

7. Some combination of the above.

kashani



Re: [gentoo-user] Filesystem with lowest CPU load, acceptable emerge performance, and stable?

2011-09-07 Thread Jesús J . Guerrero Botella
JFS is very soft on cpu usage, and ext4 does a very good job overall.
fsck times for ext4 makes it probably the best choice for a server,
plus it has more eyes watching over it.

In any case, I wanted to call your attention that this might not be
the best choice anyway. If you truly want portage to have the minimum
possible impact on the performance of your machine(s) you should
probably be using other machine(s) to build binary packages, then use
these package in the target system(s) (i.e. with emerge -K).
-- 
Jesús Guerrero Botella



[gentoo-user] Re: [OT] Opera browser set home page

2011-09-07 Thread Harry Putnam
Stefano Crocco  writes:

> . . . . . . . . . . . . . . . . . . you have to click on the Opera
> button, just below the title bar and at the left of the first open
> tab. A menu will popup.

Many thanks friend.  That one bit is the key to all of it.  Just a
small mention somewhere obvious would have been so welcome.

Thanks again




Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Canek Peláez Valdés
On Wed, Sep 7, 2011 at 3:24 PM, Michael Mol  wrote:
> On Wed, Sep 7, 2011 at 3:19 PM, Alex Schuster  wrote:
>> Michael Mol writes:
>>
>>> I use the proprietary NVidia drivers, so genkernel went away very
>>> early in my system's lifetime.
>>
>> Huh? What does genkernel have to do with NVidia drivers?
>
> genkernel included nouvou, which conflicted with the NVidia
> proprietary drivers at the time.

I'm pretty sure (but could be wrong, I haven't used genkernel in ages)
that there is a way to blacklist some modules and force others.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Michael Mol
On Wed, Sep 7, 2011 at 3:19 PM, Alex Schuster  wrote:
> Michael Mol writes:
>
>> I use the proprietary NVidia drivers, so genkernel went away very
>> early in my system's lifetime.
>
> Huh? What does genkernel have to do with NVidia drivers?

genkernel included nouvou, which conflicted with the NVidia
proprietary drivers at the time.

-- 
:wq



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Alex Schuster
Michael Mol writes:

> I use the proprietary NVidia drivers, so genkernel went away very
> early in my system's lifetime.

Huh? What does genkernel have to do with NVidia drivers?

Wonko




Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Canek Peláez Valdés
On Wed, Sep 7, 2011 at 3:07 PM, Michael Mol  wrote:
> On Wed, Sep 7, 2011 at 2:28 PM, Canek Peláez Valdés  wrote:
>> On Wed, Sep 7, 2011 at 2:09 PM, Michael Mol  wrote:
>>> On Wed, Sep 7, 2011 at 1:52 PM, Canek Peláez Valdés  
>>> wrote:
 On Wed, Sep 7, 2011 at 1:23 PM, Dan Johansson  wrote:
>> > This is definitely not a choice that the gentoo disto made; it is 
>> > coming
>> > from several upstreams.
>>
>> I know it is from upstream but it still tastes really bad.   ;-)
>
> I can only agree!
> I am having /usr on a LVM volume on all systems (Gentoo and non Gentoo).
> This will be a MAJOR issue if /usr needs to be on /.

 It is my understanding that /usr does *not* need to be on /, only that
 if you do, you will need an initramfs. Look at
 http://article.gmane.org/gmane.linux.gentoo.devel/72275 and the thread
 that followed it.
>>>
>>> ...and now I know that my entirely UUID-driven fstab may stop working,
>>> if they choose not to add that particular "tweak/improvement".
>>
>> ...or you could, you know, use the genkernel generated initramfs, or
>> dracut. Anyway, probably UUIDs and labels will be added to the minimal
>> initramfs (it is my undrestanding it's kinda easy to do). The
>> important thing is that it will be still supported.
>
> I use the proprietary NVidia drivers, so genkernel went away very
> early in my system's lifetime. I hadn't heard about dracut until
> today. I still don't know anything about it, really.

It's another initramfs creator. Since I use systemd and wanted to try
plymouth, I started to use it. In my case it works, and I get a really
nice splash screen at boot time.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Michael Mol
On Wed, Sep 7, 2011 at 2:28 PM, Canek Peláez Valdés  wrote:
> On Wed, Sep 7, 2011 at 2:09 PM, Michael Mol  wrote:
>> On Wed, Sep 7, 2011 at 1:52 PM, Canek Peláez Valdés  wrote:
>>> On Wed, Sep 7, 2011 at 1:23 PM, Dan Johansson  wrote:
> > This is definitely not a choice that the gentoo disto made; it is coming
> > from several upstreams.
>
> I know it is from upstream but it still tastes really bad.   ;-)

 I can only agree!
 I am having /usr on a LVM volume on all systems (Gentoo and non Gentoo).
 This will be a MAJOR issue if /usr needs to be on /.
>>>
>>> It is my understanding that /usr does *not* need to be on /, only that
>>> if you do, you will need an initramfs. Look at
>>> http://article.gmane.org/gmane.linux.gentoo.devel/72275 and the thread
>>> that followed it.
>>
>> ...and now I know that my entirely UUID-driven fstab may stop working,
>> if they choose not to add that particular "tweak/improvement".
>
> ...or you could, you know, use the genkernel generated initramfs, or
> dracut. Anyway, probably UUIDs and labels will be added to the minimal
> initramfs (it is my undrestanding it's kinda easy to do). The
> important thing is that it will be still supported.

I use the proprietary NVidia drivers, so genkernel went away very
early in my system's lifetime. I hadn't heard about dracut until
today. I still don't know anything about it, really.

-- 
:wq



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Canek Peláez Valdés
On Wed, Sep 7, 2011 at 2:09 PM, Michael Mol  wrote:
> On Wed, Sep 7, 2011 at 1:52 PM, Canek Peláez Valdés  wrote:
>> On Wed, Sep 7, 2011 at 1:23 PM, Dan Johansson  wrote:
 > This is definitely not a choice that the gentoo disto made; it is coming
 > from several upstreams.

 I know it is from upstream but it still tastes really bad.   ;-)
>>>
>>> I can only agree!
>>> I am having /usr on a LVM volume on all systems (Gentoo and non Gentoo).
>>> This will be a MAJOR issue if /usr needs to be on /.
>>
>> It is my understanding that /usr does *not* need to be on /, only that
>> if you do, you will need an initramfs. Look at
>> http://article.gmane.org/gmane.linux.gentoo.devel/72275 and the thread
>> that followed it.
>
> ...and now I know that my entirely UUID-driven fstab may stop working,
> if they choose not to add that particular "tweak/improvement".

...or you could, you know, use the genkernel generated initramfs, or
dracut. Anyway, probably UUIDs and labels will be added to the minimal
initramfs (it is my undrestanding it's kinda easy to do). The
important thing is that it will be still supported.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Michael Mol
On Wed, Sep 7, 2011 at 1:52 PM, Canek Peláez Valdés  wrote:
> On Wed, Sep 7, 2011 at 1:23 PM, Dan Johansson  wrote:
>>> > This is definitely not a choice that the gentoo disto made; it is coming
>>> > from several upstreams.
>>>
>>> I know it is from upstream but it still tastes really bad.   ;-)
>>
>> I can only agree!
>> I am having /usr on a LVM volume on all systems (Gentoo and non Gentoo).
>> This will be a MAJOR issue if /usr needs to be on /.
>
> It is my understanding that /usr does *not* need to be on /, only that
> if you do, you will need an initramfs. Look at
> http://article.gmane.org/gmane.linux.gentoo.devel/72275 and the thread
> that followed it.

...and now I know that my entirely UUID-driven fstab may stop working,
if they choose not to add that particular "tweak/improvement".



-- 
:wq



Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Canek Peláez Valdés
On Wed, Sep 7, 2011 at 1:23 PM, Dan Johansson  wrote:
>> > This is definitely not a choice that the gentoo disto made; it is coming
>> > from several upstreams.
>>
>> I know it is from upstream but it still tastes really bad.   ;-)
>
> I can only agree!
> I am having /usr on a LVM volume on all systems (Gentoo and non Gentoo).
> This will be a MAJOR issue if /usr needs to be on /.

It is my understanding that /usr does *not* need to be on /, only that
if you do, you will need an initramfs. Look at
http://article.gmane.org/gmane.linux.gentoo.devel/72275 and the thread
that followed it.

After reading that, and other similar threads, I still don't
understand the benefits of a separated /usr. Mounting it read-only
seems the only sensible one, and then I think is better to go all the
way and mount / read-only.

But that's just me: anyway, anyone will be able to keep /usr in
another partition if so they desire it. They will only need to use an
initramfs.

Regards.
-- 
Canek Peláez Valdés
Posgrado en Ciencia e Ingeniería de la Computación
Universidad Nacional Autónoma de México



[gentoo-user] altgr-intl keyboard layout

2011-09-07 Thread meino . cramer
Hi,

from here I learned the altgr-intl keyboard layout:
http://dry.sailingissues.com/us-international-keyboard-layout.html
which I will try. It seems to be a good choice for daily
programming and writing (I need german Umlauts...;)

Instead of altgr-intl: Is there a windows equivalent, for
which I can search to find a howto to establish this 
kind of keyboard-fu on my keyboard at work, where there
is no Linux reachable?

Thank you very much for any help in advance!
Best regards,
mcc





Re: [gentoo-user] /dev/sda* missing at boot

2011-09-07 Thread Dan Johansson
> > This is definitely not a choice that the gentoo disto made; it is coming
> > from several upstreams.
> 
> I know it is from upstream but it still tastes really bad.   ;-)

I can only agree!
I am having /usr on a LVM volume on all systems (Gentoo and non Gentoo).
This will be a MAJOR issue if /usr needs to be on /.

Just my 2 cents.
-- 
Dan Johansson, 
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Wireless Configuration...

2011-09-07 Thread Michael Mol
On Wed, Sep 7, 2011 at 9:54 AM, BRM  wrote:
>> From: Mick 
>> On Tuesday 06 Sep 2011 15:24:33 BRM wrote:
>> I don't know if one is causing a clash with the other, so don't try to
>> use
>> both at the same time.  If wicd is started automatically when you boot/login,
>> then just use that.
>
> Well, I figured this part out. Essentially, I had wpa_supplicant, and wicd 
> installed.
> However, what I really wanted to NetworkManager and KNetworkManager installed.
> So I removed wicd, and installed NetworkManager and KNetworkManager.
> I now get the interface I expected under KDE and don't need to use wpa_gui 
> any more.
> Still, it doesn't scan.

I believe NetworkManager provides WPA supplicant functionlaity, so I
don't think you need wpa_supplicant if you have NetworkManager. It's
been a *long* time (about five years) since I messed with wireless
configuration daemons, though. Lots of things can change in that time,
including memory...

-- 
:wq



Re: [gentoo-user] Dependency Problem with Bind and Mysql

2011-09-07 Thread Todd Goodman
* Paul Hartman  [110906 10:08]:
> On Tue, Sep 6, 2011 at 9:32 AM, Paul Hartman
>  wrote:
> > On Tue, Sep 6, 2011 at 6:41 AM, Todd Goodman  wrote:
> >> I've been getting the following problem trying to emerge world for the
> >> past few days:
> >>
> >> !!! Problem resolving dependencies for net-dns/bind from @selected
> >> ... done!
> >>
> >> !!! The ebuild selected to satisfy "net-dns/bind" has unmet
> >> requirements.
> >> - net-dns/bind-9.8.1::gentoo USE="berkdb dlz mysql odbc ssl threads xml
> >>  -caps -doc -geoip -gost -gssapi -idn -ipv6 -ldap -pkcs11 -postgres
> >> -rpz -sdb-ldap (-selinux) -urandom"
> >>
> >>  The following REQUIRED_USE flag constraints are unsatisfied:
> >>    mysql? ( !threads )
> >>
> >>  The above constraints are a subset of the following complete
> >> expression:
> >>    postgres? ( dlz ) berkdb? ( dlz ) mysql? ( dlz !threads ) odbc? (
> >> dlz ) ldap? ( dlz ) sdb-ldap? ( dlz ) gost? ( ssl )
> >>
> >> (dependency required by "@selected" [set])
> >> (dependency required by "@world" [argument])
> >>
> >>
> >> So it looks like bind-9.8.1 wants mysql with the threads use flag
> >> disabled.  I have added:
> >>
> >>>=dev-db/mysql-5.1.58-r1 -threads
> >>
> >> to /etc/portage/package.use
> >>
> >> However, I don't believe mysql-5.1.58-r1 uses the threads use flag?
> >>
> >> Anyone have any ideas (aside from down-reving mysql?)
> >
> > I think you need to set bind -threads, not mysql.
> 
> I just tried and setting these USE flags for bind satisfied it:
> 
> net-dns/bind mysql dlz -threads
> 

Thanks everyone for pointing out my dumb mistake in interpreting the
output.  :-)

Todd



Re: [gentoo-user] Wireless Configuration...

2011-09-07 Thread BRM
- Original Message -

> From: Mick 
> On Tuesday 06 Sep 2011 15:24:33 BRM wrote:
>>  - Original Message -
>>  > From: Mick 
>>  > On Saturday 03 Sep 2011 15:14:27 BRM wrote:
>>  >>  - Original Message -
>>  > I think the above should be either:
>>  > 
>>  >   ctrl_interface=/var/run/wpa_supplicant
>>  >   ctrl_interface_group=wheel
>>  > 
>>  > or,
>>  > 
>>  >   DIR=/var/run/wpa_supplicant GROUP=wheel
>> 
>>  Ok. Corrected that to the first one.
> 
> Fine.  I note that you said the wpa_gui won't scan further down this thread, 
> 
> just in case ... is your user part of the wheel group?

Yes, so I can use sudo.
 
>>  >>  #ctrl_interface_group=wheel
>>  >>  ap_scan=1
>>  >>  fast_reauth=1
>>  >>  # This blank configuration will automatically use DHCP for any 
> net.*
>>  >>  # scripts in /etc/init.d.  To create a more complete 
> configuration,
>>  >>  # please review /etc/conf.d/net.example and save your 
> configuration
>>  >>  # in /etc/conf.d/net (this file :]!).
>>  >>  
>>  >>  # Standard Network:
>>  >>  config_eth0=( "dhcp" )
>>  > 
>>  > The old syntax you use here, which was ( "value" ) is now 
> deprecated. 
>>  > You
>>  > should replace all such entries by removing the brackets, e.g. the 
> above
>>  > becomes:
>>  > 
>>  > config_eth0="dhcp"
>>  > 
>>  > This is explained in: 
> http://www.gentoo.org/doc/en/openrc-migration.xml
>> 
>>  Corrected that one too. eth0 was working fine though.
> 
> Yes, because eth0 will default to dhcp, after the old syntax you were using 
> errors out or is ignored.

Ok.
 
>>  > modules="wpa_supplicant"
>>  > wpa_supplicant_wlan0="-Dwext"
>>  > config_wlan0="dhcp"
>> 
>>  I re-enabled those and added the last line.
> 
> OK, wpa_supplicant should now work as intended.
> 
> 
>>  > You need to add or uncomment the following to your 
> wpa_supplicant.conf:
>>  > =
>>  > network={
>>  >         key_mgmt=NONE
>>  >         priority=0
>>  > }
>>  > =
>>  > The above will let latch on the first available AP.
>> 
>>  I wasn't sure that that one was for. I've re-enabled it and the 
> original
>>  one for my network. 
> 
> OK, this is useful for open AP which accept connections.  If they need 
> encryption you can add this using the wpa_gui.

Interesting. Good to know. Thanks!
 
>>  > Also, you can then add any AP of preference with passphrases and what
>>  > not: =
>>  > # Home Network
>>  > network={
>>  >       ssid="MY-NETWORK"
>>  > #      key_mgmt=IEEE8021X  <--You don't need these entries 
> here, unless
>>  > #      eap=TLS             <--you run SSL certs for authentication
>>  >       wep_key0=DEADBEAF0123456789ABCDEF000
>>  >       priority=1
>>  >       auth_alg=OPEN
>>  > }
>>  > =
>> 
>>  Interestingly, wpa_supplicant complains if those two lines are not there
>>  even though I am not doing SSL auth. 
> 
> Hmm ... what is the error/warning that comes up?

I'll have to check after I get home.
 
> Either way, can you please add:
> 
> eapol_version=1

Will do this evening.
 
>>  I'd rather use the NetworkManager in KDE than wpa_gui.
>>  That said, NetworkManager in KDE seems to be using wicd for some reason.
> You need someone else to chime in here, because I use neither of these.  As 
> far as I read in this M/L wicd is more or less fool-proof.
>>  I also have KDE running under Kubuntu on my work computer (4.6.2) and the
>>  Network Manager is completely different (don't know why) - it's not 
> wicd
>>  as far as I can tell.
>> 
>>  However, They are still not working. wpa_gui refuses to scan and find
>>  networks; while wicd is not finding networks either - but there's so
>>  little information in the GUI that it is practically useless to say why.
>>  Perhaps I've got something at the KDE layer screwed up?
> I don't know if one is causing a clash with the other, so don't try to 
> use 
> both at the same time.  If wicd is started automatically when you boot/login, 
> then just use that.

Well, I figured this part out. Essentially, I had wpa_supplicant, and wicd 
installed.
However, what I really wanted to NetworkManager and KNetworkManager installed.
So I removed wicd, and installed NetworkManager and KNetworkManager.
I now get the interface I expected under KDE and don't need to use wpa_gui any 
more.
Still, it doesn't scan.
 
> When wpa_gui refuses to scan what message do you get?  What do the logs say.
> Also, if wpa_gui or wicd fail to scan for APs what do you get from:
> # iwlist wlan0 scanning

At least from the applications I am not getting any error messages. I'll have 
to check the logs tonight and let you know.

This morning I checked the antennae to verify they were properly connected to 
the mini-PCI card (as I had opened it up a few weeks ago to see whether it was 
mini-PCI or mini-PCIe; but I didn't remove/disconnect anything at that  time). 
Everything checked out. So it shouldn't be a hardware issue unless the card is 
completely fried for som

Re: [gentoo-user] [OT] Opera browser set home page

2011-09-07 Thread Stefano Crocco
On Wednesday 07 September 2011 07:16:11 Harry Putnam wrote:
> Pretty lame and pretty OT, but here it is:
> 
> I've installed Opera... in the last 40 min or so, I've attempted to
> determine how to set a home page.  Googled etc.
> 
> Directions found on google appear NOT to apply to linux version.
> 
> Navigate to and click the preferences link at top of opera page.
> 
> NOT... there is no such link.
> 
> So, how is it done... well maybe a preferences file found in ~/.opera/
> 
> vim operaprefs.ini  ... and then insert:
> Home URL=www.google.com/ig
>(save and restart) .. once again NOT.
> 
> Even watched a video... which shows a nice person clicking on
> preferences Icon... but well ... there isn't one.  Check all available
> toolbars by clicking `customize' on existing top mast but not finding
> a menu like that.
> 
> Is opera really so poorly designed as to make such a simple operation
> so time consuming, or am I missing something really basic (as usual).
> 
> How is such a simple operation done?

Are you asking how to set the page which opens the first time you launch 
Opera? With the version I have installed (11.50.1074), you have to click on 
the Opera button, just below the title bar and at the left of the first open 
tab. A menu will popup. There you'll find a 'Settings' menu and a 
'Preferences' submenu inside it. Clicking on Preferences displays a dialog 
where, in the General tab, you can choose the starting page. There you can 
also tell Opera to always load a saved session or the last used one.

Please, be aware the names of menus and dialogs I mentioned above may be 
slightly different from those: I have installed Opera in Italian, so I don't 
kown what are the English versions of the names.

I hope this helps

Stefano



Re: [gentoo-user] Filesystem with lowest CPU load, acceptable emerge performance, and stable?

2011-09-07 Thread Pandu Poluan
On Wed, Sep 7, 2011 at 02:24, James Broadhead  wrote:
> On 6 September 2011 19:55, Permjacov Evgeniy  wrote:
>> On 09/06/2011 09:26 PM, Pandu Poluan wrote:
>>> Disk I/O Characteristic: Occasional writes during 'normal' usage,
>>> once-a-week eix-sync + emerge -avuD
>>> Priority: Stable (i.e., less chance of corruption), least CPU usage.
>
> You would have to profile this, but I imagine that the best approach
> would be to compile in a RAM disk and copy. I think that you're
> probably trying to optimise the wrong part of this problem.
>

Hmmm... that gives me an idea...

If I have some free time, I'll experiment with doing an 'emerge -e
@world' on the various filesystems, and recording their total time
*and* CPU load.

Is the `sar` utility good enough to record CPU load?

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

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] Filesystem with lowest CPU load, acceptable emerge performance, and stable?

2011-09-07 Thread Pandu Poluan
On Wed, Sep 7, 2011 at 01:15, kashani  wrote:
> On 9/6/2011 10:26 AM, Pandu Poluan wrote:
>>
>> So, can anyone recommend me a filesystem that fulfills my following needs:
>>
>> Scenario: vFirewall (virtual Firewall) that is going to be deployed at
>> my IaaS Cloud Provider.
>>
>> Disk I/O Characteristic: Occasional writes during 'normal' usage,
>> once-a-week eix-sync + emerge -avuD
>>
>> Priority: Stable (i.e., less chance of corruption), least CPU usage.
>>
>> My Google-Fu seems to indicate either XFS or JFS; what do you think?
>
>        I think it's a useless local optimization for no real world gain
> which only increases the complexity of your systems. Use the same filesystem
> you use on all your other servers.
>

Well, for all my other servers, I standardized on ext4.

Since a vFirewall have to perform lots of packet-juggling, I'd rather
dedicate the CPU time to the kernel rather than the HD I/O.

Of course, a vFirewall needs to be updated every now and then, but
everytime an update is called for, it should not overly tax the CPU
and degrade the netfilter framework.

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

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



Re: [gentoo-user] Filesystem with lowest CPU load, acceptable emerge performance, and stable?

2011-09-07 Thread Pandu Poluan
On Wed, Sep 7, 2011 at 19:06, Florian Philipp  wrote:
> Am 06.09.2011 21:24, schrieb James Broadhead:
>> On 6 September 2011 19:55, Permjacov Evgeniy  wrote:
>>> On 09/06/2011 09:26 PM, Pandu Poluan wrote:
 Disk I/O Characteristic: Occasional writes during 'normal' usage,
 once-a-week eix-sync + emerge -avuD
 Priority: Stable (i.e., less chance of corruption), least CPU usage.
>>
>> You would have to profile this, but I imagine that the best approach
>> would be to compile in a RAM disk and copy. I think that you're
>> probably trying to optimise the wrong part of this problem.
>>
>> As for ext3/ext4, the improvements to fsck alone make ext4 the FS of
>> choice between the two.
>>
>> JB
>>
>
> Pandu is building a firewall. Putting a ton of RAM in it just for the
> sake for system updates is plain overkill and -- depending on his IaaS
> provider -- pretty expensive.
>

Indeed. If I need more RAM, they will only sell a complete package of
vCPU+RAM+Storage, which will then be merged with my current package.

They do offer Storage-only add-on packages, though. But that's beside the point.

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

 • LOPSA Member #15248
 • Blog : http://pepoluan.tumblr.com
 • Linked-In : http://id.linkedin.com/in/pepoluan



[gentoo-user] [OT] Opera browser set home page

2011-09-07 Thread Harry Putnam
Pretty lame and pretty OT, but here it is:

I've installed Opera... in the last 40 min or so, I've attempted to
determine how to set a home page.  Googled etc.

Directions found on google appear NOT to apply to linux version.

Navigate to and click the preferences link at top of opera page.

NOT... there is no such link.

So, how is it done... well maybe a preferences file found in ~/.opera/

vim operaprefs.ini  ... and then insert:
Home URL=www.google.com/ig   
   (save and restart) .. once again NOT.

Even watched a video... which shows a nice person clicking on
preferences Icon... but well ... there isn't one.  Check all available
toolbars by clicking `customize' on existing top mast but not finding
a menu like that.

Is opera really so poorly designed as to make such a simple operation
so time consuming, or am I missing something really basic (as usual).

How is such a simple operation done?




Re: [gentoo-user] Filesystem with lowest CPU load, acceptable emerge performance, and stable?

2011-09-07 Thread Florian Philipp
Am 06.09.2011 21:24, schrieb James Broadhead:
> On 6 September 2011 19:55, Permjacov Evgeniy  wrote:
>> On 09/06/2011 09:26 PM, Pandu Poluan wrote:
>>> Disk I/O Characteristic: Occasional writes during 'normal' usage,
>>> once-a-week eix-sync + emerge -avuD
>>> Priority: Stable (i.e., less chance of corruption), least CPU usage.
> 
> You would have to profile this, but I imagine that the best approach
> would be to compile in a RAM disk and copy. I think that you're
> probably trying to optimise the wrong part of this problem.
> 
> As for ext3/ext4, the improvements to fsck alone make ext4 the FS of
> choice between the two.
> 
> JB
> 

Pandu is building a firewall. Putting a ton of RAM in it just for the
sake for system updates is plain overkill and -- depending on his IaaS
provider -- pretty expensive.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] What is up with the libreoffice ebuild?

2011-09-07 Thread Neil Bothwick
On Wed, 07 Sep 2011 09:56:13 +0200, Joost Roeleveld wrote:

> > What I failed to mention was that the cupboard was often in a
> > different room. The switch for the living room wall lights is still
> > in the kitchen cupboard, behind the pickled onions :-O  
> 
> I would, instead of rewiring it all, replace the switches with those
> remote- control ones and simply control it from a tablet-pc :)

Already done, except I'm using X10, which means I can also control them
from my phone or the TV remote :)


-- 
Neil Bothwick

I am MODERATOR of BORG. Follow the rules or be assimilated.


signature.asc
Description: PGP signature


Re: [gentoo-user] What is up with the libreoffice ebuild?

2011-09-07 Thread Joost Roeleveld
On Tuesday, September 06, 2011 12:20:06 PM Neil Bothwick wrote:
> On Tue, 6 Sep 2011 13:07:08 +0200, Alan McKinnon wrote:
> > > I think this system was designed by the previous owner of my house,
> > > who put light switches inside cupboards.
> > 
> > You're lucky, I got a booze cupboard build in front of the main
> > distribution box.
> 
> What I failed to mention was that the cupboard was often in a different
> room. The switch for the living room wall lights is still in the kitchen
> cupboard, behind the pickled onions :-O

I would, instead of rewiring it all, replace the switches with those remote-
control ones and simply control it from a tablet-pc :)

(Google for home automation if you want to know more)

--
Joost



Re: [gentoo-user] using icc with portage

2011-09-07 Thread Stefan G. Weichinger
Am 2011-09-07 07:19, schrieb justin:
> On 9/5/11 11:43 PM, Stefan G. Weichinger wrote:
>> 
>> Anyone else using Intel's compiler, icc?
> 
> Hi Stefan,
> 
> try to stick to gcc as most pacakges will compile with it.
> 
> I personally use icc/ifort for some sience packages and see
> speedups of calculation between 2-25x depending on the *FLAGS. But
> this needs much optimization of the flags. Nevertheless interesting
> for performance critical apps.
> 
> Another compiler which was recently released after a long time as 
> closed source app into the open source world is the ekopath
> compiler suite (ekopath(-bin) and path64) which proofed to have the
> best optimization of all compilers in benchmarks. But same as icc,
> it might not work with some packages.
> 
> And never use it with the kernel.

Thanks to both of you (Justin, Tamer).

All this doesn't answer my question, but OK, I will find my way ...

Greets, Stefan



Re: [gentoo-user] Dependency Problem with Bind and Mysql

2011-09-07 Thread Adam Carter
> I think you need to set bind -threads, not mysql.

You have to resolve the build issue in the way that suits you best.
Since i'm not using the mysql integration features with bind, there's
no reason to forego threads in bind to permit support for something
i'm not using.