Re: [gentoo-user] [OT] Binary install distro

2011-11-12 Thread Florian Philipp
Am 12.11.2011 02:02, schrieb Neil Bothwick:
 On Sat, 12 Nov 2011 01:45:23 +0100, Florian Philipp wrote:
 
 What happens when there is that one thing they need to do that needs
 root privileges? Do you give them the root password and let them do
 what they want, or do you make that one operation available to them?
 
 SETUID bit like /bin/ping or sudo itself? That being said, I'd also use
 sudo unless the usage is so frequent that the constant password typing
 becomes a pain.
 
 SETUID enables it for everyone, not just the user in question.
 
 You can set sudo to allow specified commands to be executed without a
 password.
 
 

Well, you can limit execution to a single group. Some quick results from
`find`:

-rws--x--- 1 root messagebus 318656 23. Okt 10:44
/usr/libexec/dbus-daemon-launch-helper
-rws--x--- 1 root squid 22824 2. Nov 20:26 /usr/libexec/squid/ncsa_auth
-rws--x--- 1 root squid 18720 2. Nov 20:26 /usr/libexec/squid/pam_auth

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] Another hardware thread

2011-11-12 Thread john
On Sat, 12 Nov 2011 00:51:29 +
Neil Bothwick n...@digimed.co.uk wrote:

 It's time for a new desktop, I'd rather the the money to Amazon or
 Ebuyer than the Inland Revenue. I'm currently running a Core2Duo
 system, but use AMD before that, so I have no real allegiances.
 
 I was thinking of something like an AMD 1100T 6 core CPU, the new
 Bulldozers are expensive and initial reports are not that promising,
 but an Intel that gives the same bang per buck would do. I'm thinking
 Gigabyte for motherboard, based on comments made here in similar
 threads (like the one Dale started a while ago). I need lots of SATA
 ports (fortunately, I bought a pair of 2TB drives a fortnight ago,
 just before the prices went ballistic).
 
 I'm not a gamer, but I want a system with plenty of grunt. Video
 performance is not critical, on board would suffice, except I need
 something with dual output to drive two monitors. Do any of the
 onboard jobbies do this or is a separate Nvidia still the best option?
 
 Thoughts would be welcome, and please feel free to start your own ATI
 vs Nvidia and AMD vs Intel flamewars. OK, I'd rather you didn't, but
 I'm not about to waste electrons asking for the impossible :)
 
 

Using a 1090t which is one behind the 1100t. It was relatively cheap
and performs excellently. Have had no problems running anything and
compilation time seems to rocket through on gentoo. Much faster than
previous dual core.




-- 
John D Maunder



[gentoo-user] The LIGHTEST web server (just for serving files) ?

2011-11-12 Thread Pandu Poluan
What is the *LIGHTEST* web server package you know for gentoo?

I just want to serve the distfiles, so no CGI / PHP /
whathaveyouscripting support is needed.

Preferably, with logging so I can see which packages I missed, but not
necessary.

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] The LIGHTEST web server (just for serving files) ?

2011-11-12 Thread Nilesh Govindarajan
On Sat 12 Nov 2011 01:54:10 PM IST, Pandu Poluan wrote:
 What is the *LIGHTEST* web server package you know for gentoo?

 I just want to serve the distfiles, so no CGI / PHP /
 whathaveyouscripting support is needed.

 Preferably, with logging so I can see which packages I missed, but not
 necessary.

 Rgds,

nginx.
You can disable fastcgi/etc using use flags.

-- 
Nilesh Govindarajan
http://nileshgr.com



Re: [gentoo-user] The LIGHTEST web server (just for serving files) ?

2011-11-12 Thread Pandu Poluan
On Sat, Nov 12, 2011 at 15:46, Nilesh Govindarajan cont...@nileshgr.com wrote:
 On Sat 12 Nov 2011 01:54:10 PM IST, Pandu Poluan wrote:
 What is the *LIGHTEST* web server package you know for gentoo?

 I just want to serve the distfiles, so no CGI / PHP /
 whathaveyouscripting support is needed.

 Preferably, with logging so I can see which packages I missed, but not
 necessary.

 Rgds,

 nginx.
 You can disable fastcgi/etc using use flags.


What about www-servers/fnord ?

Its website[1] claims that its binaries are less than 20 kB[2]

[1] http://www.fefe.de/fnord/
[2] http://www.fefe.de/fnord/others.html

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] The LIGHTEST web server (just for serving files) ?

2011-11-12 Thread Florian Philipp
Am 12.11.2011 10:01, schrieb Pandu Poluan:
 On Sat, Nov 12, 2011 at 15:46, Nilesh Govindarajan cont...@nileshgr.com 
 wrote:
 On Sat 12 Nov 2011 01:54:10 PM IST, Pandu Poluan wrote:
 What is the *LIGHTEST* web server package you know for gentoo?

 I just want to serve the distfiles, so no CGI / PHP /
 whathaveyouscripting support is needed.

 Preferably, with logging so I can see which packages I missed, but not
 necessary.

 Rgds,

 nginx.
 You can disable fastcgi/etc using use flags.

 
 What about www-servers/fnord ?
 
 Its website[1] claims that its binaries are less than 20 kB[2]
 
 [1] http://www.fefe.de/fnord/
 [2] http://www.fefe.de/fnord/others.html
 
 Rgds,

Talking about small: `/bin/busybox httpd`

I goes without saying that this is not meant to be web-facing.

Most things are explained in the --help output but the config file
format is only explained in a source code comment. See below:

httpd.conf has the following format:

H:/serverroot # define the server root. It will override -h
A:172.20. # Allow address from 172.20.0.0/16
A:10.0.0.0/25 # Allow any address from 10.0.0.0-10.0.0.127
A:10.0.0.0/255.255.255.128  # Allow any address that previous set
A:127.0.0.1   # Allow local loopback connections
D:*   # Deny from other IP connections
E404:/path/e404.html # /path/e404.html is the 404 (not found) error page
I:index.html  # Show index.html when a directory is requested

P:/url:[http://]hostname[:port]/new/path
  # When /urlXX is requested, reverse proxy
  # it to http://hostname[:port]/new/pathXX

/cgi-bin:foo:bar
  # Require user foo, pwd bar on urls starting with /cgi-bin/
/adm:admin:setup
  # Require user admin, pwd setup on urls starting with /adm/
adm:toor:PaSsWd  # or user toor, pwd PaSsWd on urls starting with /adm/
.au:audio/basic   # additional mime type for audio.au files
*.php:/path/php   # run xxx.php through an interpreter

A/D may be as a/d or allow/deny - only first char matters.
Deny/Allow IP logic:
- Default is to allow all (Allow all (A:*) is a no-op).
- Deny rules take precedence over allow rules.
- Deny all rule (D:*) is applied last.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] [OT] Binary install distro

2011-11-12 Thread Mick
On Saturday 12 Nov 2011 00:42:31 Neil Bothwick wrote:
 On Fri, 11 Nov 2011 23:47:31 +0200, Alan McKinnon wrote:
  If my ftp server stats are anything to go by, Linux Mint is the one
  power users are targeting right now. Number of downloads is a
  significant % of number of Ubuntu downloads.
 
 How much of that is a knee-jerk reaction to Unity, Mint being seen as
 Ubuntu without the new-fangled stuff we don't want to try to understand.

After 5 minutes on my nieces' PC with a new Ubuntu Unity installation I had to 
switch off the machine and remove myself from the room until I calmed down.  
The swearing was too much for the family to bear!  ;-)

That said, the nieces seem completely at home with Unity and they like it more 
than the classic Ubuntu Gnome GUI.  Tut, tut!  Kids!  I guess they will also 
like the MSWindows 8 GUI next.  /sigh
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: [OT] Binary install distro

2011-11-12 Thread Neil Bothwick
On Fri, 11 Nov 2011 21:05:39 -0600, Dale wrote:

  Is there a way after the install to add a Windoze OS to grub and all?
  I unplugged the windoze drive to make sure it didn't mess that up OR
  I mess up something. So, grub, or some bootloader, is installed on
  the wrong drive in this case.  
  Plug the drive back in and run grub2-mkconfig. It will generate a new
  menu with a Windows option. No manual editing needed.

 Oh no.  It can't be that easy.  O_O  I'm going to screw 
 something up you watch.  lol

 Oh, how do I boot it the first time tho?  When I plug the windoze drive 
 up, there won't be a grub.  Yet anyway.  Hm.

Of course there is, as long as the BIOS is set to boot from the Linux
disc, GRUB is there and waiting to boot Linux. Run grub2-mkconfig to
generate a new config for the existing GRUB, with Windows included.


-- 
Neil Bothwick

CONGRSS.SYS corruptd... Re-boot Washington D.C? (Y/N)


signature.asc
Description: PGP signature


Re: [gentoo-user] Another hardware thread

2011-11-12 Thread Neil Bothwick
On Sat, 12 Nov 2011 09:06:49 +0700, Pandu Poluan wrote:

  I'm not a gamer, but I want a system with plenty of grunt. Video
  performance is not critical, on board would suffice, except I need
  something with dual output to drive two monitors. Do any of the
  onboard jobbies do this or is a separate Nvidia still the best option?

 AFAIK onboards very rarely have support for dual monitor. Besides,
 having a separate somewhat-beefier GPU might be usable in some cases.
 For instance, Ubuntu's Unity and Windows' Aero both rely on GPU to do
 their eye candy stuff.
 
 C'mon, don't be stingy... spare one PCIe slot for a graphic card :-)

I'm not bothered about using a separate card, heck I could even re-use
the one I have.

I use neither Unity nor Windows tough.


-- 
Neil Bothwick

We've all heard that a million monkeys banging on a million
typewriters will eventually reproduce the works of Shakespeare.
Now, thanks to the Internet, we know this is not true.


signature.asc
Description: PGP signature


Re: [gentoo-user] Another hardware thread

2011-11-12 Thread Pandu Poluan
On Nov 12, 2011 5:42 PM, Neil Bothwick n...@digimed.co.uk wrote:

 On Sat, 12 Nov 2011 09:06:49 +0700, Pandu Poluan wrote:

   I'm not a gamer, but I want a system with plenty of grunt. Video
   performance is not critical, on board would suffice, except I need
   something with dual output to drive two monitors. Do any of the
   onboard jobbies do this or is a separate Nvidia still the best option?

  AFAIK onboards very rarely have support for dual monitor. Besides,
  having a separate somewhat-beefier GPU might be usable in some cases.
  For instance, Ubuntu's Unity and Windows' Aero both rely on GPU to do
  their eye candy stuff.
 
  C'mon, don't be stingy... spare one PCIe slot for a graphic card :-)

 I'm not bothered about using a separate card, heck I could even re-use
 the one I have.

 I use neither Unity nor Windows tough.

Well, those are just examples, illustrating that GPUs are no longer only
used by games and cg renderers. Some BOINC projects also use the GPU, and
who knows what else will utilize the GPU in the future.

Rgds,


Re: [gentoo-user] how can I disable renaming of root fs to /dev/root?

2011-11-12 Thread victor romanchuk
Jarry wrote, at 11/11/2011 09:37 PM:
 Hi,
 this is actually not problem but rather a matter of customs:
 My new fresh installed system shows root-fs in df as
 /dev/root, not actuall device (in my case /dev/md2).

 I think I coud get used to it, but some software still needs
 /dev/md2 (i.e. lilo), other does not find /dev/md2 anymore
 and needs /dev/root to work properly (i.e. monit).

 Moreover, in /etc/fstab I still have to use /dev/md2 as root
 filesystem, while /etc/mtab shows only /dev/root.

 I do not like such a mess and I'd like to put it in rather
 consistent state where root filesystem has always the same
 and only name. Is there some way to stop this renaming
 of root filesystem to /dev/root and let it be as in old
 baselayout1?

 Jarry

try that patch (attached):

sometime ago i have found it in gentoo forums. probably did few modifications in
the original i found, cannot remember. it works for me for months with no
visible problems

victor
--- mtab.orig	2011-05-09 10:39:38.510430618 +0400
+++ /etc/init.d/mtab	2011-11-12 15:23:23.113980922 +0400
@@ -12,6 +12,9 @@
 
 start()
 {
+	# look in an easy way to where root is mounted from
+	ROOTFS=$(readlink -f /dev/root)
+
 	# /etc/mtab could be a symlink to /proc/mounts
 	if [ ! -w /etc/mtab -a -L /etc/mtab ]; then
 		eeinfo Skipping mtab update (non writeable symlink)
@@ -28,7 +31,8 @@
 	# makes / readonly and dismounts all tmpfs even if in use which is
 	# not good. Luckily, umount uses /etc/mtab instead of /proc/mounts
 	# which allows this hack to work.
-	grep -v ^[^ ]* / tmpfs  /proc/mounts  /etc/mtab
+	grep -v ^[^ ]* / tmpfs  /proc/mounts |
+		awk '$1 != rootfs {print}' | sed 's%/dev/root%'${ROOTFS}'%'  /etc/mtab
 
 	# Remove stale backups
 	rm -f /etc/mtab~ /etc/mtab~~


Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread Mick
On Saturday 12 Nov 2011 09:14:27 Florian Philipp wrote:
 Am 12.11.2011 10:01, schrieb Pandu Poluan:
  On Sat, Nov 12, 2011 at 15:46, Nilesh Govindarajan cont...@nileshgr.com 
wrote:
  On Sat 12 Nov 2011 01:54:10 PM IST, Pandu Poluan wrote:
  What is the *LIGHTEST* web server package you know for gentoo?
  
  I just want to serve the distfiles, so no CGI / PHP /
  whathaveyouscripting support is needed.
  
  Preferably, with logging so I can see which packages I missed, but not
  necessary.
  
  Rgds,
  
  nginx.
  You can disable fastcgi/etc using use flags.
  
  What about www-servers/fnord ?
  
  Its website[1] claims that its binaries are less than 20 kB[2]
  
  [1] http://www.fefe.de/fnord/
  [2] http://www.fefe.de/fnord/others.html
  
  Rgds,
 
 Talking about small: `/bin/busybox httpd`
 
 I goes without saying that this is not meant to be web-facing.
 
 Most things are explained in the --help output but the config file
 format is only explained in a source code comment. See below:
 
 httpd.conf has the following format:
 
 H:/serverroot # define the server root. It will override -h
 A:172.20. # Allow address from 172.20.0.0/16
 A:10.0.0.0/25 # Allow any address from 10.0.0.0-10.0.0.127
 A:10.0.0.0/255.255.255.128  # Allow any address that previous set
 A:127.0.0.1   # Allow local loopback connections
 D:*   # Deny from other IP connections
 E404:/path/e404.html # /path/e404.html is the 404 (not found) error page
 I:index.html  # Show index.html when a directory is requested
 
 P:/url:[http://]hostname[:port]/new/path
   # When /urlXX is requested, reverse proxy
   # it to http://hostname[:port]/new/pathXX
 
 /cgi-bin:foo:bar
   # Require user foo, pwd bar on urls starting with /cgi-bin/
 /adm:admin:setup
   # Require user admin, pwd setup on urls starting with /adm/
 adm:toor:PaSsWd  # or user toor, pwd PaSsWd on urls starting with /adm/
 .au:audio/basic   # additional mime type for audio.au files
 *.php:/path/php   # run xxx.php through an interpreter
 
 A/D may be as a/d or allow/deny - only first char matters.
 Deny/Allow IP logic:
 - Default is to allow all (Allow all (A:*) is a no-op).
 - Deny rules take precedence over allow rules.
 - Deny all rule (D:*) is applied last.

I've been using boa just for this purpose for years:

* www-servers/boa
 Available versions:  
~   0.94.14_rc21 ~x86 ~sparc ~mips ~ppc ~amd64 [doc]
 Homepage:http://www.boa.org/
 Description: A very small and very fast http daemon.

It can be easily locked down for internet facing roles.

I've also used thttpd (you can throttle its bandwidth if that's important in 
your network), but it's probably more than required for this purpose:

* www-servers/thttpd
 Available versions:  
2.25b-r7 amd64 ~hppa ~mips ppc sparc x86 ~x86-fbsd 
[static]
~   2.25b-r8 ~amd64 ~hppa ~mips ~ppc ~sparc ~x86 
~x86-fbsd 
[static]
 Homepage:http://www.acme.com/software/thttpd/
 Description: Small and fast multiplexing webserver.
-- 
Regards,
Mick


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


Re: [gentoo-user] mobo replaced; eth0 fails

2011-11-12 Thread Albert W. Hopkins
On Fri, 2011-11-11 at 21:41 -0500, Allan Gottlieb wrote:
 3.  Some advised blowing away .../persistent-net.rules.
 I chose to modify it so that the new device is now eth0 and the
 old
 device is gone.

Removing it does the same thing.  The device file is re-created with the
currently probed hardware and indexes start from 0.  It's just that most
people prefer to just remove it because it's less typing and less prone
to errors.

 
 




Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-12 Thread Mick
On Saturday 12 Nov 2011 02:37:53 Lavender wrote:
 The problem is that X is not installed. to install X, edit
 /etc/make.conf and add VIDEO_CARDS=your video card here and emerge
 xorg-server or emerge xorg-x11 to get X

How can it not be installed?  Wouldn't KDE pull in Xorg packages as 
dependencies?

 Thanks, I hope it is all right  without errors .

If not read these pages for instructions:

  http://www.gentoo.org/doc/en/xorg-config.xml

  http://www.gentoo.org/proj/en/desktop/kde/kde4-guide.xml
-- 
Regards,
Mick


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


Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-12 Thread Michael Schreckenbauer
Am Samstag, 12. November 2011, 12:09:23 schrieb Mick:
 On Saturday 12 Nov 2011 02:37:53 Lavender wrote:
  The problem is that X is not installed. to install X, edit
  /etc/make.conf and add VIDEO_CARDS=your video card here and emerge
  xorg-server or emerge xorg-x11 to get X
 
 How can it not be installed?  Wouldn't KDE pull in Xorg packages as
 dependencies?

No, not the server. Mind, X is a client-server architecture. It's perfectly 
valid to run kde-clients on a machine, that has no xserver installed.

Best,
Michael




Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread Pandu Poluan
On Nov 12, 2011 7:00 PM, Mick michaelkintz...@gmail.com wrote:

 I've been using boa just for this purpose for years:

 * www-servers/boa
 Available versions:
~   0.94.14_rc21 ~x86 ~sparc ~mips ~ppc ~amd64 [doc]
 Homepage:http://www.boa.org/
 Description: A very small and very fast http daemon.

 It can be easily locked down for internet facing roles.

 I've also used thttpd (you can throttle its bandwidth if that's important
in
 your network), but it's probably more than required for this purpose:

 * www-servers/thttpd
 Available versions:
2.25b-r7 amd64 ~hppa ~mips ppc sparc x86
~x86-fbsd [static]
~   2.25b-r8 ~amd64 ~hppa ~mips ~ppc ~sparc ~x86
~x86-fbsd
 [static]
 Homepage:http://www.acme.com/software/thttpd/
 Description: Small and fast multiplexing webserver.

Thanks for all the input!

During my drive home, something hit my brain: why not have the 'master'
server share the distfiles dir via NFS?

So, the question now becomes: what's the drawback/benefit of NFS-sharing vs
HTTP-sharing? The scenario is back-end LAN at the office, thus, a trusted
network by definition.

Rgds,


Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread Mick
On Saturday 12 Nov 2011 12:40:08 Pandu Poluan wrote:
 On Nov 12, 2011 7:00 PM, Mick michaelkintz...@gmail.com wrote:
  I've been using boa just for this purpose for years:
  
  * www-servers/boa
  
  Available versions:
 ~   0.94.14_rc21 ~x86 ~sparc ~mips ~ppc ~amd64 [doc]
  
  Homepage:http://www.boa.org/
  Description: A very small and very fast http daemon.
  
  It can be easily locked down for internet facing roles.
  
  I've also used thttpd (you can throttle its bandwidth if that's important
 
 in
 
  your network), but it's probably more than required for this purpose:
  
  * www-servers/thttpd
  
  Available versions:
 2.25b-r7 amd64 ~hppa ~mips ppc sparc x86
 
 ~x86-fbsd [static]
 
 ~   2.25b-r8 ~amd64 ~hppa ~mips ~ppc ~sparc ~x86
 
 ~x86-fbsd
 
  [static]
  
  Homepage:http://www.acme.com/software/thttpd/
  Description: Small and fast multiplexing webserver.
 
 Thanks for all the input!
 
 During my drive home, something hit my brain: why not have the 'master'
 server share the distfiles dir via NFS?
 
 So, the question now becomes: what's the drawback/benefit of NFS-sharing vs
 HTTP-sharing? The scenario is back-end LAN at the office, thus, a trusted
 network by definition.

HTTP is not really 'sharing'.  It is just 'copying'.  Clients download the 
distfiles from the home server to minimise load on the gentoo mirrors.  
Following the download a client machine will have a local copy of said distfile 
in the client://usr/distfile.

With NFS there is only one copy of the file, on the server, shared by other 
clients in the LAN.

In my case the server is not always on, so NFS would not be appropriate.
-- 
Regards,
Mick


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


Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread YoYo Siska
On Sat, Nov 12, 2011 at 07:40:08PM +0700, Pandu Poluan wrote:
 On Nov 12, 2011 7:00 PM, Mick michaelkintz...@gmail.com wrote:
 
  I've been using boa just for this purpose for years:
 
  * www-servers/boa
  Available versions:
 ~   0.94.14_rc21 ~x86 ~sparc ~mips ~ppc ~amd64 [doc]
  Homepage:http://www.boa.org/
  Description: A very small and very fast http daemon.
 
  It can be easily locked down for internet facing roles.
 
  I've also used thttpd (you can throttle its bandwidth if that's important
 in
  your network), but it's probably more than required for this purpose:
 
  * www-servers/thttpd
  Available versions:
 2.25b-r7 amd64 ~hppa ~mips ppc sparc x86
 ~x86-fbsd [static]
 ~   2.25b-r8 ~amd64 ~hppa ~mips ~ppc ~sparc ~x86
 ~x86-fbsd
  [static]
  Homepage:http://www.acme.com/software/thttpd/
  Description: Small and fast multiplexing webserver.
 
 Thanks for all the input!
 
 During my drive home, something hit my brain: why not have the 'master'
 server share the distfiles dir via NFS?
 
 So, the question now becomes: what's the drawback/benefit of NFS-sharing vs
 HTTP-sharing? The scenario is back-end LAN at the office, thus, a trusted
 network by definition.

NFS doesn't like when it looses connection to the server. The only
problems I had ever with NFS were because I forgot to unmout it before a
server restart or when I  took a computer (laptop) off to another
network...
Otherwise it works well, esp. when mounted ro on the clients, however
for distfiles it might make sense to allow the clients download and save
tarballs that are not there yet ;), though I never used it with many
computer emerging/downloading same same stuff, so can't say if locking
etc works correctly...

And with NFS the clients won't duplicate the files in their own
distfiles directories ;)

yoyo




Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread Stéphane Guedon
On Saturday 12 November 2011 14:01:54 Mick wrote:
 On Saturday 12 Nov 2011 12:40:08 Pandu Poluan wrote:
  On Nov 12, 2011 7:00 PM, Mick michaelkintz...@gmail.com wrote:
   I've been using boa just for this purpose for years:
   
   * www-servers/boa
   
   Available versions:
  ~   0.94.14_rc21 ~x86 ~sparc ~mips ~ppc ~amd64
  [doc]
   
   Homepage:http://www.boa.org/
   Description: A very small and very fast http daemon.
   
   It can be easily locked down for internet facing roles.
   
   I've also used thttpd (you can throttle its bandwidth if that's
   important
  
  in
  
   your network), but it's probably more than required for this purpose:
   
   * www-servers/thttpd
   
   Available versions:
  2.25b-r7 amd64 ~hppa ~mips ppc sparc x86
  
  ~x86-fbsd [static]
  
  ~   2.25b-r8 ~amd64 ~hppa ~mips ~ppc ~sparc ~x86
  
  ~x86-fbsd
  
   [static]
   
   Homepage:http://www.acme.com/software/thttpd/
   Description: Small and fast multiplexing webserver.
  
  Thanks for all the input!
  
  During my drive home, something hit my brain: why not have the 'master'
  server share the distfiles dir via NFS?
  
  So, the question now becomes: what's the drawback/benefit of NFS-sharing
  vs HTTP-sharing? The scenario is back-end LAN at the office, thus, a
  trusted network by definition.
 
 HTTP is not really 'sharing'.  It is just 'copying'.  Clients download the
 distfiles from the home server to minimise load on the gentoo mirrors.
 Following the download a client machine will have a local copy of said
 distfile in the client://usr/distfile.
 
 With NFS there is only one copy of the file, on the server, shared by other
 clients in the LAN.
 
 In my case the server is not always on, so NFS would not be appropriate.

With NFS, there is only one distfiles repo. So, when someone emerge an unknown 
program, the distfiles become available to your whole network (if shared of 
course).

I share /mnt/portage (the portage tree on a reiserfs) and /mnt/distfiles (on a 
ext4 fs). The tree is synced only once also ! It reduce server load (bandwitch 
on gentoo master server) and your global diskspace used (because repo are 
mutualized).

-- 
Stéphane Guedon
page web : http://www.22decembre.eu/
carte de visite : http://www.22decembre.eu/downloads/Stephane-Guedon.vcf
clé publique gpg : http://www.22decembre.eu/downloads/Stephane-Guedon.asc


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


Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread Florian Philipp
Am 12.11.2011 13:40, schrieb Pandu Poluan:
 
 During my drive home, something hit my brain: why not have the 'master'
 server share the distfiles dir via NFS?
 
 So, the question now becomes: what's the drawback/benefit of NFS-sharing
 vs HTTP-sharing? The scenario is back-end LAN at the office, thus, a
 trusted network by definition.
 
 Rgds,
 

How exactly had you planned to share distfiles? You didn't want to
mirror everything from the offical mirrors, did you? I'm not perfectly
sure how portage handles a mirror that occasionally returns 404 errors
but I think I've seen it fall back to the official mirrors in that case.
Anyway, making educated guesses about what should be on your own mirror
is probably a bit ineffective unless you have a very homogeneous
environment.

What I think you /should/ have wanted is a proxy specifically configured
to cache very large files. net-proxy/http-replicator has been made
specifically for Gentoo distfiles.

NFS has the advantage that it doesn't duplicate distfiles locally on all
machines. It is also easier to set up. Disadvantages? I'm unsure how
portage will handle cases when two machines fetch the same file at the
same time.

Regards,
Florian Philipp



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread Pandu Poluan
On Nov 12, 2011 8:05 PM, Mick michaelkintz...@gmail.com wrote:

 On Saturday 12 Nov 2011 12:40:08 Pandu Poluan wrote:
  On Nov 12, 2011 7:00 PM, Mick michaelkintz...@gmail.com wrote:
   I've been using boa just for this purpose for years:
  
   * www-servers/boa
  
   Available versions:
  ~   0.94.14_rc21 ~x86 ~sparc ~mips ~ppc ~amd64
[doc]
  
   Homepage:http://www.boa.org/
   Description: A very small and very fast http daemon.
  
   It can be easily locked down for internet facing roles.
  
   I've also used thttpd (you can throttle its bandwidth if that's
important
 
  in
 
   your network), but it's probably more than required for this purpose:
  
   * www-servers/thttpd
  
   Available versions:
  2.25b-r7 amd64 ~hppa ~mips ppc sparc x86
 
  ~x86-fbsd [static]
 
  ~   2.25b-r8 ~amd64 ~hppa ~mips ~ppc ~sparc ~x86
 
  ~x86-fbsd
 
   [static]
  
   Homepage:http://www.acme.com/software/thttpd/
   Description: Small and fast multiplexing webserver.
 
  Thanks for all the input!
 
  During my drive home, something hit my brain: why not have the 'master'
  server share the distfiles dir via NFS?
 
  So, the question now becomes: what's the drawback/benefit of
NFS-sharing vs
  HTTP-sharing? The scenario is back-end LAN at the office, thus, a
trusted
  network by definition.

 HTTP is not really 'sharing'.  It is just 'copying'.  Clients download the
 distfiles from the home server to minimise load on the gentoo mirrors.

Yeah, should've put quotes around the sharing part.

 Following the download a client machine will have a local copy of said
distfile
 in the client://usr/distfile.

 With NFS there is only one copy of the file, on the server, shared by
other
 clients in the LAN.

 In my case the server is not always on, so NFS would not be appropriate.

Hmmm, you have a point there.

Rgds,


Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread Pandu Poluan
On Nov 12, 2011 8:16 PM, YoYo Siska y...@gl.ksp.sk wrote:

 On Sat, Nov 12, 2011 at 07:40:08PM +0700, Pandu Poluan wrote:
  On Nov 12, 2011 7:00 PM, Mick michaelkintz...@gmail.com wrote:
  
   I've been using boa just for this purpose for years:
  
   * www-servers/boa
   Available versions:
  ~   0.94.14_rc21 ~x86 ~sparc ~mips ~ppc ~amd64
[doc]
   Homepage:http://www.boa.org/
   Description: A very small and very fast http daemon.
  
   It can be easily locked down for internet facing roles.
  
   I've also used thttpd (you can throttle its bandwidth if that's
important
  in
   your network), but it's probably more than required for this purpose:
  
   * www-servers/thttpd
   Available versions:
  2.25b-r7 amd64 ~hppa ~mips ppc sparc x86
  ~x86-fbsd [static]
  ~   2.25b-r8 ~amd64 ~hppa ~mips ~ppc ~sparc ~x86
  ~x86-fbsd
   [static]
   Homepage:http://www.acme.com/software/thttpd/
   Description: Small and fast multiplexing webserver.
 
  Thanks for all the input!
 
  During my drive home, something hit my brain: why not have the 'master'
  server share the distfiles dir via NFS?
 
  So, the question now becomes: what's the drawback/benefit of
NFS-sharing vs
  HTTP-sharing? The scenario is back-end LAN at the office, thus, a
trusted
  network by definition.

 NFS doesn't like when it looses connection to the server. The only
 problems I had ever with NFS were because I forgot to unmout it before a
 server restart or when I  took a computer (laptop) off to another
 network...
 Otherwise it works well, esp. when mounted ro on the clients, however
 for distfiles it might make sense to allow the clients download and save
 tarballs that are not there yet ;), though I never used it with many
 computer emerging/downloading same same stuff, so can't say if locking
 etc works correctly...

 And with NFS the clients won't duplicate the files in their own
 distfiles directories ;)

Yes, that would be beneficial. But if NFS is as finicky as that, what's a
better way to share directories?

Rgds,


Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread Pandu Poluan
On Nov 12, 2011 8:20 PM, Florian Philipp li...@binarywings.net wrote:

 Am 12.11.2011 13:40, schrieb Pandu Poluan:
 
  During my drive home, something hit my brain: why not have the 'master'
  server share the distfiles dir via NFS?
 
  So, the question now becomes: what's the drawback/benefit of NFS-sharing
  vs HTTP-sharing? The scenario is back-end LAN at the office, thus, a
  trusted network by definition.
 
  Rgds,
 

 How exactly had you planned to share distfiles? You didn't want to
 mirror everything from the offical mirrors, did you? I'm not perfectly
 sure how portage handles a mirror that occasionally returns 404 errors
 but I think I've seen it fall back to the official mirrors in that case.

Yes, portage (at least, 2.2) automatically use the next mirror in the list.

 Anyway, making educated guesses about what should be on your own mirror
 is probably a bit ineffective unless you have a very homogeneous
 environment.

 What I think you /should/ have wanted is a proxy specifically configured
 to cache very large files. net-proxy/http-replicator has been made
 specifically for Gentoo distfiles.


I had planned on having a script peruse the log file, looking for which box
got a 404, and 1 hour later try to move the file using scp from that box
into the common local subrepo.

But http-replicator sounds mighty better :-)

 NFS has the advantage that it doesn't duplicate distfiles locally on all
 machines. It is also easier to set up. Disadvantages? I'm unsure how
 portage will handle cases when two machines fetch the same file at the
 same time.

I can always stagger the time my boxes fetch the distfiles. That should
prevent locking problems.

Rgds,


Re: [gentoo-user] The LIGHTEST web server (just for serving files) ?

2011-11-12 Thread Ciprian Dorin Craciun
On Sat, Nov 12, 2011 at 10:24, Pandu Poluan pa...@poluan.info wrote:
 What is the *LIGHTEST* web server package you know for gentoo?

 I just want to serve the distfiles, so no CGI / PHP /
 whathaveyouscripting support is needed.

 Preferably, with logging so I can see which packages I missed, but not
 necessary.

 Rgds,


We use for such purpose http://linux.bytesex.org/misc/webfs.html .
It features both (reasonable) performance (threaded), security
(chroot, SSL) and simplicity (can be statically linked, can be
controlled solely from arguments).

For example (or add -d for debugging):

webfsd -F -p 80 -r .


Ciprian.



Re: [gentoo-user] mobo replaced; eth0 fails

2011-11-12 Thread Allan Gottlieb
On Sat, Nov 12 2011, Albert W. Hopkins wrote:

 On Fri, 2011-11-11 at 21:41 -0500, Allan Gottlieb wrote:
 3.  Some advised blowing away .../persistent-net.rules.
 I chose to modify it so that the new device is now eth0 and the
 old
 device is gone.

 Removing it does the same thing.  The device file is re-created with the
 currently probed hardware and indexes start from 0.  It's just that most
 people prefer to just remove it because it's less typing and less prone
 to errors.

I was worried that then eth0 might be wireless and eth1 wired,
but I should have tried it and only changed names if the switch
happened.

thanks,
allan



Re: [gentoo-user] mobo replaced; eth0 fails

2011-11-12 Thread Neil Bothwick
On Sat, 12 Nov 2011 08:44:16 -0500, Allan Gottlieb wrote:

  Removing it does the same thing.  The device file is re-created with
  the currently probed hardware and indexes start from 0.  It's just
  that most people prefer to just remove it because it's less typing
  and less prone to errors.  
 
 I was worried that then eth0 might be wireless and eth1 wired,
 but I should have tried it and only changed names if the switch
 happened.

No, that was a valid worry, you did the right thing. Removing the file is
easiest, but only 100% safe if you have only one eth device.


-- 
Neil Bothwick

Love and Trust: Oral sex between cannibals.


signature.asc
Description: PGP signature


Re: [gentoo-user] mobo replaced; eth0 fails

2011-11-12 Thread Allan Gottlieb
On Sat, Nov 12 2011, Neil Bothwick wrote:

 On Sat, 12 Nov 2011 08:44:16 -0500, Allan Gottlieb wrote:

  Removing it does the same thing.  The device file is re-created with
  the currently probed hardware and indexes start from 0.  It's just
  that most people prefer to just remove it because it's less typing
  and less prone to errors.  
 
 I was worried that then eth0 might be wireless and eth1 wired,
 but I should have tried it and only changed names if the switch
 happened.

 No, that was a valid worry, you did the right thing. Removing the file is
 easiest, but only 100% safe if you have only one eth device.

Thanks for the confirmation.
allan



[gentoo-user] XEmacs from Outer Space...is it Plan 9 or what ? ;)

2011-11-12 Thread meino . cramer
Hi,

for reason unknown to me the regular eix-sync; emerge-dance 
presents XEmacs-base and XEmacs as New to install packages since
two days. I am not using this editor nor is it in my world file.
What needs this...especially because it is an interactive application.
My $EDITOR show vim.

Any ideas?

Best regards,
mcc




Re: [gentoo-user] XEmacs from Outer Space...is it Plan 9 or what ? ;)

2011-11-12 Thread Florian Philipp
Am 12.11.2011 15:41, schrieb meino.cra...@gmx.de:
 Hi,
 
 for reason unknown to me the regular eix-sync; emerge-dance 
 presents XEmacs-base and XEmacs as New to install packages since
 two days. I am not using this editor nor is it in my world file.
 What needs this...especially because it is an interactive application.
 My $EDITOR show vim.
 
 Any ideas?
 
 Best regards,
 mcc
 
 

Try `emerge --tree -pvuD @world` to see what is pulling it in.



signature.asc
Description: OpenPGP digital signature


Re: [gentoo-user] XEmacs from Outer Space...is it Plan 9 or what ? ;)

2011-11-12 Thread meino . cramer
Florian Philipp li...@binarywings.net [11-11-12 16:16]:
 Am 12.11.2011 15:41, schrieb meino.cra...@gmx.de:
  Hi,
  
  for reason unknown to me the regular eix-sync; emerge-dance 
  presents XEmacs-base and XEmacs as New to install packages since
  two days. I am not using this editor nor is it in my world file.
  What needs this...especially because it is an interactive application.
  My $EDITOR show vim.
  
  Any ideas?
  
  Best regards,
  mcc
  
  
 
 Try `emerge --tree -pvuD @world` to see what is pulling it in.
 

Gives me that:

Calculating dependencies... done!
[nomerge   ] app-xemacs/emerge-1.11 
[nomerge   ]  app-editors/xemacs-21.4.22-r2  USE=X berkdb gdbm gif gpm 
jpeg png tiff -Xaw3d -athena -canna -dnd -eolconv -esd -freewnn -ldap -motif 
-mule -nas -neXt -pop -postgres -xface -xim 
[ebuild  N ]   app-xemacs/xemacs-base-2.27  524 kB
[ebuild  N ]app-editors/xemacs-21.4.22-r2  USE=X berkdb gdbm gif gpm 
jpeg png tiff -Xaw3d -athena -canna -dnd -eolconv -esd -freewnn -ldap -motif 
-mule -nas -neXt -pop -postgres -xface -xim 8

Looks like emerge became part of the xemacs packagevim seems not
good enough...;)

My current emerge is version 2.1.10.11...

scratching my head

Any idea, where the knot is?

Best regards,
mcc




[gentoo-user] Re: how can I disable renaming of root fs to /dev/root?

2011-11-12 Thread Hartmut Figge
victor romanchuk:

try that patch (attached):

Thanks for that. Here is a comparison:

Filesystem   1K-blocks  Used Available Use% Mounted on
rootfs   151187140  92949648  50557624  65% /
/dev/root151187140  92949648  50557624  65% /
rc-svcdir 102496   928  10% /lib/rc/init.d
[...]

With patch:
Filesystem   1K-blocks  Used Available Use% Mounted on
/dev/sda5151187140  92949656  50557616  65% /
rc-svcdir 102496   928  10% /lib/rc/init.d
[...]

sometime ago i have found it in gentoo forums. probably did few modifications 
in
the original i found, cannot remember. it works for me for months with no
visible problems

I will wait for problems to occur. ;)

Hartmut
-- 
Usenet-ABC-Wiki http://www.usenet-abc.de/wiki/
Von Usern fuer User  :-)




Re: [gentoo-user] XEmacs from Outer Space...is it Plan 9 or what ? ;)

2011-11-12 Thread Fredric Johansson
On Sat, Nov 12, 2011 at 4:24 PM,  meino.cra...@gmx.de wrote:
...snip...
 Try `emerge --tree -pvuD @world` to see what is pulling it in.


 Gives me that:

 Calculating dependencies... done!
 [nomerge       ] app-xemacs/emerge-1.11
 [nomerge       ]  app-editors/xemacs-21.4.22-r2  USE=X berkdb gdbm gif gpm 
 jpeg png tiff -Xaw3d -athena -canna -dnd -eolconv -esd -freewnn -ldap -motif 
 -mule -nas -neXt -pop -postgres -xface -xim
 [ebuild  N     ]   app-xemacs/xemacs-base-2.27  524 kB
 [ebuild  N     ]    app-editors/xemacs-21.4.22-r2  USE=X berkdb gdbm gif gpm 
 jpeg png tiff -Xaw3d -athena -canna -dnd -eolconv -esd -freewnn -ldap -motif 
 -mule -nas -neXt -pop -postgres -xface -xim 8

 Looks like emerge became part of the xemacs packagevim seems not
 good enough...;)

 My current emerge is version 2.1.10.11...

 scratching my head

 Any idea, where the knot is?

 Best regards,
 mcc


my guess is that you accidently installed app-xemacs/emerge which just
happens to have the same name as the command 'emerge' that
sys-apps/portage installs

//Fredric



Re: [gentoo-user] XEmacs from Outer Space...is it Plan 9 or what ? ;)

2011-11-12 Thread meino . cramer
Fredric Johansson fredric.miscm...@gmail.com [11-11-12 17:32]:
 On Sat, Nov 12, 2011 at 4:24 PM,  meino.cra...@gmx.de wrote:
 ...snip...
  Try `emerge --tree -pvuD @world` to see what is pulling it in.
 
 
  Gives me that:
 
  Calculating dependencies... done!
  [nomerge       ] app-xemacs/emerge-1.11
  [nomerge       ]  app-editors/xemacs-21.4.22-r2  USE=X berkdb gdbm gif gpm 
  jpeg png tiff -Xaw3d -athena -canna -dnd -eolconv -esd -freewnn -ldap 
  -motif -mule -nas -neXt -pop -postgres -xface -xim
  [ebuild  N     ]   app-xemacs/xemacs-base-2.27  524 kB
  [ebuild  N     ]    app-editors/xemacs-21.4.22-r2  USE=X berkdb gdbm gif 
  gpm jpeg png tiff -Xaw3d -athena -canna -dnd -eolconv -esd -freewnn -ldap 
  -motif -mule -nas -neXt -pop -postgres -xface -xim 8
 
  Looks like emerge became part of the xemacs packagevim seems not
  good enough...;)
 
  My current emerge is version 2.1.10.11...
 
  scratching my head
 
  Any idea, where the knot is?
 
  Best regards,
  mcc
 
 
 my guess is that you accidently installed app-xemacs/emerge which just
 happens to have the same name as the command 'emerge' that
 sys-apps/portage installs
 
 //Fredric
 

hmm...
may be.

But: Now and when I may did install it accidently it is/was true, that
Xemacs was needed and would be installed. Why was it pulled in now,
if it would have been installed when I installed app-xemacs/emerge
accidently?

Best regards,
mcc






[gentoo-user] Re: The LIGHTEST web server (just for serving files)?

2011-11-12 Thread Holger Hoffstaette
On Sat, 12 Nov 2011 14:14:33 +0100, Florian Philipp wrote:

 Disadvantages? I'm unsure how portage will handle cases when two
 machines fetch the same file at the same time.

In my experience concurrent/overlapping fetches work just fine, thanks to
portage's lock file. The second potential downloader just waits or does
something else in the meantime.

-h





Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-12 Thread Mick
On Saturday 12 Nov 2011 12:30:13 Michael Schreckenbauer wrote:
 Am Samstag, 12. November 2011, 12:09:23 schrieb Mick:
  On Saturday 12 Nov 2011 02:37:53 Lavender wrote:
   The problem is that X is not installed. to install X, edit
   /etc/make.conf and add VIDEO_CARDS=your video card here and emerge
   xorg-server or emerge xorg-x11 to get X
  
  How can it not be installed?  Wouldn't KDE pull in Xorg packages as
  dependencies?
 
 No, not the server. Mind, X is a client-server architecture. It's perfectly
 valid to run kde-clients on a machine, that has no xserver installed.

Oh!  My mistake.  I thought that xorg-server would be pulled in by some X USE 
flag or other.

-- 
Regards,
Mick


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


Re: [gentoo-user] [OT] Binary install distro

2011-11-12 Thread Alan McKinnon
On Sat, 12 Nov 2011 00:42:31 +
Neil Bothwick n...@digimed.co.uk wrote:

 On Fri, 11 Nov 2011 23:47:31 +0200, Alan McKinnon wrote:
 
  If my ftp server stats are anything to go by, Linux Mint is the one
  power users are targeting right now. Number of downloads is a
  significant % of number of Ubuntu downloads.
 
 How much of that is a knee-jerk reaction to Unity, Mint being seen as
 Ubuntu without the new-fangled stuff we don't want to try to
 understand.

If the contents of my inbox are anything to go by, then the answer is
quite a lot.

The common thread lately is that people using Mint do not want to
change just because for no good reason. Can't argue with that - gnome2
ain't broke so gnome3 isn't the fix. The solution is a fork.


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



Re: [gentoo-user] [OT] Binary install distro

2011-11-12 Thread Neil Bothwick
On Sat, 12 Nov 2011 22:44:08 +0200, Alan McKinnon wrote:

 The common thread lately is that people using Mint do not want to
 change just because for no good reason. Can't argue with that - gnome2
 ain't broke so gnome3 isn't the fix. The solution is a fork.

Deja Vu, or should that be Keja Vu?


-- 
Neil Bothwick

Facts are stubborn, but statistics are more pliable


signature.asc
Description: PGP signature


[gentoo-user] Re: Another hardware thread

2011-11-12 Thread masterprometheus
Neil Bothwick wrote:

 It's time for a new desktop, I'd rather the the money to Amazon or 
Ebuyer
 than the Inland Revenue. I'm currently running a Core2Duo system, but 
use
 AMD before that, so I have no real allegiances.
 
 I was thinking of something like an AMD 1100T 6 core CPU, the new
 Bulldozers are expensive and initial reports are not that promising, 
but
 an Intel that gives the same bang per buck would do. 

For AMD I'd recommend to go for a 960T :
http://www.newegg.com/Product/Product.aspx?Item=N82E16819103995
It's a 95W and as a Zosma it's actually a 6-core. Most of those (not all 
unfortunately) can be unlocked to a 6-core. Has Turbo functionality.

For Intel a 2500K is the way to go but maybe you should wait for Ivy 
Bridge.
http://www.newegg.com/Product/Product.aspx?Item=N82E16819115072

 I'm thinking
 Gigabyte for motherboard, based on comments made here in similar 
threads
 (like the one Dale started a while ago). 

Go for ASUS or Gigabyte. For AMD make sure you pick one that is 
compatible with the Bulldozer Architecture. For example :

http://www.newegg.com/Product/Product.aspx?Item=N82E16813131754
http://www.newegg.com/Product/Product.aspx?Item=N82E16813128509

Those are UEFI boards which will help with larger AF drives. 

For Intel go with Z68 boards. 
http://www.newegg.com/Product/Product.aspx?Item=N82E16813131790
http://www.newegg.com/Product/Product.aspx?Item=N82E16813128507
http://www.newegg.com/Product/Product.aspx?Item=N82E16813157264

 I need lots of SATA ports
 (fortunately, I bought a pair of 2TB drives a fortnight ago, just 
before
 the prices went ballistic).

Above boards have lots of SATA ports. 
 
 I'm not a gamer, but I want a system with plenty of grunt. Video
 performance is not critical, on board would suffice, except I need
 something with dual output to drive two monitors. Do any of the onboard
 jobbies do this or is a separate Nvidia still the best option?

Dual output what ? DSUB, DVI ? A fanless card :
http://www.newegg.com/Product/Product.aspx?Item=N82E16814102933

Something more powerful :
http://www.newegg.com/Product/Product.aspx?Item=N82E16814150543
 





Re: [gentoo-user] Re: Another hardware thread

2011-11-12 Thread Neil Bothwick
On Sat, 12 Nov 2011 23:00:15 +0200, masterprometheus wrote:

 For AMD I'd recommend to go for a 960T :
 http://www.newegg.com/Product/Product.aspx?Item=N82E16819103995
 It's a 95W and as a Zosma it's actually a 6-core. Most of those (not
 all unfortunately) can be unlocked to a 6-core. Has Turbo functionality.

That sounds like a poor gamble. A 3.0GHz CPu that I may be able to unlock
to 6 cores for £20 less than a genuine 6 cores 3.2GHz 1090T. I either get
slightly less for slightly less, or a lot less for slightly less :(


-- 
Neil Bothwick

God created the world in six days.  On the seventh day he also decided
to create England... just to try out his Practical Joke Weather Machine.


signature.asc
Description: PGP signature


Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread Neil Bothwick
On Sat, 12 Nov 2011 19:40:08 +0700, Pandu Poluan wrote:

 During my drive home, something hit my brain: why not have the 'master'
 server share the distfiles dir via NFS?

No reason at all, I've been doing it for years without a single
problem.

 So, the question now becomes: what's the drawback/benefit of
 NFS-sharing vs HTTP-sharing? The scenario is back-end LAN at the
 office, thus, a trusted network by definition.

The benefit is that everything is centralised. With an HTTP proxy, you
still have to download from the server to each client. The only drawback
that I experience is that if several packages use the same, large source
file, as so many of the KDE packages do, you are repeatedly pulling the
same file over the network, which is a little slower.


-- 
Neil Bothwick

Keyboard: (n.) a device used by programmers to write software for a mouse
or joystick and by operators for playing games such as 'word processing.'


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: app-emulation/virtualbox-modules and kernel sources

2011-11-12 Thread Jonas de Buhr
Am Thu, 10 Nov 2011 18:13:04 + (UTC)
schrieb Grant Edwards grant.b.edwa...@gmail.com:

 On 2011-11-10, Jonas de Buhr jonas.de.b...@gmx.net wrote:
  Hello everyone!
 
  virtualbox modules fails with the following
 
  * Messages for package app-emulation/virtualbox-modules-4.1.4:
 
   * Could not find a Makefile in the kernel source directory.
 [...]
 
  # uname -a
  Linux hostname 2.6.39-gentoo-r3 #5 SMP Sun Oct 9 19:25:51 CEST
  2011 x86_64 Intel(R) Core(TM)2 Quad CPU Q9450 @ 2.66GHz GenuineIntel
  GNU/Linux
 
  i don't get it. does anybody know whats wrong?
 
 Presumably there isn't a Makefile in /usr/src/Linux?

sorry, i was in a hurry, i really should have asked more specific
questions. yes, there is no makefile in the kernel sources and that
causes all make commands in the kernel source dir to fail (of course).

i have the sources for 3.0.6 installed and configured emerge to change
the symlinks on install of kernel sources.
but... does emerge delete the older makefiles? why would it? 

i hope there is a reasonable explanation for the makefiles
disappearing, i really can't use a failing HD at the moment.

 
 If you've done a make clean or something similar in the linux source
 directory (or if you've never built a kernel), you'll have to

well, i built the kernel i am running, is there a different way? :P

 re-generate at least the files required to build modules.  Try doing
 make modules_prepare in your linux source directory.
 
 The full story is in 
 
 /usr/src/linux/Documentation/kbuild/modules.txt sectio 2.
 

thanks!



Re: [gentoo-user] The LIGHTEST web server (just for serving files)?

2011-11-12 Thread William Kenworthy
Its been solved in the past ... designed for just this purpose:

moriah ~ # esearch http-replicator
[ Results for search key : http-replicator ]
[ Applications found : 1 ]

*  net-proxy/http-replicator
  Latest version available: 3.0-r2
  Latest version installed: 3.0-r2
  Size of downloaded files: 38 kB
  Homepage:http://sourceforge.net/projects/http-replicator
  Description: Proxy cache for Gentoo packages
  License: GPL-2


moriah ~ #

I chain them together (two levels, avoiding expensive download costs) so
the remote site doesnt have it in its cache, upstream is the master
cache, which if it doesnt have it will fetch from the repo.  You can
specify what port it runs on, and then use the http_proxy entry in
make.conf to point the clients to it thus avoiding port 80 and any
existing webserver. Handles concurrent fetches transparently. Overall, I
have found it preferable to NFS which has been a bit flaky at times in
the past.

Recommended!


BillK




On Sat, 2011-11-12 at 22:01 +, Neil Bothwick wrote:
 On Sat, 12 Nov 2011 19:40:08 +0700, Pandu Poluan wrote:
 
  During my drive home, something hit my brain: why not have the 'master'
  server share the distfiles dir via NFS?
 
 No reason at all, I've been doing it for years without a single
 problem.
 
  So, the question now becomes: what's the drawback/benefit of
  NFS-sharing vs HTTP-sharing? The scenario is back-end LAN at the
  office, thus, a trusted network by definition.
 
 The benefit is that everything is centralised. With an HTTP proxy, you
 still have to download from the server to each client. The only drawback
 that I experience is that if several packages use the same, large source
 file, as so many of the KDE packages do, you are repeatedly pulling the
 same file over the network, which is a little slower.
 
 





Re: [gentoo-user] [OT] Binary install distro

2011-11-12 Thread Dale

Dale wrote:

Hi,

This is maybe a bit off topic but here goes.  I want to install Linux 
on my brothers rig.  The heat sink on the CPU is not much, OEM type.  
I don't want to install Gentoo because of that and it is a older rig 
with a slow CPU and not a lot of ram either.  So, what is a easy to 
install distro that has KDE4, Seamonkey, gtkam, GIMP and such?  I want 
something easy because I want to install and leave it be until he can 
get a new rig built.  Then I'll be installing Gentoo for a more 
permanent install.


I looked at Kubuntu, Ubuntu and tried to install Mandriva.  Mandriva 
got to a point and just froze up on me.  I tried three times and it 
did the same thing each time so no clue what is going on there.


Ideas?

Dale

:-)  :-)




One more question.  What is a easy to install but WELL tested and STABLE 
binary distro?  I'm thinking something that needs a update 2 or 3 times 
a year or something.  My brother is liking Linux a lot.  No more Norton 
to pop up and aggravate him and he can just surf wherever he wants for 
the most part.  Once I get his emails moved over, windoze is going to 
take a loong nap.  ;-)  When I plug up the windoze drive, he dreads it.


My sis-n-law is liking Kpat and I installed pysol today.  She likes 
farming on facebook and card games.  I think those two alone will keep 
her happy a long time.


Thoughts?

By the way, I have read some of the other messages but holding off on a 
reply in case something doesn't work like I want.  I did get grub to 
come up when booting by hitting the shift key.  Progress.  I forgot my 
notes tho.  lol


Dale

:-)  :-)



Re: [gentoo-user] Re: Another hardware thread

2011-11-12 Thread Dale

masterprometheus wrote:

Neil Bothwick wrote:



I'm thinking
Gigabyte for motherboard, based on comments made here in similar

threads

(like the one Dale started a while ago).




I highly recommend Gigabyte.  My mobo has been great.  Everything runs 
cool and stable but I don't overclock either.  This mobo will but I just 
don't use that feature.


I'm not saying anything bad about ASUS just that I don't have a lot of 
experience with it.  I have messed with one once for a friend,  He 
worked fine and no complaints.  I only had it for a couple days tho.


Dale

:-)  :-)



Re: [gentoo-user] Re: Another hardware thread

2011-11-12 Thread Érico Porto
I have a asus board that does some pretty fair work on overclocking, but it
had a feature called Everyready, an feature to boot and load a webbrowser
or some games in 6 seconds.. But it crashed after the first bios update..

Érico V. Porto


On Sat, Nov 12, 2011 at 11:46 PM, Dale rdalek1...@gmail.com wrote:

 masterprometheus wrote:

  Neil Bothwick wrote:


  I'm thinking
 Gigabyte for motherboard, based on comments made here in similar

 threads

 (like the one Dale started a while ago).



 I highly recommend Gigabyte.  My mobo has been great.  Everything runs
 cool and stable but I don't overclock either.  This mobo will but I just
 don't use that feature.

 I'm not saying anything bad about ASUS just that I don't have a lot of
 experience with it.  I have messed with one once for a friend,  He worked
 fine and no complaints.  I only had it for a couple days tho.

 Dale

 :-)  :-)




Re: [gentoo-user] Re: Another hardware thread

2011-11-12 Thread Érico Porto
What kind of computer are you looking for? If you are not a gamer but do
like to watch high res videos, go for a fanless video board. If you like to
do image processing, nvidia boards are also a good idea because of CUDA
capabilities..

Érico V. Porto


On Sun, Nov 13, 2011 at 12:09 AM, Érico Porto ericoporto2...@gmail.comwrote:

 I have a asus board that does some pretty fair work on overclocking, but
 it had a feature called Everyready, an feature to boot and load a
 webbrowser or some games in 6 seconds.. But it crashed after the first bios
 update..

 Érico V. Porto



 On Sat, Nov 12, 2011 at 11:46 PM, Dale rdalek1...@gmail.com wrote:

 masterprometheus wrote:

  Neil Bothwick wrote:


  I'm thinking
 Gigabyte for motherboard, based on comments made here in similar

 threads

 (like the one Dale started a while ago).



 I highly recommend Gigabyte.  My mobo has been great.  Everything runs
 cool and stable but I don't overclock either.  This mobo will but I just
 don't use that feature.

 I'm not saying anything bad about ASUS just that I don't have a lot of
 experience with it.  I have messed with one once for a friend,  He worked
 fine and no complaints.  I only had it for a couple days tho.

 Dale

 :-)  :-)





Re: [gentoo-user] [OT] Binary install distro

2011-11-12 Thread Érico Porto
Install Ubuntu. It's easy to use, and doesn't need to be configured so
much. It's also friendly for beginners and has lots of references on the
web if something break. Also, it's normal look is prettier then Debian.

Érico V. Porto


On Sat, Nov 12, 2011 at 10:58 PM, Dale rdalek1...@gmail.com wrote:

 Dale wrote:

 Hi,

 This is maybe a bit off topic but here goes.  I want to install Linux on
 my brothers rig.  The heat sink on the CPU is not much, OEM type.  I don't
 want to install Gentoo because of that and it is a older rig with a slow
 CPU and not a lot of ram either.  So, what is a easy to install distro that
 has KDE4, Seamonkey, gtkam, GIMP and such?  I want something easy because I
 want to install and leave it be until he can get a new rig built.  Then
 I'll be installing Gentoo for a more permanent install.

 I looked at Kubuntu, Ubuntu and tried to install Mandriva.  Mandriva got
 to a point and just froze up on me.  I tried three times and it did the
 same thing each time so no clue what is going on there.

 Ideas?

 Dale

 :-)  :-)



 One more question.  What is a easy to install but WELL tested and STABLE
 binary distro?  I'm thinking something that needs a update 2 or 3 times a
 year or something.  My brother is liking Linux a lot.  No more Norton to
 pop up and aggravate him and he can just surf wherever he wants for the
 most part.  Once I get his emails moved over, windoze is going to take a
 loong nap.  ;-)  When I plug up the windoze drive, he dreads it.

 My sis-n-law is liking Kpat and I installed pysol today.  She likes
 farming on facebook and card games.  I think those two alone will keep her
 happy a long time.

 Thoughts?

 By the way, I have read some of the other messages but holding off on a
 reply in case something doesn't work like I want.  I did get grub to come
 up when booting by hitting the shift key.  Progress.  I forgot my notes
 tho.  lol

 Dale

 :-)  :-)




Re: [gentoo-user] [OT] Binary install distro

2011-11-12 Thread Dale

Érico Porto wrote:
Install Ubuntu. It's easy to use, and doesn't need to be configured so 
much. It's also friendly for beginners and has lots of references on 
the web if something break. Also, it's normal look is 
prettier then Debian.


Érico V. Porto




Then I guess I did OK then.  I got Kubuntu installed which I guess is 
Ubuntu with KDE as a default.  It works good but just wanted to make 
sure I picked a good one.  ;-)


Dale

:-)  :-)



Re:Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-12 Thread Lavender
I have recompiled the kernel as The X server configuration howto says.But 
when I emerge xorg-server  it had errors:!!!Error: The xorg-x11 OpenGL 
implementation doesn't seem to provide!!!Error: libGL.so file. This might be an 
effect of breakage introducedby a prioprietary driver installer. Please 
re-merge the package!!!Error: providing your OpenGL implementation!!!Error: 
Selected OpenGL implementation incompleteHmm, installing KDE is not that 
easy.So what's wrong with this?

Re: Re: [gentoo-user] Cannot start up KDE desktop Environment

2011-11-12 Thread Mark Knecht
2011/11/12 Lavender lavender_mat...@163.com:
 I have recompiled the kernel as The X server configuration howto says.

 But when I emerge xorg-server  it had errors:

 !!!Error: The xorg-x11 OpenGL implementation doesn't seem to provide

 !!!Error: libGL.so file. This might be an effect of breakage introduced

   by a prioprietary driver installer. Please re-merge the package

 !!!Error: providing your OpenGL imp
  lementation

 !!!Error: Selected OpenGL implementation incomplete

 Hmm, installing KDE is not that easy.

 So what's wrong with this?



I don't think that has anything to do with KDE.

Maybe this forum thread is part of the answer?

http://forums.gentoo.org/viewtopic-t-886248-start-0.html

- Mark



Re: [gentoo-user] [OT] Binary install distro

2011-11-12 Thread Dale

Florian Philipp wrote:

Am 12.11.2011 00:36, schrieb Dale:
[...]

Now to figure out why the windows in Kubuntu have no borders and no
little X to close the window.  sighs   I hate the little details.

Dale

:-)  :-)


That is a typical symptom that the window manager is not running
(probably crashed while loading some fancy window decorations). Try to
execute `kwin` or `kwin --replace` in a terminal.

Regards,
Florian Philipp



Well this is odd.  When I booted it this time, it worked fine.  The 
borders were back, the little X to close windows was there and I could 
switch desktops too.  Odd, usually if something is broke on Linux, it is 
broke until it is fixed.  Weird.


Thanks for the help but glad I didn't need it.  ;-)

Dale

:-)  :-)



Re: [gentoo-user] udev rules for an iPod Touch?

2011-11-12 Thread Mark Knecht
On Wed, Nov 9, 2011 at 3:14 PM, James Broadhead
jamesbroadh...@gmail.com wrote:
 As for native support, it looks as though Apple have updated their
 protocol, so if you've a new i*, or have updated recently, then the
 in-portage versions of ifuse and libimobiledevice won't work - I've
 just gotten my updated iPad working with current git versions of both
 however.

 I've also been working on:
 http://wiki.gentoo.org/wiki/Apple_ipod,_ipad,_iphone

 Please feel free to add to it. :)

 J

Hi James,
   Sitting here this evening I remembered you had posted this so I
thought I'd give it a try. While there's a lot of life I still don't
have a connection. Here's what I see following along with your
commands:

1) idevice_id just prints a help list. However

idevice_id -l

does give me a serial number.

2) ideviceinfo prints lots of information from the ipod.

3) idevicepair pair  idevicepair validate report success. Great so far.

5) ifuse /mnt/ipod does mount the ipod. I can cd to /mnt/ipod and see
directories, etc.

k2 ipod # ls -la
total 4
drwxr-xr-x 0 root root  204 Dec 31  1969 .
drwxr-xr-x 9 root root 4096 Nov  4 17:50 ..
drwxr-xr-x 0 root root  102 Dec 31  1969 DCIM
drwxr-xr-x 0 root root  102 Dec 31  1969 Downloads
-rw-r--r-- 0 root root0 Dec 31  1969 com.apple.itunes.lock_sync
drwxr-xr-x 0 root root  204 Dec 31  1969 iTunes_Control
k2 ipod #

At this point I start gtkpod but cannot find the ipod. I'm wondering
what root might need to do to make /mnt/ipod visible to my user
account? Should I be adding my id to some groups possibly? Something
else?

Thanks for the write-up.

- Mark



[gentoo-user] net-libs/gnutls-2.10.5 fails to compile

2011-11-12 Thread Justin Findlay
I can't get the package net-libs/gnutls-2.10.5 to emerge because of a
c++ linker error.  What can I do to fix this?

# MAKEOPTS=-j1 FEATURES=-ccache ebuild $(equery which
net-libs/gnutls-2.10.5) merge
...
make[4]: Entering directory
`/var/tmp/portage/net-libs/gnutls-2.10.5/work/gnutls-2.10.5/doc/examples'
/bin/sh ../../libtool --tag=CXX   --mode=link i686-pc-linux-gnu-g++
-march=pentium3 -mtune=pentium3 -m32 -Os -fmessage-length=0 -pipe
-fno-implicit-templates -no-install -Wl,-O1 -Wl,--as-needed -o ex-cxx
ex-cxx.o libexamples.la ../../lib/libgnutls.la
../../libextra/libgnutls-extra.la ../../gl/libgnu.la
../../lib/libgnutlsxx.la

libtool: link: i686-pc-linux-gnu-g++ -march=pentium3 -mtune=pentium3
-m32 -Os -fmessage-length=0 -pipe -fno-implicit-templates -Wl,-O1 -o
ex-cxx ex-cxx.o  -Wl,--as-needed ./.libs/libexamples.a
../../lib/.libs/libgnutls.so -L/usr/lib
../../libextra/.libs/libgnutls-extra.so ../../gl/.libs/libgnu.a
../../lib/.libs/libgnutlsxx.so
/var/tmp/portage/net-libs/gnutls-2.10.5/work/gnutls-2.10.5/lib/.libs/libgnutls.so
-ltasn1 -lz /usr/lib/libgcrypt.so /usr/lib/libgpg-error.so -Wl,-rpath
-Wl,/var/tmp/portage/net-libs/gnutls-2.10.5/work/gnutls-2.10.5/lib/.libs
-Wl,-rpath 
-Wl,/var/tmp/portage/net-libs/gnutls-2.10.5/work/gnutls-2.10.5/libextra/.libs

../../lib/.libs/libgnutlsxx.so: undefined reference to
`std::vectorgnutls_datum_t, std::allocatorgnutls_datum_t
::_M_insert_aux(__gnu_cxx::__normal_iteratorgnutls_datum_t*,
std::vectorgnutls_datum_t, std::allocatorgnutls_datum_t  ,
gnutls_datum_t const)'

collect2: ld returned 1 exit status

...

# emerge --info =net-libs/gnutls-2.10.5
Portage 2.1.10.11 (default/linux/x86/10.0, gcc-4.5.3, glibc-2.12.2-r0,
2.6.32-35-generic i686)
=
System Settings
=
System uname: 
Linux-2.6.32-35-generic-i686-Intel-R-_Atom-TM-_CPU_N280_@_1.66GHz-with-gentoo-2.0.3
Timestamp of tree: Sat, 12 Nov 2011 23:30:01 +
ccache version 2.4 [enabled]
app-shells/bash:  4.1_p9
dev-lang/python:  2.6.6-r1, 2.7.2-r3, 3.1.4-r3
dev-util/ccache:  2.4-r9
dev-util/cmake:   2.8.4-r1
dev-util/pkgconfig:   0.26
sys-apps/baselayout:  2.0.3
sys-apps/openrc:  0.8.3-r1
sys-apps/sandbox: 2.4
sys-devel/autoconf:   2.68
sys-devel/automake:   1.11.1
sys-devel/binutils:   2.20.1-r1
sys-devel/gcc:4.4.4-r2, 4.5.3-r1
sys-devel/gcc-config: 1.4.1-r1
sys-devel/libtool:2.4-r1
sys-devel/make:   3.82-r1
sys-kernel/linux-headers: 2.6.39 (virtual/os-headers)
sys-libs/glibc:   2.12.2
Repositories: gentoo enlightenment
ACCEPT_KEYWORDS=x86
ACCEPT_LICENSE=* -@EULA
CBUILD=i686-pc-linux-gnu
CFLAGS=-march=pentium3 -mtune=pentium3 -m32 -Os -fmessage-length=0 -pipe
CHOST=i686-pc-linux-gnu
CONFIG_PROTECT=/etc
CONFIG_PROTECT_MASK=/etc/ca-certificates.conf /etc/env.d
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo
/etc/texmf/language.dat.d /etc/texmf/language.def.d
/etc/texmf/updmap.d /etc/texmf/web2c
CXXFLAGS=-march=pentium3 -mtune=pentium3 -m32 -Os -fmessage-length=0
-pipe -fno-implicit-templates
DISTDIR=/usr/portage/distfiles
FEATURES=assume-digests binpkg-logs ccache collision-protect
distlocks ebuild-locks fakeroot fixlafiles fixpackages news
parallel-fetch protect-owned sandbox sfperms strict
unknown-features-warn unmerge-logs unmerge-orphans userfetch
usersandbox usersync
FFLAGS=
GENTOO_MIRRORS=http://mirror.usu.edu/mirrors/gentoo/
http://gentoo.llarian.net/ http://gentoo.osuosl.org/
http://gentoo.chem.wisc.edu/gentoo/
http://mirror.its.uidaho.edu/pub/gentoo/;
LANG=en_US.UTF-8
LC_ALL=en_US.UTF-8
LDFLAGS=-Wl,-O1 -Wl,--as-needed
LINGUAS=en en_US en_US.UTF-8
MAKEOPTS= -j3 -l3.5
PKGDIR=/usr/portage/packages
PORTAGE_CONFIGROOT=/
PORTAGE_RSYNC_OPTS=--recursive --links --safe-links --perms --times
--compress --force --whole-file --delete --stats --timeout=180
--exclude=/distfiles --exclude=/local --exclude=/packages
PORTAGE_TMPDIR=/var/tmp
PORTDIR=/usr/portage
PORTDIR_OVERLAY=/var/lib/layman/enlightenment
SYNC=rsync://rsync.gentoo.org/gentoo-portage
USE=X acl avahi bash-completion berkdb blas bzip2 cairo cli cracklib
crypt cscope cups curl cxx dbus dri fortran gcj gdbm gpm iconv ipv6
jpeg kpathsea lapack latex lua modules mudflap ncurses networkmanager
nls nptl nptlonly openmp pam pcre perl png pppd python readline
session ssl svg sysfs tcpd truetype unicode vim-pager vim-with-x x86
xorg xpm zlib ALSA_CARDS=hda-intel loopback virmidi
ALSA_PCM_PLUGINS=adpcm alaw asym copy dmix dshare dsnoop empty
extplug file hooks iec958 ioplug ladspa lfloat linear meter mmap_emul
mulaw multi null plug rate route share shm softvol
APACHE2_MODULES=actions alias auth_basic authn_alias authn_anon
authn_dbm authn_default authn_file authz_dbm authz_default
authz_groupfile authz_host authz_owner authz_user autoindex cache cgi
cgid dav 

[gentoo-user] pg_upgrade from 9.0.5 to 9.1.1

2011-11-12 Thread Michael George
I am trying to upgrade my postgresql server from 9.0 to 9.1.  I've
installed 9.1.1 and used eselect to make it the slot to run for the
system.

When I run:
pg_upgrade -v --check -d /var/lib/postgresql/9.0/data -D \
/var/lib/postgresql/9.1/data -b /usr/lib64/postgresql-9.0/bin -B \
/usr/lib64/postgresql-9.1/bin

I get:
Running in verbose mode
Performing Consistency Checks
-
Checking current, bin, and data directories ok
Checking cluster versions   ok
/usr/lib64/postgresql-9.0/bin/pg_ctl -w -l /dev/null -D
/var/lib/postgresql/9.0/data -o -p 5432 -c autovacuum=off -c
autovacuum_freeze_max_age=20 start  /dev/null 21

When I run that command manually and send the output to a logfile, it
appears that it's trying to find postgresql's *.conf files in the data
directory rather than in /etc/postgresql-9.0.  I don't see a way to
specify the location of the conf files separate from the data files.

How do I proceed?

-- 
-Michael

Rident stolidi verba Latina.
-Ovid



Re: [gentoo-user] pg_upgrade from 9.0.5 to 9.1.1

2011-11-12 Thread Pandu Poluan
On Nov 13, 2011 12:35 PM, Michael George geo...@mutualdata.com wrote:

 I am trying to upgrade my postgresql server from 9.0 to 9.1.  I've
 installed 9.1.1 and used eselect to make it the slot to run for the
 system.

 When I run:
 pg_upgrade -v --check -d /var/lib/postgresql/9.0/data -D \
 /var/lib/postgresql/9.1/data -b /usr/lib64/postgresql-9.0/bin -B \
 /usr/lib64/postgresql-9.1/bin

 I get:
 Running in verbose mode
 Performing Consistency Checks
 -
 Checking current, bin, and data directories ok
 Checking cluster versions   ok
 /usr/lib64/postgresql-9.0/bin/pg_ctl -w -l /dev/null -D
 /var/lib/postgresql/9.0/data -o -p 5432 -c autovacuum=off -c
 autovacuum_freeze_max_age=20 start  /dev/null 21

 When I run that command manually and send the output to a logfile, it
 appears that it's trying to find postgresql's *.conf files in the data
 directory rather than in /etc/postgresql-9.0.  I don't see a way to
 specify the location of the conf files separate from the data files.

 How do I proceed?


I'm not (yet) well-versed in postgresql, but have you tried creating
symlinks?

Rgds,


Re: [gentoo-user] pg_upgrade from 9.0.5 to 9.1.1

2011-11-12 Thread Michael George
On Sun, Nov 13, 2011 at 12:31:58AM -0500, Michael George wrote:
 I am trying to upgrade my postgresql server from 9.0 to 9.1.  I've
 installed 9.1.1 and used eselect to make it the slot to run for the
 system.
 
 When I run:
 pg_upgrade -v --check -d /var/lib/postgresql/9.0/data -D \
 /var/lib/postgresql/9.1/data -b /usr/lib64/postgresql-9.0/bin -B \
 /usr/lib64/postgresql-9.1/bin
 
 I get:
 Running in verbose mode
 Performing Consistency Checks
 -
 Checking current, bin, and data directories ok
 Checking cluster versions   ok
 /usr/lib64/postgresql-9.0/bin/pg_ctl -w -l /dev/null -D
 /var/lib/postgresql/9.0/data -o -p 5432 -c autovacuum=off -c
 autovacuum_freeze_max_age=20 start  /dev/null 21
 
 When I run that command manually and send the output to a logfile, it
 appears that it's trying to find postgresql's *.conf files in the data
 directory rather than in /etc/postgresql-9.0.  I don't see a way to
 specify the location of the conf files separate from the data files.
 
 How do I proceed?

According to:
http://archives.postgresql.org/pgsql-hackers/2011-09/msg01482.php

The normal workaround is to make symlinks and delete them after the
pg_upgrade.  It appears they might implement a solution, but it isn't in
place for 9.1.  :(

-- 
-M

Rident stolidi verba Latina.
-Ovid