Re: [gentoo-user] OT: An XML Question

2007-05-29 Thread Galevsky

Hi,

you can learn the xml concepts at http://www.w3schools.com/. Then,
depending on the language you choose, there is lots of libs to deal
with xml in many languages. Though you always have two different ways
of parsing your xml file: a SAX parser approach, that runs on an
element-by-element process, retrieving each element with no view on
the next ones. The second way is a DOM object builder, parsing the xml
file as a whole, then giving you back the whole tree as an object that
can browse later with a set of methods. The later is faster to get all
the information of the xml, but takes more memory since the whole xml
tree must be built first. You have to look for the libs of your
language now for further details, but the choice between the two is
crucial. I remind a Xmlchecker java tool I wrote to run no-diff
tests I implemented first with jdom, and it was good. until I
had to deal with 300 Mb files ... and rewrite the whole browsing
engine with SAX.

Gal'


2007/5/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:



Are there any really  good XML tutorials on the web, or perhaps a book that is 
actually  useful?

Also, which libs do  people preffer for dealing with XML?

I am contemplating  messing arround with XML for data files for a project I 
want to mess  with.

The project would  involve loading objects into a dynamic list.  I do not think 
I want to deal  with the XML file in real time, as I am not sure how fast that 
would be, but  rather load the data into memory, then save it to the XML file 
at save  points.

:-)  My views  may change as time goes by, but for now I am learning, and 
starting to do  research. ^_^




Kenneth M. Burling Jr


--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] OT: An XML Question

2007-05-29 Thread burlingk


 -Original Message-
 From: Galevsky [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 29, 2007 4:21 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] OT: An XML Question
 
 
 Hi,
 
 you can learn the xml concepts at http://www.w3schools.com/. 
 Then, depending on the language you choose, there is lots of 
 libs to deal with xml in many languages. Though you always 
 have two different ways of parsing your xml file: a SAX 
 parser approach, that runs on an element-by-element process, 
 retrieving each element with no view on the next ones. The 
 second way is a DOM object builder, parsing the xml file as a 
 whole, then giving you back the whole tree as an object that 
 can browse later with a set of methods. The later is faster 
 to get all the information of the xml, but takes more memory 
 since the whole xml tree must be built first. You have to 
 look for the libs of your language now for further details, 
 but the choice between the two is crucial. I remind a 
 Xmlchecker java tool I wrote to run no-diff tests I 
 implemented first with jdom, and it was good. until I had 
 to deal with 300 Mb files ... and rewrite the whole browsing 
 engine with SAX.
 
 Gal'
 
 
 2007/5/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 
 
  Are there any really  good XML tutorials on the web, or 
 perhaps a book 
  that is actually  useful?
snip

Thanks for the info!
I think I may look into the DOM approach. ^_^
Does(do?) libxml or libxml2 have a DOM interface?  I know that 
libxml2 is already on the system (part of the base install), so
it may be a good place to look. :)  Does anyone know of a good
tutorial site with a .org or .edu web address?  The firewall I
am stuck behind at the moment has some funky restrictions. :P

^_^

--
[EMAIL PROTECTED] mailing list



[gentoo-user] mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2)

2007-05-29 Thread Daevid Vincent
I haven't done an emerge on my server in quite a while, but now that
I've upgraded the CPU/RAM, I figure it's about time.

There are a few packages I'm a bit apprehensive about upgrading. exim
being one. I hate that MTA. It was a nightmare to setup and get working
properly, and now I don't want to break it. (a friend set it up
actually, as that was the MTA he used.)

daevid portage # esearch exim
*  mail-mta/exim
  Latest version available: 4.67
  Latest version installed: 4.54
  Size of downloaded files: [no/bad digest]
  Homepage:http://www.exim.org/

So I have this in my package.mask:
=mail-mta/exim-4.55

(Is this upgrade from 4.54 to 4.67 very smooth? Should I worry? I dread
having to deal with exim.conf again, and the exim users list is very
elitist. Usually saying RTFM for most issues -- but they all are experts
or mail admins. I'm not. Nor do I want to be.)

But when I do an emerge -aut world, I get this blocking issue:

These are the packages that would be merged, in reverse order:
...snip...
[nomerge  ] x11-misc/xscreensaver-5.02 [5.01-r2] 
[nomerge  ]  x11-apps/appres-1.0.1 [1.0.0] 
[ebuild U ]   x11-libs/libX11-1.1.1-r1 [1.0.3-r1] USE=-xcb% 
[nomerge  ] sys-process/vixie-cron-4.1-r10 [4.1-r9] 
[ebuild  N]  mail-mta/ssmtp-2.61-r2  USE=ipv6 ssl -mailwrapper
-md5sum 
[nomerge  ] kde-base/kdegraphics-3.5.5-r2 [3.5.5] 
[nomerge  ]  media-libs/lcms-1.15 [1.14-r1] USE=-tiff* 
[nomerge  ]   dev-lang/swig-1.3.31 [1.3.25] USE=ruby* -lua% -mono%
-ocaml% -pike% 
[nomerge  ]dev-lang/php-5.2.2-r1 [5.2.1-r3] 
[nomerge  ] net-misc/curl-7.15.1-r1 [7.15.1] USE=ldap* -idn* 
[ebuild U ]  net-nds/openldap-2.3.30-r2 [2.3.27]
USE=-smbkrb5passwd% 
[nomerge  ] media-gfx/imagemagick-6.3.3 [6.2.9.5] 
[ebuild U ]  x11-libs/libXt-1.0.5 [1.0.4] 
...snip...
[blocks B ] mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2)

(also, I never understand the --tree option. Does this mean that
vixie-cron is the issue, or kdegraphics is the issue? Being reverse
order, I am guessing vixie-cron, yet it says nomerge so that seems
like, why would it care, plus it's worked fine all these years with the
exim I have installed. Conversely, why would kdegraphics give a hoot
about a mail transport? I don't get it.)


-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)

2007-05-29 Thread Daevid Vincent
I haven't done an emerge on my server in quite a while, but now that
I've upgraded the CPU/RAM, I figure it's about time.

There are a few packages I'm a bit apprehensive about upgrading. exim
being one. I hate that MTA. It was a nightmare to setup and get working
properly, and now I don't want to break it. (a friend set it up
actually, as that was the MTA he used.)

daevid portage # esearch exim
*  mail-mta/exim
  Latest version available: 4.67
  Latest version installed: 4.54
  Size of downloaded files: [no/bad digest]
  Homepage:http://www.exim.org/

So I have this in my package.mask:
=mail-mta/exim-4.55

(Is this upgrade from 4.54 to 4.67 very smooth? Should I worry? I dread
having to deal with exim.conf again, and the exim users list is very
elitist. Usually saying RTFM for most issues -- but they all are experts
or mail admins. I'm not. Nor do I want to be.)

But when I do an emerge -aut world, I get this blocking issue:

These are the packages that would be merged, in reverse order:
...snip...
[nomerge  ] x11-misc/xscreensaver-5.02 [5.01-r2] 
[nomerge  ]  x11-apps/appres-1.0.1 [1.0.0] 
[ebuild U ]   x11-libs/libX11-1.1.1-r1 [1.0.3-r1] USE=-xcb% 
[nomerge  ] sys-process/vixie-cron-4.1-r10 [4.1-r9] 
[ebuild  N]  mail-mta/ssmtp-2.61-r2  USE=ipv6 ssl -mailwrapper
-md5sum 
[nomerge  ] kde-base/kdegraphics-3.5.5-r2 [3.5.5] 
[nomerge  ]  media-libs/lcms-1.15 [1.14-r1] USE=-tiff* 
[nomerge  ]   dev-lang/swig-1.3.31 [1.3.25] USE=ruby* -lua% -mono%
-ocaml% -pike% 
[nomerge  ]dev-lang/php-5.2.2-r1 [5.2.1-r3] 
[nomerge  ] net-misc/curl-7.15.1-r1 [7.15.1] USE=ldap* -idn* 
[ebuild U ]  net-nds/openldap-2.3.30-r2 [2.3.27]
USE=-smbkrb5passwd% 
[nomerge  ] media-gfx/imagemagick-6.3.3 [6.2.9.5] 
[ebuild U ]  x11-libs/libXt-1.0.5 [1.0.4] 
...snip...
[blocks B ] mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2)

(also, I never understand the --tree option. Does this mean that
vixie-cron is the issue, or kdegraphics is the issue? Being reverse
order, I am guessing vixie-cron, yet it says nomerge so that seems
like, why would it care, plus it's worked fine all these years with the
exim I have installed. Conversely, why would kdegraphics give a hoot
about a mail transport? I don't get it.)

And maybe I'm using this tool wrong, but this just adds to my confusion.

daevid portage # equery depends mail-mta/ssmtp
[ Searching for packages depending on mail-mta/ssmtp... ]

daevid portage # equery depends mail-mta/exim 
[ Searching for packages depending on mail-mta/exim... ]
app-admin/sudo-1.6.8_p9-r2 (virtual/mta)
app-admin/tripwire-2.3.1.2-r2 (virtual/mta)
dev-lang/php-5.2.1-r3 (virtual/mta)
mail-client/mailx-8.1.2.20040524-r1 (virtual/mta)
mail-filter/procmail-3.22-r7 (virtual/mta)
net-mail/mailman-2.1.5-r4 (virtual/mta)
sys-power/apcupsd-3.10.18-r1 (virtual/mta)
sys-process/vixie-cron-4.1-r9 (virtual/mta)

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] OT: An XML Question

2007-05-29 Thread Galevsky

Well, a man libxml2 gives you all that you need:

Documentation   for   libxml   is   available   on-line   at
http://www.xmlsoft.org/

;o)

Gal'

2007/5/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:



 -Original Message-
 From: Galevsky [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2007 4:21 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] OT: An XML Question


 Hi,

 you can learn the xml concepts at http://www.w3schools.com/.
 Then, depending on the language you choose, there is lots of
 libs to deal with xml in many languages. Though you always
 have two different ways of parsing your xml file: a SAX
 parser approach, that runs on an element-by-element process,
 retrieving each element with no view on the next ones. The
 second way is a DOM object builder, parsing the xml file as a
 whole, then giving you back the whole tree as an object that
 can browse later with a set of methods. The later is faster
 to get all the information of the xml, but takes more memory
 since the whole xml tree must be built first. You have to
 look for the libs of your language now for further details,
 but the choice between the two is crucial. I remind a
 Xmlchecker java tool I wrote to run no-diff tests I
 implemented first with jdom, and it was good. until I had
 to deal with 300 Mb files ... and rewrite the whole browsing
 engine with SAX.

 Gal'


 2007/5/29, [EMAIL PROTECTED] [EMAIL PROTECTED]:
 
 
  Are there any really  good XML tutorials on the web, or
 perhaps a book
  that is actually  useful?
snip

Thanks for the info!
I think I may look into the DOM approach. ^_^
Does(do?) libxml or libxml2 have a DOM interface?  I know that
libxml2 is already on the system (part of the base install), so
it may be a good place to look. :)  Does anyone know of a good
tutorial site with a .org or .edu web address?  The firewall I
am stuck behind at the moment has some funky restrictions. :P

^_^

--
[EMAIL PROTECTED] mailing list



--
[EMAIL PROTECTED] mailing list



[gentoo-user] Ebuilds for the following packages are either all masked or don't exist

2007-05-29 Thread Daevid Vincent
Calculating world dependencies -
!!! Ebuilds for the following packages are either all masked or don't
exist:
net-analyzer/ntop net-www/gentoo-webroot-default
media-fonts/font-bitstream-75dpi net-analyzer/bwm-ng virtual/x11
media-video/came media-fonts/font-adobe-utopia-100dpi
media-fonts/font-bitstream-100dpi
  
When I see this message, is the short answer, emerge --unmerge each of
them because they're just dead packages?

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Ebuilds for the following packages are either all masked or don't exist

2007-05-29 Thread kristian
From: Daevid Vincent [EMAIL PROTECTED]
Date: Tue, 29 May 2007 01:37:20 -0700
To: gentoo-user@lists.gentoo.org
Subject: [gentoo-user] Ebuilds for the following packages are either all masked 
or don't exist

Calculating world dependencies -
!!! Ebuilds for the following packages are either all masked or don't
exist:
net-analyzer/ntop net-www/gentoo-webroot-default
media-fonts/font-bitstream-75dpi net-analyzer/bwm-ng virtual/x11
media-video/came media-fonts/font-adobe-utopia-100dpi
media-fonts/font-bitstream-100dpi
  
When I see this message, is the short answer, emerge --unmerge each of
them because they're just dead packages?

-- 

[EMAIL PROTECTED] mailing list




---

Well, the answer is that the packages exist but they are masked. You are 
without a doubt using some older versions no longer in portage, and the 
versions that are in portage are masked, while yours were stable when you 
installed them. Add the packages to /etc/portage/package.keywords and they 
should be possible to update.

Or you can unmerge them if you want to.

-Kristian Poul Herkild

-- 
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Ebuilds for the following packages are either all masked or don't exist

2007-05-29 Thread burlingk


 -Original Message-
 From: Daevid Vincent [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 29, 2007 5:37 PM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Ebuilds for the following packages are 
 either all masked or don't exist
 
 
 Calculating world dependencies -
 !!! Ebuilds for the following packages are either all masked or don't
 exist:
 net-analyzer/ntop net-www/gentoo-webroot-default 
 media-fonts/font-bitstream-75dpi net-analyzer/bwm-ng 
 virtual/x11 media-video/came media-fonts/font-adobe-utopia-100dpi
 media-fonts/font-bitstream-100dpi
   
 When I see this message, is the short answer, emerge 
 --unmerge each of them because they're just dead packages?

If those are already on your system and functioning, you may want to
list them in package.provided .  That will tell the system to use the
package that is already on the system.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)

2007-05-29 Thread Alan McKinnon
On Tuesday 29 May 2007, Daevid Vincent wrote:
 I haven't done an emerge on my server in quite a while, but now that
 I've upgraded the CPU/RAM, I figure it's about time.

 There are a few packages I'm a bit apprehensive about upgrading.
 exim being one. I hate that MTA. It was a nightmare to setup and
 get working properly, and now I don't want to break it. (a friend set
 it up actually, as that was the MTA he used.)

 daevid portage # esearch exim
 *  mail-mta/exim
   Latest version available: 4.67
   Latest version installed: 4.54
   Size of downloaded files: [no/bad digest]
   Homepage:http://www.exim.org/

 So I have this in my package.mask:
 =mail-mta/exim-4.55

That's correct. If you are happy with exim-4.55 and there's no reaosn 
you can find to upgrade it, just stick with what you have

 (Is this upgrade from 4.54 to 4.67 very smooth? Should I worry? I
 dread having to deal with exim.conf again, and the exim users list is
 very elitist. Usually saying RTFM for most issues -- but they all are
 experts or mail admins. I'm not. Nor do I want to be.)

 But when I do an emerge -aut world, I get this blocking issue:

A better command is probably 'emerge -avuNDt world'. This will pick up 
changes in USE flags (N) and also update any dependencies that are not 
in world (D)

 These are the packages that would be merged, in reverse order:
 ...snip...
 [nomerge  ] x11-misc/xscreensaver-5.02 [5.01-r2]
 [nomerge  ]  x11-apps/appres-1.0.1 [1.0.0]
 [ebuild U ]   x11-libs/libX11-1.1.1-r1 [1.0.3-r1] USE=-xcb%
 [nomerge  ] sys-process/vixie-cron-4.1-r10 [4.1-r9]
 [ebuild  N]  mail-mta/ssmtp-2.61-r2  USE=ipv6 ssl -mailwrapper
 -md5sum
 [nomerge  ] kde-base/kdegraphics-3.5.5-r2 [3.5.5]
 [nomerge  ]  media-libs/lcms-1.15 [1.14-r1] USE=-tiff*
 [nomerge  ]   dev-lang/swig-1.3.31 [1.3.25] USE=ruby* -lua%
 -mono% -ocaml% -pike%
 [nomerge  ]dev-lang/php-5.2.2-r1 [5.2.1-r3]
 [nomerge  ] net-misc/curl-7.15.1-r1 [7.15.1] USE=ldap*
 -idn* [ebuild U ]  net-nds/openldap-2.3.30-r2 [2.3.27]
 USE=-smbkrb5passwd%
 [nomerge  ] media-gfx/imagemagick-6.3.3 [6.2.9.5]
 [ebuild U ]  x11-libs/libXt-1.0.5 [1.0.4]
 ...snip...
 [blocks B ] mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2)

 (also, I never understand the --tree option. Does this mean that
 vixie-cron is the issue, or kdegraphics is the issue? Being
 reverse order, I am guessing vixie-cron, yet it says nomerge so
 that seems like, why would it care, plus it's worked fine all these
 years with the exim I have installed. Conversely, why would
 kdegraphics give a hoot about a mail transport? I don't get it.)

It means that vixie-cron depends on ssmtp (i.e. vixie-cron uses ssmtp 
for some reason). Obviously, ssmtp will be merged first so that it is 
there when vixie-cron is merged. The output does indeed show that 
packages will be emerged in bottom-up order, but the list of 
dependencies is top-down.

The vixie-cron ebuild inherits the cron eclass, and that file has this:
RDEPEND=!virtual/cron
virtual/mta
=sys-process/cronbase-0.3.2

So it wants a virtual mta, and somehow believes that exim doesn't 
provide it, so portage has (helpfully...) suggested ssmtp. vixie-cron 
doesn't need to be recompiled, as it's an RDEPEND and only needed at 
run time (hence the nomerge)

I would suggest you investigate why portage thinks exim does not provice 
virtual/mta capabilities

 And maybe I'm using this tool wrong, but this just adds to my
 confusion.

 daevid portage # equery depends mail-mta/ssmtp
 [ Searching for packages depending on mail-mta/ssmtp... ]

 daevid portage # equery depends mail-mta/exim
 [ Searching for packages depending on mail-mta/exim... ]
 app-admin/sudo-1.6.8_p9-r2 (virtual/mta)
 app-admin/tripwire-2.3.1.2-r2 (virtual/mta)
 dev-lang/php-5.2.1-r3 (virtual/mta)
 mail-client/mailx-8.1.2.20040524-r1 (virtual/mta)
 mail-filter/procmail-3.22-r7 (virtual/mta)
 net-mail/mailman-2.1.5-r4 (virtual/mta)
 sys-power/apcupsd-3.10.18-r1 (virtual/mta)
 sys-process/vixie-cron-4.1-r9 (virtual/mta)

What's confusing about that? equery found 8 packages that claim to 
depends (or use) ssmtp. That's perfectly normal. It's the packages that 
depend on ssmtp, not the packages you have installed and are 
configured/USE-flagged to use it

alan


-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vmware overlay

2007-05-29 Thread Alan McKinnon
On Monday 28 May 2007, p014r834r wrote:
 Hi all.

   I am just about to use vmware overlay, and I was wondering if anyone
 had any problems/issues using it.

Yeah, one issue:

Why isn't vmware-workstation-6.* in the portage tree yet?

OK, I'm just kidding (there's testing to be done). Generally it works 
fine, but right now I can't get vmware's modules to load and work 
right. Dunno why. Previously the ebuilds worked well.

Mind you, there's always Murphy. So add the overlay to your system, and 
emerge away. If it doesn't work, you'll soon know about it and can 
revert back

alan

 

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)

2007-05-29 Thread Bo Ørsted Andresen
On Tuesday 29 May 2007 10:32:23 Daevid Vincent wrote:
 *  mail-mta/exim
   Latest version available: 4.67
   Latest version installed: 4.54
   Size of downloaded files: [no/bad digest]
   Homepage:http://www.exim.org/

 So I have this in my package.mask:
 =mail-mta/exim-4.55
[SNIP]
 [nomerge  ] sys-process/vixie-cron-4.1-r10 [4.1-r9]
 [ebuild  N]  mail-mta/ssmtp-2.61-r2  USE=ipv6 ssl -mailwrapper
[SNIP]
 [blocks B ] mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2)

 (also, I never understand the --tree option. Does this mean that
 vixie-cron is the issue, or kdegraphics is the issue? Being reverse
 order, I am guessing vixie-cron, yet it says nomerge so that seems
 like, why would it care, plus it's worked fine all these years with the
 exim I have installed.

vixie-cron has a run-time dependency on virtual/mta which can be satisfied by 
both exim and ssmtp (and 8 other packages in the tree). ssmtp is the default 
provider.

What has happened is that all versions of exim in the tree that you haven't 
masked have been removed from the tree. I.e. there are no versions in the 
tree below 4.55. Therefore it suggests installing the default provider of 
virtual/mta which is blocked by the version of exim which is still installed 
although not installable (not in the tree). It matters despite the nomerge 
because it's a run-time dependency rather than build-time.

You have at least four options. The first option is to upgrade exim and hope 
it'll work. I have no knowledge about exim so I cannot tell you whether it 
will. The second is to restore the ebuild for your installed version in an 
overlay (you can pull it from /var/db/pkg/mail-mta/exim-4.54/) thereby 
restoring a non-masked version of exim.. The third is to add mail-mta/exim to 
package.provided (see `man portage`). The fourth is to unmerge exim and use 
another mta (I'm using postfix).

-- 
Bo Andresen


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


Re: [gentoo-user] vmware overlay

2007-05-29 Thread p014r834r

Alan McKinnon escreveu:

On Monday 28 May 2007, p014r834r wrote:
  

Hi all.

I am just about to use vmware overlay, and I was wondering if anyone
had any problems/issues using it.



Yeah, one issue:

Why isn't vmware-workstation-6.* in the portage tree yet?

OK, I'm just kidding (there's testing to be done). Generally it works 
fine, but right now I can't get vmware's modules to load and work 
right. Dunno why. Previously the ebuilds worked well.


  
I could install VMware6 manually and it worked fine (except setting some 
env variable).


Mind you, there's always Murphy. So add the overlay to your system, and 
emerge away. If it doesn't work, you'll soon know about it and can 
revert back


  

I installed it and pulled vmplayer 2.0. It seemed to word fine... let´s see.

alan

 
  

p014r834r

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2)

2007-05-29 Thread Randy Barlow

Daevid Vincent wrote:
[nomerge  ] sys-process/vixie-cron-4.1-r10 [4.1-r9] 
[ebuild  N]  mail-mta/ssmtp-2.61-r2  USE=ipv6 ssl -mailwrapper
-md5sum 



(also, I never understand the --tree option. Does this mean that
vixie-cron is the issue, or kdegraphics is the issue? Being reverse
order, I am guessing vixie-cron, yet it says nomerge so that seems
like, why would it care, plus it's worked fine all these years with the
exim I have installed. Conversely, why would kdegraphics give a hoot
about a mail transport? I don't get it.)


This is telling you that vixie-cron (which is already installed so will 
not be merged again) is trying to bring in ssmtp for some reason.  I 
don't use exim or know anything about it, but does its ebuild register 
it as a proper MTA?  It seems that your system either doesn't recognize 
exim as an MTA, or perhaps that vixie-cron requires an MTA other than 
exim (postfix is nice :) )


R
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] vmware overlay

2007-05-29 Thread Neil Bothwick
On Tue, 29 May 2007 13:50:23 +0200, Alan McKinnon wrote:

 OK, I'm just kidding (there's testing to be done). Generally it works 
 fine, but right now I can't get vmware's modules to load and work 
 right. Dunno why. Previously the ebuilds worked well.

The modules ebuild is for WS5. There's a bug about this somewhere, but
for now I've installed WS6 using the VMware script and it's working fine.


-- 
Neil Bothwick

How stupid are people?  Send me $5 to find out.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: Test!

2007-05-29 Thread Ryan Sims

On 5/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:



 -Original Message-
 From: dark85x [mailto:[EMAIL PROTECTED]
 Sent: Tuesday, May 29, 2007 2:06 AM
 To: gentoo-user@lists.gentoo.org
 Subject: [gentoo-user] Re: Test!


 On Monday 28 May 2007 19:04:16 Tobias Heinlein wrote:
  Hi there!
 
  eMails rock!

 irc  email
 --
 [EMAIL PROTECTED] mailing list

Perhaps an IRC bot that would send and receive emails? :P


Especially if it would alternate between test and unsubscribe as
the message bodies.  That'd be great.

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



[gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Denis

I'm curious to know your approach to keeping your Gentoo box current
without it becoming a full-time job.  I'm not talking about
maintaining servers - just your daily driver, so to say.

How often do you sync with the current portage tree and compare it
your versions in world?  Should one do this once a week?  Once in
two weeks?

How often to you update major components, like Xorg, kernel, and
system tool chain?  As soon as new things become available, or, say,
once a month or so?

The reason I ask is because I often don't have a lot of time to devote
to system administration on a regular basis but do want to keep my box
updated as much as possible.  How do some of you non-developers
balance system administration with your day job?
--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] Re: Test!

2007-05-29 Thread burlingk


 -Original Message-
 From: Ryan Sims [mailto:[EMAIL PROTECTED] 
 Sent: Tuesday, May 29, 2007 10:40 PM
 To: gentoo-user@lists.gentoo.org
 Subject: Re: [gentoo-user] Re: Test!
 
 
 On 5/28/07, [EMAIL PROTECTED] [EMAIL PROTECTED] wrote:
 
 
   -Original Message-
   From: dark85x [mailto:[EMAIL PROTECTED]
   Sent: Tuesday, May 29, 2007 2:06 AM
   To: gentoo-user@lists.gentoo.org
   Subject: [gentoo-user] Re: Test!
  
  
   On Monday 28 May 2007 19:04:16 Tobias Heinlein wrote:
Hi there!
   
eMails rock!
  
   irc  email
   --
   [EMAIL PROTECTED] mailing list
 
  Perhaps an IRC bot that would send and receive emails? :P
 
 Especially if it would alternate between test and 
 unsubscribe as the message bodies.  That'd be great.
 
 -- 
 Ryan W Sims
Hehehe.
That would be pretty bad.  Saddly though, that is probably 
what it would degenerate into in the wrong hands. ^^;;
Bots need some sort of authentication and filtering to be
Safe for anything that involves public broadcast outside
of the IRC environment.






--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Mark Shields

On 5/29/07, Denis [EMAIL PROTECTED] wrote:


I'm curious to know your approach to keeping your Gentoo box current
without it becoming a full-time job.  I'm not talking about
maintaining servers - just your daily driver, so to say.

How often do you sync with the current portage tree and compare it
your versions in world?  Should one do this once a week?  Once in
two weeks?

How often to you update major components, like Xorg, kernel, and
system tool chain?  As soon as new things become available, or, say,
once a month or so?

The reason I ask is because I often don't have a lot of time to devote
to system administration on a regular basis but do want to keep my box
updated as much as possible.  How do some of you non-developers
balance system administration with your day job?
--
[EMAIL PROTECTED] mailing list



I sync and do an emerge -DNpvu world daily.  The results are e-mailed to me
by vixie-cron.  This allows me to read what new packages are available and
also see the updates available.  These logs are sent to my gmail address
with a label and filter.  If I am so inclined I can view the current one or
past ones.  I can then log into the box and run emerge -DNavu world and
update, then run etc-update after that.  The only thing that's been bugging
me is restarting services after they've been updated (automagically, or
near-auto).

--
- Mark Shields


Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Kevin O'Gorman

On 5/29/07, Denis [EMAIL PROTECTED] wrote:

I'm curious to know your approach to keeping your Gentoo box current
without it becoming a full-time job.  I'm not talking about
maintaining servers - just your daily driver, so to say.

How often do you sync with the current portage tree and compare it
your versions in world?  Should one do this once a week?  Once in
two weeks?

How often to you update major components, like Xorg, kernel, and
system tool chain?  As soon as new things become available, or, say,
once a month or so?

The reason I ask is because I often don't have a lot of time to devote
to system administration on a regular basis but do want to keep my box
updated as much as possible.  How do some of you non-developers
balance system administration with your day job?
--
[EMAIL PROTECTED] mailing list




I have a cron job that does emerge --sync and another that does
revdep-rebuild -p.  These email me their results.

At least once a week, I manually do
 emerge -aDvu world
Unless there's something particularly weird, I say yes when
it asks if I want the emerge.

I have the PORTAGE_NICENESS set to 15 in /etc/make.conf,
and since there are 4 hyperthreads on this machine, I also have
MAKEOPTS=-j4.  Together, these leave enough compute power
that I never really notice the load.  Besides, it's easy to start the
emerge at the end of the day.

At the end of the emerge, I run etc-update.  Each change I make
in a config file is tagged with a string that is easy to recognize.
If I have never modified a config file in the past, I accept all
changes -- I reason that if what the devs did the first time was
good enough, that is probably still true.  There are only about
a dozen packages that I made any changes to, so it's fairly easy
to keep up with things.

Most weeks I spend less than an hour on administration.

--
Kevin O'Gorman, PhD
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Ryan Sims

On 5/29/07, Denis [EMAIL PROTECTED] wrote:

How often do you sync with the current portage tree and compare it
your versions in world?  Should one do this once a week?  Once in
two weeks?

How often to you update major components, like Xorg, kernel, and
system tool chain?  As soon as new things become available, or, say,
once a month or so?

The reason I ask is because I often don't have a lot of time to devote
to system administration on a regular basis but do want to keep my box
updated as much as possible.  How do some of you non-developers
balance system administration with your day job?
--
[EMAIL PROTECTED] mailing list




I have 2 gentoo boxes in our apartment(one's quiet since we just moved
and I haven't gotten back to it yet), I sync around once a week, and
-uDavN world when I sync.  If there are packages that look important
(gcc, glibc, baselayout, etc) I do a bit more research. I watch
gentoo.org and this list.  The only time I put off an update is if I
see notes about it on gentoo.org or such; things like the xorg modular
ebuilds, the new java system, etc.  I have portage email me the elog.

It's just me and my wife using the boxes, so I'm not as careful as I
would be were it a production server, but I've never really been
bitten, either.  As for balance with what I'm actually paid to do, if
I'm taken up with work, I don't update until I get some free time.

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Albert Hopkins
On Tue, 2007-05-29 at 10:01 -0400, Denis wrote:
 I'm curious to know your approach to keeping your Gentoo box current
 without it becoming a full-time job.  I'm not talking about
 maintaining servers - just your daily driver, so to say.

I'm not exactly sure what you mean by daily server.  Did you mean to
say daily workstation?  Daily server sounds more like a butler or
something.  My Gentoo setup is basically (daily) workstation which
doubles as a file server, a laptop, a MythTV station, and a Xen host
with various virtual machines.
 
 How often do you sync with the current portage tree and compare it
 your versions in world?  Should one do this once a week?  Once in
 two weeks?

This is really going to depend on the individual, being yourself.  The
only thing I can recommend is that you don't wait *too* long to
sync/upgrade as it's usually a pain.  Again, my setup:

Workstation: usually every day depending on my mood
Laptop: About once a month
MythBox: As needed (new release of Mythtv, etc)
Xen host: New version of Xen/Kernel
Xen guests: base image updated regularly, other guests as needed

 How often to you update major components, like Xorg, kernel, and
 system tool chain?  As soon as new things become available, or, say,
 once a month or so?

Workstation: when available (except kernel.  I sometimes use bleeding
edge (using kernels not yet in portage) until something breaks and then
I get conservative.
Laptop: Once a month, or whenever next major release of GNOME is out
MythTv: don't worry about it that much.
Xen host: ditto, except for kernel
Xen guests: depends on what it's doing. If it's a web server, for
example, I try to keep up to date on apache. some guests have newer
versions of some packages masked because I require a certain version.
Try to not stay too far behind on Xen/Kernel but their releases are
infrequent anyway.

 
 The reason I ask is because I often don't have a lot of time to devote
 to system administration on a regular basis but do want to keep my box
 updated as much as possible.  How do some of you non-developers
 balance system administration with your day job? 

For some people system administration is their day job.  For others,
they save it at for evenings/weekends. :-). It really depends.  Is this
for your system at home (I'm still confused about the daily server
part)?  If it's for home then I'd imagine most people consider Gentoo
administration as a hobby and thus probably do it as often as any
other hobby.  If you mean at work, well I've only had one job where
Gentoo was used in the office (and there it was pretty much only for
workstations and light servers but in general most places I've seen do
updates on an as needed basis (i.e. security updates, updates that fix
a particular issue you're experiencing, etc.).  Of course a lot of the
big shops use enterprise solutions like Red Hat Network or Red
Carpet/Zenworks.

I don't think you're going to find a hard rule if that's what you're
looking for, but hopefully you'll get enough responses to be able to
come up with your own.

--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Daniel Iliev
On Tue, 29 May 2007 10:01:39 -0400
Denis [EMAIL PROTECTED] wrote:

 I'm curious to know your approach to keeping your Gentoo box current
 without it becoming a full-time job.  I'm not talking about
 maintaining servers - just your daily driver, so to say.
 
 How often do you sync with the current portage tree and compare it
 your versions in world?  Should one do this once a week?  Once in
 two weeks?
 
 How often to you update major components, like Xorg, kernel, and
 system tool chain?  As soon as new things become available, or, say,
 once a month or so?
 
 The reason I ask is because I often don't have a lot of time to devote
 to system administration on a regular basis but do want to keep my box
 updated as much as possible.  How do some of you non-developers
 balance system administration with your day job?


I have a daily cron job containing:
===
emerge --sync   \
emerge -DuNf world  \
glsa-check -t all 21 | mail -s GLSA report root
===

In other words it syncs the tree, fetches all the new packages and then
checks for security vulnerabilities. If glsa-chack says This system is
not affected by any of the listed GLSAs I update when I have the time
(mostly in the weekends), otherwise I update ASAP.

-- 
Best regards,
Daniel

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: X11 from another machine [SOLVED]

2007-05-29 Thread Andrew Lowe

Grant Edwards wrote:

However, the usual way to use remote X-based programs is just to let
SSH do that. It can provide a tunnel for X. This is especially easy if
the remote SSH server daemon has set its X11Forwarding configuration
setting set to yes (otherwise, it is really a bit harder and not
suggested). Then, you just would connect using ssh -X [EMAIL PROTECTED] and
that's it, SSH will care for creating a socket on the remote machine
and set the DISPLAY variable accordingly.


NB: I've found that using -Y instead of -X can speed up some
applications by a factor of 50 or more.



	Thank you all for your responses, although, due to me not initially 
providing all of the needed info, some peoples responses were not valid. 
My problem was I had to forward from an 8 year old SUN server, with no 
keyboard or monitor to my linux box. It's running Sunos5.? and DOES NOT 
have SSH - g!!! Only telnet!


Between the replies I got and and more Googling, I had to:

telnet into the SUN box.

On the SUN box export the DISPLAY system variable with it pointing to my 
machine.


Tell the linux box default xorg window manager and then kdm, when I 
subsequently installed it, to not ignore tcp ie comment out the 
-nolisten tcp config variable.


Couldn't get xauth to work so I used xhost to tell my machine to accept 
the connection from the Sun server.


Fired up the CAD system from the telnet login and hey presto, 
MicroStation on my linux box.


	Sounds simple but the amount of stuffing around I had to do before it 
eventually workedprobably best left unsaid. Anyway, thanks to all 
for the help and here's hoping I get access to SSH the next time I have 
to do anything like this.


Regards,
Andrew
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Albert Hopkins
On Tue, 2007-05-29 at 09:48 -0500, Albert Hopkins wrote:
 On Tue, 2007-05-29 at 10:01 -0400, Denis wrote:
  I'm curious to know your approach to keeping your Gentoo box current
  without it becoming a full-time job.  I'm not talking about
  maintaining servers - just your daily driver, so to say.
 
 I'm not exactly sure what you mean by daily server.  

... and I'm even less certain how I read that as daily server.  I
apologize for having responded before taking my medication.

--
Albert W. Hopkins

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Roy Wright
Daniel Iliev wrote:
 I have a daily cron job containing:
 ===
 emerge --sync   \
 emerge -DuNf world  \
 glsa-check -t all 21 | mail -s GLSA report root
 ===

 In other words it syncs the tree, fetches all the new packages and then
 checks for security vulnerabilities. If glsa-chack says This system is
 not affected by any of the listed GLSAs I update when I have the time
 (mostly in the weekends), otherwise I update ASAP.

   

In addition to the above, my cron job also syncs my overlays, updates
eix database,
checks dependencies, and verifies nvidia driver was not updated behind
my back :-)

echo Syncing overlays...
/usr/bin/svn cleanup /usr/portage/local/layman/xeffects
layman -S

echo Running update-eix...
update-eix --quiet

echo Running revdep-rebuild
revdep-rebuild --ignore --pretend --no-color
rm -f /.revdep-rebuild.*

echo show openGL selection
eselect --no-color opengl list


So my daily routine is to check the email from cron, then as long as nothing
big needs to be updated, run emerge -uDNav where I examine the use flags,
particularly the not selected ones.  For big updates like kde and gcc, I
wait
for the weekend then check for any updating issues (b.g.o., forums, this
list).

HTH,
Roy
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Ralf Stephan
You wrote 
 How often do you sync with the current portage tree and compare it
 your versions in world?  Should one do this once a week?  Once in
 two weeks?

I have settled to a 5-day routine, when I sync, update completely
the system target, and go through the listing of changes to world,
where I only upgrade things important to me or those which have a
big gap in the version number or a new major number.

This doesn't cost me much personal and CPU time.


ralf

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Florian Philipp
Am Dienstag 29 Mai 2007 16:01 schrieb Denis:
 I'm curious to know your approach to keeping your Gentoo box current
 without it becoming a full-time job.  I'm not talking about
 maintaining servers - just your daily driver, so to say.

 How often do you sync with the current portage tree and compare it
 your versions in world?  Should one do this once a week?  Once in
 two weeks?

 How often to you update major components, like Xorg, kernel, and
 system tool chain?  As soon as new things become available, or, say,
 once a month or so?

 The reason I ask is because I often don't have a lot of time to devote
 to system administration on a regular basis but do want to keep my box
 updated as much as possible.  How do some of you non-developers
 balance system administration with your day job?

I sync/update on Wednesday and Sunday using eix-sync instead of emerge-sync.

That way it shows me all changes on the tree together with a short description 
of the package. That way I find useful programs from time to time.


pgpCzye3jjWaW.pgp
Description: PGP signature


Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread kashani

Denis wrote:

I'm curious to know your approach to keeping your Gentoo box current
without it becoming a full-time job.  I'm not talking about
maintaining servers - just your daily driver, so to say.

How often do you sync with the current portage tree and compare it
your versions in world?  Should one do this once a week?  Once in
two weeks?

How often to you update major components, like Xorg, kernel, and
system tool chain?  As soon as new things become available, or, say,
once a month or so?

The reason I ask is because I often don't have a lot of time to devote
to system administration on a regular basis but do want to keep my box
updated as much as possible.  How do some of you non-developers
balance system administration with your day job?


	For the home samba server I update about once a year. My room mate 
updates the mythtv machine never. My vps instance with mail, web, etc 
does an eix-sync and glsa-check once a week and then I maybe emerge 
something once a month. I've been playing with Apache 2.2 lately which 
has been updating pretty quickly the last few weeks, but that's a bit of 
out of the ordinary.


kashani
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Denis

All these responses are very helpful - thanks for taking your time to reply!

Yea, my needs are pretty simple - just maintaining computational
workstations (one at home, one at work) - I am the primary user.  I am
not running any servers on either box.  I've never used cron - I
haven't felt the need to automate system administration in Gentoo any
more than what's already provided.  I keep marveling at emerge and the
portage system because it sure makes things easy on most occasions!!
I really don't have a problem running emerge --pretend by hand,
studying the output, and updating as needed.

My problem in the past was falling too far behind with the updates,
and now that I have fresh installs of Gentoo, I don't want to repeat
that.
--
[EMAIL PROTECTED] mailing list



[gentoo-user] Can't see windows servers on network from gnome

2007-05-29 Thread Johannes Skov Frandsen
Hi

Are there some special actions I need to take to be able to browser/see
my windows servers on my lan in gnome.

I can ping the machines and mount shared folders with smb from the
commandline so I know they are there and can be accessed but it could be
nice if they ware browserable from within gnome. I have seen this work
in distroes like ubuntu but how do I enable it in Gentoo.

I would expect them to be listed under places-network serveres.

Regards

Johannes Skov Frandsen


-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Can't see windows servers on network from gnome

2007-05-29 Thread Francisco Rivas

Good day...
These two programs are a gui, test it.
http://jags.sourceforge.net/
http://www.rt.mipt.ru/~ivan/TkSmb/

The second it's not pretty... :P

I hope this help you...
On 5/29/07, Johannes Skov Frandsen [EMAIL PROTECTED] wrote:


Hi

Are there some special actions I need to take to be able to browser/see
my windows servers on my lan in gnome.

I can ping the machines and mount shared folders with smb from the
commandline so I know they are there and can be accessed but it could be
nice if they ware browserable from within gnome. I have seen this work
in distroes like ubuntu but how do I enable it in Gentoo.

I would expect them to be listed under places-network serveres.

Regards

Johannes Skov Frandsen


--
[EMAIL PROTECTED] mailing list





--
Francisco Rivas
Linux User (New) : #448324
Linux Machine (New) : 355187


Re: [gentoo-user] Can't see windows servers on network from gnome

2007-05-29 Thread Francisco Rivas

Another tow tools:

http://freshmeat.net/projects/pyneighborhood/
http://freshmeat.net/projects/linneighborhood/

Have a nice day...
On 5/29/07, Johannes Skov Frandsen [EMAIL PROTECTED] wrote:


Hi

Are there some special actions I need to take to be able to browser/see
my windows servers on my lan in gnome.

I can ping the machines and mount shared folders with smb from the
commandline so I know they are there and can be accessed but it could be
nice if they ware browserable from within gnome. I have seen this work
in distroes like ubuntu but how do I enable it in Gentoo.

I would expect them to be listed under places-network serveres.

Regards

Johannes Skov Frandsen


--
[EMAIL PROTECTED] mailing list





--
Francisco Rivas
Linux User (New) : #448324
Linux Machine (New) : 355187


Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-29 Thread Paul Varner
On Fri, 2007-05-25 at 20:14 -0700, maxim wexler wrote:
 [EMAIL PROTECTED] ~ $ ls /
 ls: cannot open directory /: Permission denied
 [EMAIL PROTECTED] ~ $

What does 'ls -ld /' and 'ls -ld /etc' return?

Both of them should look like:
drwxr-xr-x 20 root root 4096 May 29 04:40 /
drwxr-xr-x 56 root root 4096 May 29 11:39 /etc

Regards,
Paul
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-29 Thread Mick
On Tuesday 29 May 2007 22:04, Paul Varner wrote:
 On Fri, 2007-05-25 at 20:14 -0700, maxim wexler wrote:
  [EMAIL PROTECTED] ~ $ ls /
  ls: cannot open directory /: Permission denied
  [EMAIL PROTECTED] ~ $

 What does 'ls -ld /' and 'ls -ld /etc' return?

 Both of them should look like:
 drwxr-xr-x 20 root root 4096 May 29 04:40 /
 drwxr-xr-x 56 root root 4096 May 29 11:39 /etc

Oops! mine looks like this:

# ls -ld /   
drwxrwxrwt 22 root root 648 Apr  6 18:44 /

What's wrong here?

PS. I do not suffer from Maxim's problem, but clearly something is wrong with 
my access rights on the root directory?
-- 
Regards,
Mick


pgpo0SvCRc70x.pgp
Description: PGP signature


[gentoo-user] Deactivate keyboard

2007-05-29 Thread Lutz Schönemann
Hi,

I have set up Gentoo on a system that I would like to use as a video, music 
player and sometimes to check my emails. There is a remote control connected to 
it and is detected as a serial keyboard. Now I want the xorg-server not to 
process events coming from this keyboard. I also have a bluetooth keyboard 
that I want to connect to that system and events coming from this keyboard 
should be processed.

So, is it possible to deactivate one keyboard?

Thanks for help
-- 
GMX FreeMail: 1 GB Postfach, 5 E-Mail-Adressen, 10 Free SMS.
Alle Infos und kostenlose Anmeldung: http://www.gmx.net/de/go/freemail
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-29 Thread Mike Edenfield

Mick wrote:

On Tuesday 29 May 2007 22:04, Paul Varner wrote:

On Fri, 2007-05-25 at 20:14 -0700, maxim wexler wrote:

[EMAIL PROTECTED] ~ $ ls /
ls: cannot open directory /: Permission denied
[EMAIL PROTECTED] ~ $

What does 'ls -ld /' and 'ls -ld /etc' return?

Both of them should look like:
drwxr-xr-x 20 root root 4096 May 29 04:40 /
drwxr-xr-x 56 root root 4096 May 29 11:39 /etc


Oops! mine looks like this:

# ls -ld /   
drwxrwxrwt 22 root root 648 Apr  6 18:44 /


What's wrong here?

PS. I do not suffer from Maxim's problem, but clearly something is wrong with 
my access rights on the root directory?


Having root world-writeable looks a bit suspicious, 
especially if you don't remember doing it yourself. :)


The 't' bit on a directory just means that deletes in that 
directory are restricted to the superuser or file owner (as 
opposed to anyone with +w permissions to the directory). 
I'm not sure why that would affect sudo, or ls for that 
matter, unless it's something funny with how opendir() works?


You could try turning off the odd permsisions:

chmod o-wt /
chmod g-w /

and see if anything changes.

--
-- Mike

Still using IE? Get Firefox!
http://www.spreadfirefox.com/?q=affiliatesid=6492t=1
--
[EMAIL PROTECTED] mailing list



[gentoo-user] OT - spamassassin not rewriting subject headers

2007-05-29 Thread Michael Sullivan
I'm having a problem.  I'm running spamassassin with exim:

baby ~ # emerge -pv exim spamassassin

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

Calculating dependencies... done!
[ebuild   R   ] mail-mta/exim-4.67  USE=exiscan exiscan-acl ldap mysql
pam perl sasl ssl syslog tcpd -X -dnsdb -domainkeys -dovecot-sasl
-gnutls -ipv6 -lmtp -mailwrapper -mbox -mbx -nis -postgres -radius -spf
-sqlite -srs 0 kB 
[ebuild   R   ] mail-filter/spamassassin-3.1.8-r1  USE=berkdb doc mysql
ssl -ipv6 -ldap -postgres -qmail -sqlite -tools 980 kB 

and I've finally gotten spamassassin to add X-Spam headers to potential
spammish emails, but it's not rewriting the Subject header.  Here's the
ACL from /etc/exim/exim.conf:

acl_check_data:

  # Deny if the message contains a virus. Before enabling this check,
you
  # must install a virus scanner and set the av_scanner option above.
  #
#  denymalware= *
#  message= This message contains a virus ($malware_name).

  # Add headers to a message if it is judged to be spam. Before enabling
this,
  # you must install SpamAssassin. You may also need to set the
spamd_address
  # option above.
  #

  warnspam   = nobody
  add_header = X-Spam_score: $spam_score\n\
  X-Spam_score_int: $spam_score_int\n\
  X-Spam_bar: $spam_bar\n\
  X-Spam_report: $spam_report

  # Accept the message.

accept


Here's my /etc/mail/spamassassin/local.cf:

baby ~ # cat /etc/mail/spamassassin/local.cf
# This is the right place to customize your installation of
SpamAssassin.
#
# See 'perldoc Mail::SpamAssassin::Conf' for details of what can be
# tweaked.
#
# Only a small subset of options are listed below
#
###

#   Add *SPAM* to the Subject header of spam e-mails
#
rewrite_header Subject *SPAM*


#   Save spam messages as a message/rfc822 MIME attachment instead of
#   modifying the original message (0: off, 2: use text/plain instead)
#
report_safe 0


#   Set which networks or hosts are considered 'trusted' by your mail
#   server (i.e. not spammers)
#
#trusted_networks 70.234.122.


#   Set file-locking method (flock is not safe over NFS, but is faster)
#
lock_method flock


#   Set the threshold at which a message is considered spam (default:
5.0)
#
required_score 5.0


#   Use Bayesian classifier (default: 1)
#
use_bayes 1


#   Bayesian classifier auto-learning (default: 1)
#
bayes_auto_learn 1


#   Set headers which may provide inappropriate cues to the Bayesian
#   classifier
#
# bayes_ignore_header X-Bogosity
# bayes_ignore_header X-Spam-Flag
# bayes_ignore_header X-Spam-Status
#
#
header CITIBANK Body =~ /Citi/
score -100

header YAHOOGROUPS Reply-To =~ /yahoogroups.com/
score -100

So why isn't it rewriting the Subject header?

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Switching to Bellsouth dial-up, trying to anyway. :-(

2007-05-29 Thread Dale
Hi,

I'm trying to switch ISPs over to Bell South.  I can not get it to
connect up though.  I have tried wvdial and Kppp with no luck.  This is
what I am getting. 

 [EMAIL PROTECTED] / # wvdial
 WvDial*1: WvDial: Internet dialer version 1.56
 WvDial*1: Initializing modem.
 WvDial*1: Sending: ATZ
 WvDial Modem*1: ATZ
 WvDial Modem*1: OK
 WvDial*1: Sending: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 WvDial Modem*1: ATQ0 V1 E1 S0=0 C1 D2 +FCLASS=0
 WvDial Modem*1: OK
 WvDial*1: Modem initialized.
 WvDial*1: Sending: ATDT*70,4952462
 WvDial*1: Waiting for carrier.
 WvDial Modem*1: ATDT*70,4952462
 WvDial Modem*1: CONNECT 26400/V34/NONE
 WvDial*1: Carrier detected.  Waiting for prompt.
 WvDialNotice: Don't know what to do!  Starting pppd and hoping for
 the best.
 WvDialNotice: Starting pppd at Tue May 29 17:57:20 2007
 WvDialNotice: Pid of pppd: 15088
 WvDial*1: Using interface ppp0
 WvDial*1: pppd: ([06][08][18][06][08]
 WvDial*1: pppd: ([06][08][18][06][08]
 WvDial*1: pppd: ([06][08][18][06][08]
 WvDial*1: pppd: ([06][08][18][06][08]
 WvDial*1: pppd: ([06][08][18][06][08]
 WvDial*1: Disconnecting at Tue May 29 17:57:50 2007
 WvDial*1: The PPP daemon has died: A modem hung up the phone (exit
 code = 16)
 WvDial*1: man pppd explains pppd error codes in more detail.
 WvDialNotice: Try again and look into /var/log/messages and the
 wvdial and pppd man pages for more information.
 WvDialNotice: Auto Reconnect will be attempted in 5 seconds

From /var/log/messages

 May 29 17:53:48 smoker pppd[11949]: pppd 2.4.4 started by root, uid 0
 May 29 17:53:48 smoker pppd[11949]: Using interface ppp0
 May 29 17:53:48 smoker pppd[11949]: Connect: ppp0 -- /dev/ttyS1
 May 29 17:54:18 smoker pppd[11949]: LCP: timeout sending Config-Requests
 May 29 17:54:18 smoker pppd[11949]: Connection terminated.
 May 29 17:54:18 smoker pppd[11949]: Modem hangup
 May 29 17:54:18 smoker pppd[11949]: Exit.
 May 29 17:55:35 smoker pppd[27516]: pppd 2.4.4 started by root, uid 0
 May 29 17:55:35 smoker pppd[27516]: Using interface ppp0
 May 29 17:55:35 smoker pppd[27516]: Connect: ppp0 -- /dev/ttyS1
 May 29 17:56:05 smoker pppd[27516]: LCP: timeout sending Config-Requests
 May 29 17:56:05 smoker pppd[27516]: Connection terminated.
 May 29 17:56:05 smoker pppd[27516]: Modem hangup
 May 29 17:56:05 smoker pppd[27516]: Exit.

When I tried to use Kppp, I got this error:

 May 29 17:59:29 smoker pppd[2131]: pppd 2.4.4 started by dale, uid 1000
 May 29 17:59:29 smoker pppd[2131]: using channel 403
 May 29 17:59:29 smoker pppd[2131]: Using interface ppp0
 May 29 17:59:29 smoker pppd[2131]: Connect: ppp0 -- /dev/ttyS1
 May 29 17:59:29 smoker pppd[2131]: sent [LCP ConfReq id=0x1 asyncmap
 0x0 magic 0xe7380598 pcomp accomp]
 May 29 17:59:32 smoker pppd[2131]: sent [LCP ConfReq id=0x1 asyncmap
 0x0 magic 0xe7380598 pcomp accomp]
 May 29 17:59:35 smoker pppd[2131]: sent [LCP ConfReq id=0x1 asyncmap
 0x0 magic 0xe7380598 pcomp accomp]
 May 29 17:59:38 smoker pppd[2131]: sent [LCP ConfReq id=0x1 asyncmap
 0x0 magic 0xe7380598 pcomp accomp]
 May 29 17:59:41 smoker pppd[2131]: sent [LCP ConfReq id=0x1 asyncmap
 0x0 magic 0xe7380598 pcomp accomp]
 May 29 17:59:44 smoker pppd[2131]: sent [LCP ConfReq id=0x1 asyncmap
 0x0 magic 0xe7380598 pcomp accomp]
 May 29 17:59:47 smoker pppd[2131]: sent [LCP ConfReq id=0x1 asyncmap
 0x0 magic 0xe7380598 pcomp accomp]
 May 29 17:59:50 smoker pppd[2131]: sent [LCP ConfReq id=0x1 asyncmap
 0x0 magic 0xe7380598 pcomp accomp]
 May 29 17:59:53 smoker pppd[2131]: sent [LCP ConfReq id=0x1 asyncmap
 0x0 magic 0xe7380598 pcomp accomp]
 May 29 17:59:56 smoker pppd[2131]: sent [LCP ConfReq id=0x1 asyncmap
 0x0 magic 0xe7380598 pcomp accomp]
 May 29 17:59:59 smoker pppd[2131]: LCP: timeout sending Config-Requests
 May 29 17:59:59 smoker pppd[2131]: Connection terminated.
 May 29 17:59:59 smoker pppd[2131]: Modem hangup
 May 29 17:59:59 smoker pppd[2131]: Exit.
I did a google search and nothing made sense to me.  I did try adding
lcp-max-configure 30 to /etc/ppp/options though.  Still no go.

Anybody have a clue on how to fix this??

Thanks 

Dale

 :-)  :-)


-- 
www.myspace.com/-remove-me-dalek1967

Copy n paste then remove the -remove-me- part.

-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Mail server Active Directory authentication

2007-05-29 Thread Kacper Goc

Hello,

I'm looking for a solution to intergrate mail server like qmail or postfix
with AD for user authentication. I tried google but didnt found anything
about it. Please help.

Thanks in advance.
Kacper Goc

--
Navigare necesse est, vivere non est necesse.


Re: [gentoo-user] Mail server Active Directory authentication

2007-05-29 Thread kashani

Kacper Goc wrote:

Hello,

I'm looking for a solution to integrate mail server like qmail or 
postfix with AD for user authentication. I tried google but didn't found 
anything about it. Please help.


Postfix - LDAP - AD

That would be the setup I'd use. You'd need a how-to for exporting AD to 
LDAP and then one for Postfix accounts in LDAP. Both of those should 
exist in many different forms though it's possible that a complete 
AD/LDAP/Postfix how-to might exist. Try http://gentoo-wiki.org/ for 
Gentoo specific how-tos.


kashani
--
[EMAIL PROTECTED] mailing list



RE: [gentoo-user] wifi statup backgrounds

2007-05-29 Thread Adam Carter
  When i start my wifi network (with wpa_supplicant in debug mode) it
  backgrounds and I cant see the rest of the debug messages. 
  How do i stop the backgrounding?
 
 Make sure of two things:
 
 1. At /etc/conf.d/net, you add the -d to the line
 
 wpa_supplicant_wlan0=whatever -d

I already have wpa_supplicant_ath0=- -Dmadwifi
 
 2. That you start the net.wlan0 service as
 
 /etc/init.d/net.wlan0 --verbose start

That doesn't seem to make any difference. I still get;
Added interface ath0
Daemonize..
[ ok ]
 *   Starting wpa_cli on ath0 ...
[ ok ]
 * Backgrounding ...

 Optionally, you can also run
 
 tail -f /var/log/everything/current 

I don't seem to have that file, and I only get hardware related stuff in
my messages file.

Any other ideas? The ath0 interface also starts itself automatically,
even though I havent set that up with rc-update.

Cheers,
Adam
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Tim Allinghan

Denis wrote:

I'm curious to know your approach to keeping your Gentoo box current
without it becoming a full-time job.  I'm not talking about
maintaining servers - just your daily driver, so to say.

How often do you sync with the current portage tree and compare it
your versions in world?  Should one do this once a week?  Once in
two weeks?

How often to you update major components, like Xorg, kernel, and
system tool chain?  As soon as new things become available, or, say,
once a month or so?

The reason I ask is because I often don't have a lot of time to devote
to system administration on a regular basis but do want to keep my box
updated as much as possible.  How do some of you non-developers
balance system administration with your day job?
Last thing before I hop off each night, emerge --sync followed by a -pv 
-uDN world, if I'm happy I fire it up and head to bed :)

--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Denis

On 5/29/07, Tim Allinghan [EMAIL PROTECTED] wrote:


Last thing before I hop off each night, emerge --sync followed by a -pv
-uDN world, if I'm happy I fire it up and head to bed :)


I'm sure that makes for particularly sweet dreams ;-)

One thing I've wondered about...  When you update X or nvidia drivers,
do you need to kill X before running emerge?

I usually dread kernel updates because then I have to go through
kernel menuconfig all over again, and for me, that takes some time.  I
guess one can reuse the old .config file, but I understand it's not
always a safe thing to do.  Is it reasonably ok to wait for every
major 2.6.x release to update, or is it necessary to update on every
minor 2.6.x.y release also?
--
[EMAIL PROTECTED] mailing list



[gentoo-user] seg fault emerging abiword

2007-05-29 Thread Mat Harris
Hi All,

I found Gentoo a couple of weeks ago after using redhat and debian for a 
while. So far I love it, I've managed to get everything configured the way I 
want and it seems so much more stable.

My only little problem is that when I try to emerge AbiWord (2.4.5-r1), it 
compiles fine but when it tries to install to files into the real filesystem 
it segfaults like so:

 /usr/share/AbiSuite-2.4/AbiWord/system.profile-zh-CN
--- /usr/share/AbiSuite-2.4/AbiWord/glade/
 /usr/share/AbiSuite-2.4/AbiWord/glade/xap_UnixDlg_Image.glade
 /usr/share/AbiSuite-2.4/AbiWord/glade/xap_UnixDlg_WindowMore.glade
 /usr/share/AbiSuite-2.4/AbiWord/glade/ap_UnixDialog_New.glade
 /usr/share/AbiSuite-2.4/AbiWord/glade/xap_UnixDlg_Encoding.glade
 /usr/share/AbiSuite-2.4/AbiWord/glade/xap_UnixDlg_Language.glade
 /usr/share/AbiSuite-2.4/AbiWord/glade/ap_UnixDialog_Options_ColorSel.glade
 /usr/share/AbiSuite-2.4/AbiWord/glade/ap_UnixDialog_Options.glade
 /usr/share/AbiSuite-2.4/AbiWord/glade/ap_UnixDialog_WordCount.glade
 /usr/share/AbiSuite-2.4/AbiWord/glade/ap_UnixDialog_Styles.glade
Segmentation fault



I can't find anything in the emerge logs, it only mentions going to merge 
abiword then nothing. I have searched on google but am unable to find 
anything relevant. Any advise would be greatly appreciated.

Mat Harris


pgpwJvK1otnZY.pgp
Description: PGP signature


Re: [gentoo-user] Re: two identical /etc/sudoers -- only one works

2007-05-29 Thread maxim wexler
 m450 backups # ls -al /
 total 72
 drwxr-xr-x 18 root root  4096 Apr 29 13:38 .
 drwxr-xr-x 18 root root  4096 Apr 29 13:38 ..
 drwxr-xr-x  2 root root  4096 May 19 10:36 bin
 drwxr-xr-x  2 root root  4096 May 17 18:07 boot
 drwxr-xr-x 16 root root 13460 May 25 14:39 dev
 drwxr-xr-x 57 root root  4096 May 22 01:51 etc
 drwxr-xr-x  7 root root  4096 May  1 00:08 home
 drwxr-xr-x  8 root root  4096 May 19 22:29 lib
 drwx--  2 root root 16384 Apr 26 15:35
 lost+found
 drwxr-xr-x  5 root root  4096 May  6 23:46 mnt
 drwxr-xr-x  4 root root  4096 Apr 29 02:47 opt
 dr-xr-xr-x 72 root root 0 May 17 14:13 proc
 drwx--  6 root root  4096 May 27 13:13 root
 drwxr-xr-x  2 root root  4096 May 19 22:29 sbin
 drwxr-xr-x 11 root root 0 May 17 14:13 sys
 drwxrwxrwt 11 root root  4096 May 27 14:35 tmp
 drwxr-xr-x 15 root root  4096 May 19 13:42 usr
 drwxr-xr-x 14 root root  4096 Apr 28 20:36 var
 
   Note the permissions for /
 drwxr-xr-x 18 root root  4096 Apr 29 13:38 .
 
   Everybody needs to have x in order to even read
 any files in there.
 As root, try...
 
 chmod 755 /

 My permissions are just like yours. Nevertheless I
did what you suggested and ... hey, presto! permission
is no longer denied. sudo works too. 

Thanks Walter!

mw




   
Be
 a better Globetrotter. Get better travel answers from someone who knows. 
Yahoo! Answers - Check it out.
http://answers.yahoo.com/dir/?link=listsid=396545469
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Why doesn't esearch find exact packages? [Bug: 180307]

2007-05-29 Thread Daevid Vincent
Is this a known issue with a fix coming or is this by design (which
seems shockingly short-sighted). I searched bugs.gentoo.org for quite a
while and didn't see anything like this amongst the bajillion other
portage bugs, so I added a new one: 
http://bugs.gentoo.org/show_bug.cgi?id=180307

Why can't I just search for an exact package (like to find out which
versions I have installed/available, or other info).

daevid ~ # esearch python | less
[ Results for search key : python ]
[ Applications found : 54 ]

*  dev-lang/python
  Latest version available: 2.4.4-r4
  Latest version installed: 2.4.4
  Size of downloaded files: [no/bad digest]
  Homepage:http://www.python.org/
  Description: Python is an interpreted, interactive,
object-oriented programming language.
  License: PSF-2.2

daevid ~ # esearch dev-lang/python
[ Results for search key : dev-lang/python ]
[ Applications found : 0 ] 
 

Yes, I can use eix, but I don't have this on all my boxes, nor do I want
to install it and maintain yet another package cache and all that (for
example, on a dev VMWare guest that I want to keep as small as
possible).

daevid ~ # eix dev-lang/python
[U] dev-lang/python 
 Available versions:  
(2.3)   2.3.5-r2 2.3.5-r3 ~2.3.6 ~2.3.6-r2
(2.4)   2.4.3-r1 2.4.3-r4 2.4.4 2.4.4-r4
(2.5)   [M]~2.5-r2 [M]~2.5.1-r2
 Installed:   2.3.5-r2(2.3)(17:50:44 09/10/05)(X berkdb
-bootstrap -build -doc gdbm ipv6 ncurses -nocxx readline ssl -tcltk
-ucs2)
  2.4.4(2.4)(00:06:19 05/12/07)(berkdb
-bootstrap -build -doc gdbm ipv6 ncurses -nocxx readline ssl -tk -ucs2)
 Homepage:http://www.python.org/
 Description: Python is an interpreted, interactive,
object-oriented programming language.



ÐÆ5ÏÐ 


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Trying to mount a bad disk

2007-05-29 Thread sean
Mick wrote:
 On Sunday 27 May 2007 14:36, Albert Hopkins wrote:
 On Sun, 2007-05-27 at 09:26 -0400, sean wrote:
 I have a Windows XP driver here that belongs to a friend that just
 crashed.

 I am trying to figure out if there is some way I can force the drive
 to
 mount on my system so that I can get some data off it for her.

 Not having much luck, would anyone have any tips as to how I might be
 able to make this happen?
 If the drive experienced a head crash, then there is pretty much nothing
 you can do.
 
 On the other hand if it is a matter of an MS OS crash, just use a LiveCD and 
 save the data onto a DVD/CDROM, CF memory stick, or a server.
 

Tried something like that, no good.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Trying to mount a bad disk

2007-05-29 Thread sean
Alan McKinnon wrote:
 On Sunday 27 May 2007, Albert Hopkins wrote:
 On Sun, 2007-05-27 at 09:26 -0400, sean wrote:
 I have a Windows XP driver here that belongs to a friend that just
 crashed.

 I am trying to figure out if there is some way I can force the
 drive to
 mount on my system so that I can get some data off it for her.

 Not having much luck, would anyone have any tips as to how I might
 be able to make this happen?
 If the drive experienced a head crash, then there is pretty much
 nothing you can do.
 
 
 Wrong.
 
 If the drive suffered a head crash, you would be amazed what data 
 recovery experts can do.

They are very expensive, if I recall correctly?
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Trying to mount a bad disk

2007-05-29 Thread sean
Albert Hopkins wrote:
 On Sun, 2007-05-27 at 09:26 -0400, sean wrote:
 I have a Windows XP driver here that belongs to a friend that just
 crashed.

 I am trying to figure out if there is some way I can force the drive
 to
 mount on my system so that I can get some data off it for her.

 Not having much luck, would anyone have any tips as to how I might be
 able to make this happen? 
 
 If the drive experienced a head crash, then there is pretty much nothing
 you can do.  
 --
 Albert W. Hopkins
 

I think it is such a crash.
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Ryan Sims

On 5/29/07, Denis [EMAIL PROTECTED] wrote:

On 5/29/07, Tim Allinghan [EMAIL PROTECTED] wrote:

 Last thing before I hop off each night, emerge --sync followed by a -pv
 -uDN world, if I'm happy I fire it up and head to bed :)

I'm sure that makes for particularly sweet dreams ;-)

One thing I've wondered about...  When you update X or nvidia drivers,
do you need to kill X before running emerge?


I've never done it *before* the emerge, but I usually restart after
the merge, like any other service.  Only time I've ever had a problem
with a program running while emerging is with a glibc upgrade a while
back screwing with a running Firefox, restarting Firefox solved
things.


I usually dread kernel updates because then I have to go through
kernel menuconfig all over again, and for me, that takes some time.  I
guess one can reuse the old .config file, but I understand it's not
always a safe thing to do.  Is it reasonably ok to wait for every
major 2.6.x release to update, or is it necessary to update on every
minor 2.6.x.y release also?


I use 'gunzip -c /proc/config.gz  .config  make oldconfig'
consistently, never had a problem.  I always keep a working kernel in
grub.conf in case of screwups, and I read the options very carefully
before selecting.  One caveat:  going from 2.4 to 2.6 I reconfigured
by hand from scratch.  Whenever we get to 2.8 (or whatever the next
major release is), I'll do that again.

--
Ryan W Sims
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Michael Sullivan
On Tue, 2007-05-29 at 22:20 -0400, Ryan Sims wrote:
 On 5/29/07, Denis [EMAIL PROTECTED] wrote:
  On 5/29/07, Tim Allinghan [EMAIL PROTECTED] wrote:
 
   Last thing before I hop off each night, emerge --sync followed by a -pv
   -uDN world, if I'm happy I fire it up and head to bed :)
 
  I'm sure that makes for particularly sweet dreams ;-)
 
  One thing I've wondered about...  When you update X or nvidia drivers,
  do you need to kill X before running emerge?
 
 I've never done it *before* the emerge, but I usually restart after
 the merge, like any other service.  Only time I've ever had a problem
 with a program running while emerging is with a glibc upgrade a while
 back screwing with a running Firefox, restarting Firefox solved
 things.
 
  I usually dread kernel updates because then I have to go through
  kernel menuconfig all over again, and for me, that takes some time.  I
  guess one can reuse the old .config file, but I understand it's not
  always a safe thing to do.  Is it reasonably ok to wait for every
  major 2.6.x release to update, or is it necessary to update on every
  minor 2.6.x.y release also?
 
 I use 'gunzip -c /proc/config.gz  .config  make oldconfig'
 consistently, never had a problem.  I always keep a working kernel in
 grub.conf in case of screwups, and I read the options very carefully
 before selecting.  One caveat:  going from 2.4 to 2.6 I reconfigured
 by hand from scratch.  Whenever we get to 2.8 (or whatever the next
 major release is), I'll do that again.

If you wanted to shorten your command, I believe zcat does the exact
same thing as gunzip -c
-Michael Sullivan-
 
 -- 
 Ryan W Sims

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Denis

On 5/29/07, Ryan Sims [EMAIL PROTECTED] wrote:


I use 'gunzip -c /proc/config.gz  .config  make oldconfig'
consistently, never had a problem.  I always keep a working kernel in


Oh neat-o!  I didn't know there was a copy of the running config in /proc...

Does this basically just insert the current kernel configuration
inside the menuconfig interface of the new kernel as the starting
point?  How does this play with the new kernel options that have since
appeared or those that have been eliminated?  I suppose you still have
to check over every menu in the new kernel to make sure you're not
missing anything...
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Trying to mount a bad disk

2007-05-29 Thread sean
Mark Kirkwood wrote:
 sean wrote:
 I have a Windows XP driver here that belongs to a friend that just
 crashed.

 I am trying to figure out if there is some way I can force the drive to
 mount on my system so that I can get some data off it for her.

 Not having much luck, would anyone have any tips as to how I might be
 able to make this happen?
 
 What happened when you tried to mount it (and is it formatted NTFS or
 FATXX)?
 
 If the disk has real errors (i.e bad sectors as opposed to
 software/windows problems), then app-forensics/autopsy might get the
 important user data off.
 
 Cheers
 
 Mark

Tried to mount it as NTFS.

Not familiar with this software, will have to check it out.

Thanks
Sean
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Kevin O'Gorman

On 5/29/07, Denis [EMAIL PROTECTED] wrote:

I usually dread kernel updates because then I have to go through
kernel menuconfig all over again, and for me, that takes some time.  I
guess one can reuse the old .config file, but I understand it's not
always a safe thing to do.  Is it reasonably ok to wait for every
major 2.6.x release to update, or is it necessary to update on every
minor 2.6.x.y release also?


You can use the old .config safely if you make oldconfig before
anything else.  It will prompt you for replies to any new things,
and quietly ditch anything it doesn't recognize.  I've been doing this
for years.  I mostly reply no to all the prompts, but sometimes the
new stuff is interesting.

++ kevin


--
Kevin O'Gorman, PhD
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] FW: mail-mta/exim (is blocking mail-mta/ssmtp-2.61-r2) (more info added)

2007-05-29 Thread Boyd Stephen Smith Jr.
On Tuesday 29 May 2007 06:51:12 Bo Ørsted Andresen wrote:
 On Tuesday 29 May 2007 10:32:23 Daevid Vincent wrote:
  *  mail-mta/exim
Latest version available: 4.67
Latest version installed: 4.54
Size of downloaded files: [no/bad digest]
Homepage:http://www.exim.org/
 
  So I have this in my package.mask:
  =mail-mta/exim-4.55

 [SNIP]

  [nomerge  ] sys-process/vixie-cron-4.1-r10 [4.1-r9]
  [ebuild  N]  mail-mta/ssmtp-2.61-r2  USE=ipv6 ssl -mailwrapper

 vixie-cron has a run-time dependency on virtual/mta which can be satisfied
 by both exim and ssmtp (and 8 other packages in the tree). ssmtp is the
 default provider.  It matters despite
 the nomerge because it's a run-time dependency rather than build-time.

 You have at least four options.

Another, less tenable, option is to use paludis as your package manager.  It 
will satisfy dependencies (including virtuals) with installed packages.  
Also, paludis's --show-reasons summary option is usually easier to understand 
and more informative than emerge/portage's --tree option.

However, paludis does have some missing features that may be critical for your 
environment: binary packages (both building and using) and a revdep-rebuild 
equivalent (although this can be hacked around) AND you can't simply switch 
between using paludis and emerge/portage; they use the same VDB, but 
repositories are configured differently and paludis can perform some caching 
that emerge/portage will not use/update.  It also runs the ebuild test phase 
by default which results in more merge failures and thus more required 
interaction; you can turn that off if you desire.

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


pgp5UWuEL5RKe.pgp
Description: PGP signature


Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Boyd Stephen Smith Jr.
On Tuesday 29 May 2007 09:01:39 Denis wrote:
 I'm curious to know your approach to keeping your Gentoo box current
 without it becoming a full-time job.  I'm not talking about
 maintaining servers - just your daily driver, so to say.

In server-land I would perform all upgrades on a test system before rolling to 
production anyway.

 How often do you sync with the current portage tree and compare it
 your versions in world?

I sync, update system and world, and then revdep-rebuild daily.  I run ~amd64.
Unfortunately, this can get you into some sticky situations: my pdns still 
doesn't like my new postgres.

If you are running stable, it's much less likely to result in bad situations, 
and you should be able to put off upgrades much longer.  A daily (or weekly) 
sync is still a good idea IMHO; having an up-to-date tree is rarely a 
disadvantage.

 How often to you update major components, like Xorg, kernel, and
 system tool chain?

I live on the edge and treat them like any other package.  Well, 'cept the 
kernel, which I only actually compile and reboot into occasionally.  If you 
don't have time to wrestle with issues, but off the upgrade.  Nothing sucks 
worse than not having the time to fix X, but needing it to work/play and 
having to broken.

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


pgp07TFMJOymi.pgp
Description: PGP signature


Re: [gentoo-user] how do you keep up with system administration?

2007-05-29 Thread Denis

While we're on the subject of administration, I have a question about
emerge.  Sometimes emerge would display important information in green
or yellow stars after it's finished merging a package - such as
warnings or valuable tips.  However, if emerge is processing several
packages in a chain, it flashes that information for several seconds
and then moves right along to the next package, and usually I'm not
fast enough to read/remember it.  Can this information be retrieved?
--
[EMAIL PROTECTED] mailing list