Re: [gentoo-user] Collecting bootchart files after boot

2007-07-16 Thread Neil Bothwick
On Sun, 15 Jul 2007 17:49:57 -0700, [EMAIL PROTECTED] wrote:

 I understand why this happens.  Is there any way to automatically run
 a script like local.start but after rc finishes?  I had thought of
 putting something in local.stop to copy the current bootchart.* files,
 but that smells a bit too kludgery.

Unless you're in the habit of crashing the system, and not running
local.stop, this should work fine. Alternatively, run it from your
desktop if this is possible. Put in in your main user's .xinirc or, if
you use KDE, in ~/.kde/Autostart.


-- 
Neil Bothwick

If all the world is a stage, where is the audience sitting?


signature.asc
Description: PGP signature


Re: [gentoo-user] hald won't start

2007-07-16 Thread Alessandro del Gallo

Mick ha scritto:

Hi All,

I noticed on a box of mine that hald won't start:
==
# /etc/init.d/hald restart
 * Starting Hardware Abstraction Layer daemon ...  [ !! ]
==

Confusingly, the logs don't show anything.  How do I troubleshoot this?




I had the same problem:

hald was sucking 99% cpu, removables devices didn't work
and launching hald from terminal with the option hald --daemon=no 
--verbose=yes i discovered it was on a infinite loop echo-ing

something about rules so I got in /etc/udev/rules.d
and found (by probing one by one) 99-libgphoto2.rules that
was HALS's murder.

I hope it's useful for you

Alessandro
--
[EMAIL PROTECTED] mailing list



[gentoo-user] netscape-flash

2007-07-16 Thread Michael George
Well, I wondered where the vmware player package went, but it came back
the next day.

However, I see that netscape-flash has now been hard-masked for both
i386 and amd64.  Should users be migrating to media-libs/libflash?

-- 
-M

There are 10 kinds of people in this world:
Those who can count in binary and those who cannot.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] sys-fs/fuse question

2007-07-16 Thread Vladimir Rusinov

On 7/15/07, Neil Bothwick [EMAIL PROTECTED] wrote:


Hello Vladimir Rusinov,

 But for some packages (e.g. ntfs3g) you need to completely disable
 in-kernel fuse and use modules from sys-fs/fuse. (Altually, it depends
 on kernel  package versions).

Really? I've only used ntfs-3g with the in-kernel fuse modules and it has
done all I asked of it.



With some older kernel versions, you need to install sys-fs/fuse modules.

--
Vladimir Rusinov
GreenMice Solutions: IT-решения на базе Linux
http://greenmice.info/


Re: [gentoo-user] 2 to 3??

2007-07-16 Thread Mark Shields

On 7/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:




 -Original Message-
 From: Jerry McBride [mailto:[EMAIL PROTECTED]
 Sent: Saturday, July 14, 2007 7:11 AM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] 2 to 3??
 Anyone aware of any plans for Gentoo/Portage moving to the
 gpl3.0 license?

I haven't heard anything, but that is a move I hope they never make.
--
[EMAIL PROTECTED] mailing list



Why is that?

--
- Mark Shields


Re: [gentoo-user] sys-fs/fuse question

2007-07-16 Thread Neil Bothwick
On Mon, 16 Jul 2007 16:05:06 +0400, Vladimir Rusinov wrote:

  Really? I've only used ntfs-3g with the in-kernel fuse modules and it
  has done all I asked of it.  

 With some older kernel versions, you need to install sys-fs/fuse
 modules.

Maybe, but who want to run old software? New software has the freshest
bugs :)


-- 
Neil Bothwick

Parking is such street sorrow.


signature.asc
Description: PGP signature


[gentoo-user] Re: Sendmail woes

2007-07-16 Thread reader
Александър Л. Димитров [EMAIL PROTECTED] writes:

 Hello all,

   Probably the sendmail-list would be the better place for this rant
 but I think I'll check with you guys first, just to see whether or not
 I've missed something obvious.

Yes it is and in my experience you will get help there.  Keep your
fingers crossed for Per Hedlund to respond if you do post there.

Keep in mind that I have configured sendmail so many times I can't
even count them but every time I have to completely refresh my memory.
What I'm getting at is that any advice I give here may be tainted with
poorly remembering the steps I've been thru.

With the part about sendmail not knowing what host it is running on:
You can solve this by how you list the localhost in /etc/hosts.

I don't remember the exact reasons or format but I believe sendmail
calls `gethostbyname' which looks first at /etc/hosts.

This is the format I currently have:

127.0.0.1reader.local.lanreader localhost

In your case you might try (to conform with the posted sendmail.mc):

  127.0.0.1myhost.local  myhost  localhost

A further point about documentation... you may have mentioned this
but I did not see it.

The document /usr/share/sendmail-cf/README
Has a lot of help but may be thin on exact details at times.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] depclean pwdb?

2007-07-16 Thread Kevin O'Gorman

On 7/15/07, Thufir [EMAIL PROTECTED] wrote:


On 7/15/07, Kevin O'Gorman [EMAIL PROTECTED] wrote:

  Thanks, guys.  What about that kernel?  I'm thinking it's probably not
  the kernel I'm using, but I'm not positive.
 
 
  thanks,

 gentoo-sources-2.6.20-r8 for me.
[...]

http://www.gentoo.org/doc/en/kernel-upgrade.xml to get that information?



No.

I use the uname -s -r -v command.  On my system, this says:
Linux 2.6.20-gentoo-r8-kosmanor #2 SMP PREEMPT Thu Jun 7 09:40:04 PDT 2007

Which tells me the running kernel is gentoo-sources-2.6.20-r8, with
tailoring for my preferences (kosmanor), the second compile (at the date
and time given), including SMP and pre-emptive scheduling,

You can also peek at your boot loader configuration.  In my case it's
/boot/grub/menu.lst.  You should be able to figure out which is your default
kernel.
You can also look at the output of eix -I sources, the -I holding the
output to packages that have at least one version installed.

++ kevin

--
Kevin O'Gorman, PhD


[gentoo-user] redirecting /dev/console

2007-07-16 Thread alain . didierjean

How can I redirect /dev/console to an actual tty (preferably tty6 or tty12)
in order to have system info showing on it in real time ?
I'd like to have a line like
*.* /dev/console
in syslog.conf.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] redirecting /dev/console

2007-07-16 Thread Etaoin Shrdlu
On Monday 16 July 2007 16:50, [EMAIL PROTECTED] wrote:

 How can I redirect /dev/console to an actual tty (preferably tty6 or
 tty12) in order to have system info showing on it in real time ?
 I'd like to have a line like
 *.* /dev/console 
 in syslog.conf. 

I use

*.* /dev/tty12

and get everything on tty12, but perhaps I didn't understand your 
question.
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Starting cruisecontrol - initscript

2007-07-16 Thread Johannes Skov Frandsen

Hey

I don't no if this is question for the gentoo mailing list but I'll try
here first.

I'm trying to write a initscript for gentoo so cruisecontrol can start
automatically on boot.

This is my progress so far:



 # this next comment is important, don't remove it - it has to be
 somewhere in
 # the init script to kill off a warning that doesn't apply to us
 # svc_start svc_stop

 depend() {
 need net
 use dns
 }

 start() {
 ebegin Starting Cruise Control
 start-stop-daemon --start --exec $JAVA_HOME/bin/java 
 -Djavax.management.builder.initial=mx4j.server.MX4JMBeanServerBuilder

 -Dcc.library.dir=/opt/cruisecontrol/lib -jar
 /opt/cruisecontrol/lib/cruisecontrol-launcher.jar
 -configfile=/opt/cruisecontrol/config.xml -jmxport 8000 -webport 8080
 //I more or less copied this line from cruisecontrol.sh
 eend $?
 }
  

running '/etc/init.d/cruise start'  yields this response:

* Starting Cruise Control ...
/sbin/start-stop-daemon: stat /bin/java
-Djavax.management.builder.initial=mx4j.server.MX4JMBeanServerBuilder
-Dcc.library.dir=/opt/cruisecontrol/lib -jar
/opt/cruisecontrol/lib/cruisecontrol-launcher.jar
-configfile=/opt/cruisecontrol/config.xml -jmxport 8000 -webport 8080:
No such file or directory (No such file or directory)

obviously a file could not be found, but which and why?

When I run the same command from the shell:

java
-Djavax.management.builder.initial=mx4j.server.MX4JMBeanServerBuilder
-Dcc.library.dir=/opt/cruisecontrol/lib -jar
/opt/cruisecontrol/lib/cruisecontrol-launcher.jar
-configfile=/opt/cruisecontrol/config.xml -jmxport 8000 -webport 8080

I get his output:



 WARNING: cc.home reset to /opt/cruisecontrol
 Classpath:
 
/opt/cruisecontrol/lib/cruisecontrol-launcher.jar:/opt/cruisecontrol/lib/xml-apis-2.8.0.jar:/opt/cruisecontrol/lib/jaxen-1.1-beta-8.jar:/opt/cruisecontrol/lib/jasper-compiler.jar:/opt/cruisecontrol/lib/cruisecontrol.jar:/opt/cruisecontrol/lib/xmlrpc-2.0.1.jar:/opt/cruisecontrol/lib/checkstyle-all-3.1.jar:/opt/cruisecontrol/lib/saxon8-dom.jar:/opt/cruisecontrol/lib/org.mortbay.jetty.jar:/opt/cruisecontrol/lib/cruisecontrol-launcher.jar:/opt/cruisecontrol/lib/comm.jar:/opt/cruisecontrol/lib/mx4j-tools.jar:/opt/cruisecontrol/lib/serializer-2.7.0.jar:/opt/cruisecontrol/lib/simian-2.2.14.jar:/opt/cruisecontrol/lib/commons-logging.jar:/opt/cruisecontrol/lib/x10.jar:/opt/cruisecontrol/lib/jasper-runtime.jar:/opt/cruisecontrol/lib/javax.servlet.jar:/opt/cruisecontrol/lib/ant.jar:/opt/cruisecontrol/lib/saxon8.jar:/opt/cruisecontrol/lib/smack.jar:/opt/cruisecontrol/lib/emma_ant.jar:/opt/cruisecontrol/lib/mx4j.jar:/opt/cruisecontrol/lib/ant-launcher.jar:/opt/cruisecontrol/lib/jdom.jar
  

:/opt/cruisecontrol/lib/maven-embedder-2.0.4-dep.jar:/opt/cruisecontrol/lib/xercesImpl-2.8.0.jar:/opt/cruisecontrol/lib/jakarta-oro-2.0.3.jar:/opt/cruisecontrol/lib/emma.jar:/opt/cruisecontrol/lib/fast-md5.jar:/opt/cruisecontrol/lib/commons-el.jar:/opt/cruisecontrol/lib/mx4j-remote.jar:/opt/cruisecontrol/lib/log4j.jar:/opt/cruisecontrol/lib/junit-3.8.2.jar:/opt/cruisecontrol/lib/smackx.jar:/opt/cruisecontrol/lib/activation.jar:/opt/cruisecontrol/lib/commons-net-1.1.0.jar:/opt/cruisecontrol/lib/mail.jar:/opt/cruisecontrol/lib/xml-apis-2.8.0.jar:/opt/cruisecontrol/lib/jaxen-1.1-beta-8.jar:/opt/cruisecontrol/lib/jasper-compiler.jar:/opt/cruisecontrol/lib/cruisecontrol.jar:/opt/cruisecontrol/lib/xmlrpc-2.0.1.jar:/opt/cruisecontrol/lib/checkstyle-all-3.1.jar:/opt/cruisecontrol/lib/saxon8-dom.jar:/opt/cruisecontrol/lib/org.mortbay.jetty.jar:/opt/cruisecontrol/lib/cruisecontrol-launcher.jar:/opt/cruisecontrol/lib/comm.jar:/opt/cruisecontrol/lib/mx4j-tools.jar:/opt/cruisecontrol/lib
/serializer-2.7.0.jar:/opt/cruisecontrol/lib/simian-2.2.14.jar:/opt/cruisecontrol/lib/commons-logging.jar:/opt/cruisecontrol/lib/x10.jar:/opt/cruisecontrol/lib/jasper-runtime.jar:/opt/cruisecontrol/lib/javax.servlet.jar:/opt/cruisecontrol/lib/ant.jar:/opt/cruisecontrol/lib/saxon8.jar:/opt/cruisecontrol/lib/smack.jar:/opt/cruisecontrol/lib/emma_ant.jar:/opt/cruisecontrol/lib/mx4j.jar:/opt/cruisecontrol/lib/ant-launcher.jar:/opt/cruisecontrol/lib/jdom.jar:/opt/cruisecontrol/lib/maven-embedder-2.0.4-dep.jar:/opt/cruisecontrol/lib/xercesImpl-2.8.0.jar:/opt/cruisecontrol/lib/jakarta-oro-2.0.3.jar:/opt/cruisecontrol/lib/emma.jar:/opt/cruisecontrol/lib/fast-md5.jar:/opt/cruisecontrol/lib/commons-el.jar:/opt/cruisecontrol/lib/mx4j-remote.jar:/opt/cruisecontrol/lib/log4j.jar:/opt/cruisecontrol/lib/junit-3.8.2.jar:/opt/cruisecontrol/lib/smackx.jar:/opt/cruisecontrol/lib/activation.jar:/opt/cruisecontrol/lib/commons-net-1.1.0.jar:/opt/cruisecontrol/lib/mail.jar:/opt/sun-jdk-1.5.0.11/li
b/tools.jar:.:/opt/cruisecontrol/


 [cc]Jul-13 13:05:43 Main  - CruiseControl Version 2.6.1
 Compiled on February 28 2007 0657
 [cc]Jul-13 13:05:43 Main  - error setting config file on
 controller
 net.sourceforge.cruisecontrol.CruiseControlException: Config file not
 found: 

[gentoo-user] /etc/modules.d how to understand

2007-07-16 Thread Helmut Jarausch
Hi,

I'd like to understand the magic of files in /etc/modules.d
How to write such an 'alias' line.
Can anybody point me to a HowTo?

E.g. in kernel 2.6.22 there is no more an option to select
a USB-WACOM tablet input.
I've built the kernel module from the linuxwacom project,
but what's the right way to load the module.
(I could do an explicit insmod in /etc/conf.d/local.start
 but that's not the canonical solution, isn't it.)

Many thanks for your help,

Helmut Jarausch

Lehrstuhl fuer Numerische Mathematik
RWTH - Aachen University
D 52056 Aachen, Germany
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] /etc/modules.d how to understand

2007-07-16 Thread Ian Hastie
On Mon, 16 Jul 2007 18:46:27 +0200 (CEST)
Helmut Jarausch [EMAIL PROTECTED] wrote:

 I'd like to understand the magic of files in /etc/modules.d
 How to write such an 'alias' line.
 Can anybody point me to a HowTo?

Have you read the manual page for modprobe.conf?  That will tell you
all the relevant options and their syntax, etc.  /etc/modprobe.conf is
generated from the files in /etc/modules.d by update-modules.  modinfo
can tell you what options can be set for any given kernel module.

 E.g. in kernel 2.6.22 there is no more an option to select
 a USB-WACOM tablet input.

You can do, but now you need to enable the option for tablet input
devices first.  That will then let the configuration list the tablet
devices available.

: config TABLET_USB_WACOM
: tristate Wacom Intuos/Graphire tablet support (USB)
: depends on USB_ARCH_HAS_HCD
: select USB
: help
:   Say Y here if you want to use the USB version of the Wacom
: Intuos or Graphire tablet.  Make sure to say Y to Mouse support
:   (CONFIG_INPUT_MOUSEDEV) and/or Event interface support
:   (CONFIG_INPUT_EVDEV) as well.
: 
:   To compile this driver as a module, choose M here: the
:   module will be called wacom.

 I've built the kernel module from the linuxwacom project,
 but what's the right way to load the module.
 (I could do an explicit insmod in /etc/conf.d/local.start
  but that's not the canonical solution, isn't it.)

I would expect udev to handle the module loading for this. That's the
normal way anyway.

-- 
Ian.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] hald won't start

2007-07-16 Thread Mick
On Monday 16 July 2007 10:26, Alessandro del Gallo wrote:
 Mick ha scritto:
  Hi All,
 
  I noticed on a box of mine that hald won't start:
  ==
  # /etc/init.d/hald restart
   * Starting Hardware Abstraction Layer daemon ...  [ !! ]
  ==
 
  Confusingly, the logs don't show anything.  How do I troubleshoot this?

 I had the same problem:

 hald was sucking 99% cpu, removables devices didn't work
 and launching hald from terminal with the option hald --daemon=no
 --verbose=yes i discovered it was on a infinite loop echo-ing
 something about rules so I got in /etc/udev/rules.d
 and found (by probing one by one) 99-libgphoto2.rules that
 was HALS's murder.

Thank you Alessandro, what do you mean by probing - how did you probe them?
-- 
Regards,
Mick


pgp12VEiOzhWz.pgp
Description: PGP signature


Re: [gentoo-user] Seamonkey and saving images taking so long

2007-07-16 Thread Mick
On Monday 16 July 2007 05:54, Dale wrote:

 I think it is a bug myself.  It seems to me that there should be a limit
 of some kind on this file.  Maybe a time limit, size limit or
 something.  Me, I just hate filing bug reports.  I have filed a few but
 only after some serious guru
 said I should.  I did go search to see if one had been filed but I
 didn't see one filed.

[snip...]
 Any thoughts from a serious guru about whether I should file this as a
 bug with Seamonkey or not?

I am not a guru and some would argue I am not serious either, but is there 
somewhere in the Mozilla settings how much cache and space for 
entries/history it is allowed to use?  I am thinking of Opera here which 
offers you such fine tuning options.
-- 
Regards,
Mick


pgpsTjIjefnSO.pgp
Description: PGP signature


Re: [gentoo-user] Starting cruisecontrol - initscript

2007-07-16 Thread Mick
On Monday 16 July 2007 16:41, Johannes Skov Frandsen wrote:

[snip...]
 -configfile=/opt/cruisecontrol/config.xml -jmxport 8000 -webport 8080:
 No such file or directory (No such file or directory)

 obviously a file could not be found, but which and why?

Perhaps this one:  /opt/cruisecontrol/config.xml

I wouldn't know why (I don't have java on my machines).

Someone more knowledgeable on init scripts and java should hopefully be able 
to help.
-- 
Regards,
Mick


pgpF0Xe5C6sZU.pgp
Description: PGP signature


[gentoo-user] Poweredge SC440 NIC

2007-07-16 Thread Arturo 'Buanzo' Busleiman
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA512

Hi!

I'm about to buy a DELL Poweredge SC440, which comes with an onboard Ethernet 
specified as On board
Network Adapter (430-0488). Anybody knows if it is compatible with recent 2.6 
kernels?

- --
Arturo Buanzo Busleiman - Consultor Independiente en Seguridad Informatica
¿Su empresa consume demasiado ancho de banda? ¡Consulteme!
Free (as in Freedom) Punk Rock from Argentina: http://www.futurabanda.com.ar
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.4.7 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFGm8NFAlpOsGhXcE0RCogwAJ4tXXSQXmeIpelgUQwlEPPkChf3ywCePsog
RylOdcwtZvkt67YHsYx+uIU=
=yqLH
-END PGP SIGNATURE-
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Poweredge SC440 NIC

2007-07-16 Thread Dale
Arturo 'Buanzo' Busleiman wrote:
 Hi!

 I'm about to buy a DELL Poweredge SC440, which comes with an onboard
 Ethernet specified as On board
 Network Adapter (430-0488). Anybody knows if it is compatible with
 recent 2.6 kernels?


I think this is the one you are looking for.

   Broadcom NetXtremeII support

I don't have one or know how well it works.  I just googled for the
driver for ya.  ;-)  Someone correct me if that is not the correct driver.

Hope that helps.

Dale

:-)  :-)  :-)

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] /etc/modules.d how to understand

2007-07-16 Thread Kent Fredric

On 7/17/07, Helmut Jarausch [EMAIL PROTECTED] wrote:

Hi,

I'd like to understand the magic of files in /etc/modules.d
How to write such an 'alias' line.
Can anybody point me to a HowTo?

E.g. in kernel 2.6.22 there is no more an option to select
a USB-WACOM tablet input.
I've built the kernel module from the linuxwacom project,
but what's the right way to load the module.
(I could do an explicit insmod in /etc/conf.d/local.start
 but that's not the canonical solution, isn't it.)

Many thanks for your help,

Helmut Jarausch



I don't know how 'right' this is, but I just'd

echo wacom  /etc/modules.autoload.d/kernel-2.6

But like Ian says, its there in .22, you just have to look harder. :)


isengard devious # modinfo wacom
filename:
/lib/modules/2.6.22-gentoo-r1kz/kernel/drivers/input/tablet/wacom.ko
license:GPL
description:USB Wacom Graphire and Wacom Intuos tablet driver
author: Vojtech Pavlik [EMAIL PROTECTED]
license:GPL
description:USB Wacom Graphire and Wacom Intuos tablet driver
author: Vojtech Pavlik [EMAIL PROTECTED]
srcversion: 3869A1CC72D9632ABD76D1D


zcat /proc/config.gz | grep -i wacom
CONFIG_TABLET_USB_WACOM=m



--
Kent
ruby -e '[1, 2, 4, 7, 0, 9, 5, 8, 3, 10, 11, 6, 12, 13].each{|x|
print enNOSPicAMreil [EMAIL PROTECTED][(2*x)..(2*x+1)]}'
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] 2 to 3??

2007-07-16 Thread Jerry McBride
On Monday 16 July 2007 08:15:43 am Mark Shields wrote:


Personally... reading what I have about the gpl 3.0 , I'd be pretty 
comfortable having Gentoo/Portage moved to it.

It offers a lot of protection that gpl 2. does not. 

Anyway, if it makes Microsoft catch up then it must be good.






-- 


From the Desk of: Jerome D. McBride
--
[EMAIL PROTECTED] mailing list



[gentoo-user] portage inconsistency?

2007-07-16 Thread maxim wexler
Hi group,

At tail of emerge --sync its says now emerge portage.

So, emerge portage results in one package being
installed, portage, 61kb.

emerge -u portage lines up 5 or 6 packages plus
portage, 18Mb.

Went ahead and just did the one package, figuring
later I could do an emerge -u for the rest of it.

But this is what happens:

[EMAIL PROTECTED] ~ $ emerge -pv portage

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] sys-apps/portage-2.1.2.9  USE=-build
-doc -epydoc (-selinux) LINGUAS=-pl 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0
kB

What I expected.

[EMAIL PROTECTED] ~ $ emerge -puv portage

These are the packages that would be merged, in order:

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 kB

So why doesn't it list the upgrade part now?

Maxim


   

Sick sense of humor? Visit Yahoo! TV's 
Comedy with an Edge to see what's on, when. 
http://tv.yahoo.com/collections/222
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Gentoo Machine Cleanup

2007-07-16 Thread Samir Faci

Hi all,

  So, I have a gentoo install that's slowly evolved over the past 3 years
or so years.  It's now so cluttered with packages, it's becoming ridiculous,
especially for a headless server.  What I'd like to do is be able to remove
all KDE/Gnome/X/gtk/qt/...etc out of the machine and not have it break the
machine completely.

Any suggestion on how to do go about this?  At this stage, I'd like the
server to have  the basic system build, LAMP, and Postfix.

If I start removing packages, then revdep complains about dependencies and
ends pulling back the packages I had removed, same thing with world.  I
globally removed all the X related flags I can think of.

Also, in the process of switching to a hardened profile, which is one reason
why I wanted to clean up the install.

Thanks again,

Any help would be appreciated.

--
Samir


Re: [gentoo-user] Gentoo Machine Cleanup

2007-07-16 Thread Mark Knecht

On 7/16/07, Samir Faci [EMAIL PROTECTED] wrote:

Hi all,

   So, I have a gentoo install that's slowly evolved over the past 3 years
or so years.  It's now so cluttered with packages, it's becoming ridiculous,
especially for a headless server.  What I'd like to do is be able to remove
all KDE/Gnome/X/gtk/qt/...etc out of the machine and not have it break the
machine completely.

Any suggestion on how to do go about this?  At this stage, I'd like the
server to have  the basic system build, LAMP, and Postfix.

If I start removing packages, then revdep complains about dependencies and
ends pulling back the packages I had removed, same thing with world.  I
globally removed all the X related flags I can think of.

Also, in the process of switching to a hardened profile, which is one reason
why I wanted to clean up the install.

Thanks again,

Any help would be appreciated.

--
Samir



Hi Samir,
  You'll probably get some answers more detailed than mine but
fundamentally it goes something like this:

1) First do and emerge -DuN world and make sure everything is up to date.

2) By hand then emerge -C everything (for instance) with gnome or kde
in the package name.

3) Next do an emerge --depclean and let portage remove packages that
were needed for gnome or kde but not required now

4) Do a revdep-rebuild and see what it wants to pull in. If it's
trying to pull in something you don't think is necessary then do an
emerge -pe --tree and look at why it's getting pulled in. Either
remove what's causing it to get rebuilt or let it get pulled back in.

  At this point it's lather and repeat if necessary.

  I've done this a couple of times. It' works but be careful that you
don't reboot during the process as something might be gone that's
still necessary.

Hope this helps,
Mark
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Starting cruisecontrol - initscript

2007-07-16 Thread Iain Buchanan
On Mon, 2007-07-16 at 17:41 +0200, Johannes Skov Frandsen wrote:
 Hey
 
 I don't no if this is question for the gentoo mailing list but I'll try
 here first.
 
 I'm trying to write a initscript for gentoo so cruisecontrol can start
 automatically on boot.

sounds like a good question for this list :)

[snip]

 running '/etc/init.d/cruise start'  yields this response:
 
  * Starting Cruise Control ...
 /sbin/start-stop-daemon: stat /bin/java
 -Djavax.management.builder.initial=mx4j.server.MX4JMBeanServerBuilder
 -Dcc.library.dir=/opt/cruisecontrol/lib -jar
 /opt/cruisecontrol/lib/cruisecontrol-launcher.jar
 -configfile=/opt/cruisecontrol/config.xml -jmxport 8000 -webport 8080:
 No such file or directory (No such file or directory)
 
 obviously a file could not be found, but which and why?

the output is coming from start-stop-daemon, because that is the first
line printed (/sbin/start-stop-daemon: ...) so I think start-stop-daemon
can't find something.

usually you have to put a -- between the executable and it's options,
or start-stop-daemon can get confused:

/sbin/start-stop-daemon --start --exec /path/to/bin -- --options

 When I run the same command from the shell:
 
 java
 -Djavax.management.builder.initial=mx4j.server.MX4JMBeanServerBuilder
 -Dcc.library.dir=/opt/cruisecontrol/lib -jar
 /opt/cruisecontrol/lib/cruisecontrol-launcher.jar
 -configfile=/opt/cruisecontrol/config.xml -jmxport 8000 -webport 8080
 
 I get his output:
 
 
   WARNING: cc.home reset to /opt/cruisecontrol

that looks more like java output, but you didn't run the command the
same way.  Try running start-stop-daemon from the shell.

 This is my first attempt on writing a initscript so bare with me if I
 have missed something obvious.

you may want to look at the --make-pidfile and --pidfile options to
start-stop-daemon when you've got it working.  This helps you stop the
daemon later.

HTH,
-- 
Iain Buchanan iaindb at netspace dot net dot au

BOFH Excuse #206:

Police are examining all internet packets in the search for a 
narco-net-trafficker

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Machine Cleanup

2007-07-16 Thread Albert Hopkins
I've done similar to Mark, but slightly different.

# # back up your system
# emerge -DuvaN world # make sure u're up-to-date
# vi /etc/make.conf ; vi /etc/portage/package.use # edit your USE flags
# emerge -DuvaN # update to new USE flags
# cp -a /var/lib/portage/world ~/ # backup world file
# vi /var/lib/portage/world # remove whatever u don't want
# emerge -va --depclean # make sure you don't remove anything critical
# emerge -DuvaN world # ideally, u should get nothing
# revdep-rebuild -i # fix broken linkages

Last two may need to be repeating, as you may find you need to tune your
USE flags.

Depending on your requirements, it may save time just to re-install.

--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Machine Cleanup

2007-07-16 Thread Neil Bothwick
On Mon, 16 Jul 2007 18:18:44 -0500, Samir Faci wrote:

So, I have a gentoo install that's slowly evolved over the past 3
 years or so years.  It's now so cluttered with packages, it's becoming
 ridiculous, especially for a headless server.  What I'd like to do is
 be able to remove all KDE/Gnome/X/gtk/qt/...etc out of the machine and
 not have it break the machine completely.

After removing the USE flags, you need to run emerge -uavDN world to
ensure that everything is built without the optional X support. Then run
emerge --depclean -p. you could also edit your world file and remove any
packages in there that you no longer need, or that are only installed as
dependencies of other packages (these shouldn't be there in the first
place, but it's easy to forget to use --oneshot at some time).

 If I start removing packages, then revdep complains about dependencies
 and ends pulling back the packages I had removed, same thing with
 world.  I globally removed all the X related flags I can think of.

Start removing packages? If you only take pout some of what --depclean
wants to remove, then revdep-rebuild is likely to want to reinstate some,
because other packages still installed, but on the depclean list, need
them. Unlike emerge, revdep-rebuild does not consider your world file or
USE flags, but looks at the installed files and what they need, so you
must complete depclean before running revdep-rebuild.

Check the output of merge --depclean -p before removing anything, don't
remove anything that looks critical without checking first.


-- 
Neil Bothwick

The box said 'needs Win95 or better' so I bought an Amiga.


signature.asc
Description: PGP signature


Re: [gentoo-user] 2 to 3??

2007-07-16 Thread Volker Armin Hemmann
On Montag, 16. Juli 2007, Mark Shields wrote:
 On 7/15/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
   -Original Message-
   From: Jerry McBride [mailto:[EMAIL PROTECTED]
   Sent: Saturday, July 14, 2007 7:11 AM
   To: gentoo-user@lists.gentoo.org
   Subject: [gentoo-user] 2 to 3??
   Anyone aware of any plans for Gentoo/Portage moving to the
   gpl3.0 license?
 
  I haven't heard anything, but that is a move I hope they never make.
  --
  [EMAIL PROTECTED] mailing list

 Why is that?

because gplv3 removes freedom?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] 2 to 3??

2007-07-16 Thread Volker Armin Hemmann
On Montag, 16. Juli 2007, Jerry McBride wrote:
 On Monday 16 July 2007 08:15:43 am Mark Shields wrote:


 Personally... reading what I have about the gpl 3.0 , I'd be pretty
 comfortable having Gentoo/Portage moved to it.

 It offers a lot of protection that gpl 2. does not.

 Anyway, if it makes Microsoft catch up then it must be good.

it takes away freedom - I am not sold to that 'must be good' aspect.


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] 2 to 3??

2007-07-16 Thread Boyd Stephen Smith Jr.
On Monday 16 July 2007, Volker Armin Hemmann 
[EMAIL PROTECTED] wrote about 'Re: [gentoo-user] 2 to 
3??':
 On Montag, 16. Juli 2007, Jerry McBride wrote:
  On Monday 16 July 2007 08:15:43 am Mark Shields wrote:
  Personally... reading what I have about the gpl 3.0 , I'd be pretty
  comfortable having Gentoo/Portage moved to it.
 
  It offers a lot of protection that gpl 2. does not.
 
  Anyway, if it makes Microsoft catch up then it must be good.

Actually, we should encourage commercial entities to participate the in 
Free Software movement, including letting them retain the ability to 
charge for providing software, as long as they are willing to let users of 
the software retain their four freedoms.  Microsoft has made some movement 
in this direction...

 it takes away freedom - I am not sold to that 'must be good' aspect.

Okay, this is off-topic, but it only takes away the freedom to take away 
users' freedoms, something the GPL has always done.  BSD doesn't take away 
any freedoms, but I'm unconvinced that it's a good thing for Free Software 
to be able to be locked up.

*I* think the GPLv3 is better, and that it would be good to move KDE toward 
GPLv3/LGPLv3 licensing. However, that is a decision that the project will 
have to make as a group and it would require reimplementing or relicensing 
all the code licensed to the under the GPLv2.  That's a tough sell.

-- 
Boyd Stephen Smith Jr. ,= ,-_-. =. 
[EMAIL PROTECTED]  ((_/)o o(\_))
ICQ: 514984 YM/AIM: DaTwinkDaddy   `-'(. .)`-' 
http://iguanasuicide.org/  \_/ 


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


Re: [gentoo-user] portage inconsistency?

2007-07-16 Thread Александър Л . Димитров
Hello Maxim

On 15:46 Mon 16 Jul, maxim wexler wrote:
 At tail of emerge --sync its says now emerge portage.

Yes, it does that every time there is a new portage version available.
 
 emerge -u portage lines up 5 or 6 packages plus
 portage, 18Mb.
 
from the emerge manpage:

--update (-u)
  Updates  packages  to  the  best version available, which may not always 
be the
  highest version number due to masking for testing and development.   This 
 will
  also  update direct dependencies which may not be what you want.  Package 
atoms
  specified on the command line are greedy, meaning  that  unspecific  
atoms  may
  match multiple installed versions of slotted packages.

 So why doesn't it list the upgrade part now?

If you look carefully at the first line 'emerge -pv portage' gives you,
you will notice that it says `[ebuild   R   ] sys-apps/portage'. The `R'
is for `Rebuild' - as your portage is already at the latest version
emerge wants to rebuild it. If you use the -u flag it just searches for
updates, finds none and hence does not suggest any installation.

I suggest you should read throgh emerge(1) and portage(5) mapages and
also read the online docs in the handbook to get familiar with the
portage system.


Regards,
Aleks


pgpe1hX4Um5z2.pgp
Description: PGP signature


Re: [gentoo-user] 2 to 3??

2007-07-16 Thread Henk Boom

On 16/07/07, Volker Armin Hemmann [EMAIL PROTECTED] wrote:

because gplv3 removes freedom?


As far as I remember from when I read it, it does not take any
freedoms which the previous versions did not intend to. The purpose of
the GPL is to protect the 4 freedoms. This instalment just closes
loopholes in the previous versions which would allow these freedoms to
be infringed upon.

   Henk Boom
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Sendmail woes

2007-07-16 Thread Александър Л . Димитров
On 08:14 Mon 16 Jul , [EMAIL PROTECTED] wrote:
 Yes it is and in my experience you will get help there.  Keep your
 fingers crossed for Per Hedlund to respond if you do post there.

Thanks. I'll RTFS as soon as I finish my last exam (Wednesday - I guess
*that's* what I'm keeping my fingers crossed for atm... ;-) ) and if I
don't find the reason I'll look into the sendmail mailing list.

 I don't remember the exact reasons or format but I believe sendmail
 calls `gethostbyname' which looks first at /etc/hosts.

Yes, I read that in the docs. I made up the domain .local and
everything's completely fine now - I just wonder _why exactly_ sendmail
needs to have an imaginatory domain name.

 A further point about documentation... you may have mentioned this
 but I did not see it.
 
 The document /usr/share/sendmail-cf/README
 Has a lot of help but may be thin on exact details at times.

Thanks, I've read through most of the stuff in the /usr/share/doc/sendmail*/
directory and also through the online docs at sendmail.org and a lot of
stuff on the net I googled for (like installation instructions for
majordomo). They all essentially say that sendmail.cf should have one of
the following: either `Tuser' or `Ctuser' or
`Ft/file/with/trusted/users'. I tried all of them and though

# egrep '^T' sendmail.cf 
Troot
Tdaemon
Tuucp
Taleks

seems to be OK I still don't seem to have any luck. I usually generate
sendmail.cf through m4 and senmdmail.mc, but even with editing
sendmail.cf manually I don't get any results...

Thanks,
Aleks


pgpnUYVrH1elC.pgp
Description: PGP signature


Re: [gentoo-user] Sendmail woes

2007-07-16 Thread Александър Л . Димитров
On 00:58 Mon 16 Jul , Norberto Bensa wrote:
 I use gmx.net too. If you would like to try postfix, I'll give you my 
 configuration :)

Thanks :-) - I'm already using Postfix as a mailserver on my machines work where
I'm using a more sophisticated setup as they are functioning as a mail
relay server for the whole floor. I wanted to try sendmail however just
to get more familiar with it. ;-)

Regards,
Aleks


pgp7z5bYWI4Cu.pgp
Description: PGP signature


[gentoo-user] fglrx and posix shared mem

2007-07-16 Thread Iain Buchanan
Hi,

for a while I've been seeing errors like this:

fglX11AllocateManagedSurface: __FGLTexMgrAllocMem failed!!

on the screen when running screensavers, specifically mirrorblob.  I
found an ubuntu link[1] which led me to an ATI link[2] which said it is
because posix shared memory isn't enabled.

Essentially it led me to `mount | grep shm`

If the mount was successful, then the following output (or similar)
should appear:

tmpfs on /dev/shm type tmpfs (rw)

and of course, this is already enabled.  So why am I seeing the error?
Has anyone else fixed this issue?  I don't know where to go next, google
only showed 1 match!

I am running ati-drivers-8.37.6-r1

[1] http://ubuntuforums.org/showthread.php?p=1691647
[2] http://www2.ati.com/drivers/linux/linux_8.16.20.html#176878

thanks for the help,
-- 
Iain Buchanan iaindb at netspace dot net dot au

Good day for overcoming obstacles.  Try a steeplechase.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Gentoo Machine Cleanup

2007-07-16 Thread Canek Peláez

On 7/16/07, Samir Faci [EMAIL PROTECTED] wrote:

Hi all,

   So, I have a gentoo install that's slowly evolved over the past 3 years
or so years.  It's now so cluttered with packages, it's becoming ridiculous,
especially for a headless server.  What I'd like to do is be able to remove
all KDE/Gnome/X/gtk/qt/...etc out of the machine and not have it break the
machine completely.

Any suggestion on how to do go about this?  At this stage, I'd like the
server to have  the basic system build, LAMP, and Postfix.


The easiest thing is to remove xorg entirely: uninstall
xorg-base/xorg-x11 and mask the package in /etc/portage/package.mask.
Also, add -X -gtk -qt3 -qt4 to your USE flags. Then try an emerge
-uDNvp world; it would tell you what packages could not be resolved
because they need X.org.

It would be long and don't think it can be automated. When I
eliminated KDE (why did I have to install it in the first place?), it
took at least five emerges to get it done. You can advance by
equery'ing all the packages with kde, gnome, and x11 categories or
names, get the list and remove all of them.

Good luck: but it's going to take a little effort.
--
Canek Peláez Valdés
Facultad de Ciencias, UNAM
--
[EMAIL PROTECTED] mailing list