Re: [gentoo-user] tar and huge tarballs used for back-ups

2008-07-12 Thread Dirk Heinrichs
Am Freitag, 11. Juli 2008 schrieb Dirk Heinrichs:
 Am Freitag, 11. Juli 2008 schrieb Daniel Iliev:
  Any help will be much appreciated.
 
  [1] http://bugs.gentoo.org/show_bug.cgi?id=230813

 Will take a look this weekend.

Don't even get it compiled manually :-(

Bye...

Dirk


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


Re: [gentoo-user] Installing Gentoo from USB stick

2008-07-12 Thread Alan McKinnon
On Saturday 12 July 2008, Albert Hopkins wrote:
 On Fri, 2008-07-11 at 20:33 -0600, Joseph wrote:
  How did you transfer bootable CD into a stick?

 The short answer is who says it has to be a bootable CD image?. 
 There are plenty of USB-based linux images out there... just use one
 of those.

I've done it this way too. All you really need is a system running that 
can chroot and unpack the stage 3 and portage tarballs. Like Albert I 
happened to use RIPLinux - very small, supports just about everything.

You don't need a Gentoo system to install Gentoo, all you need is 
something that can deal with the filesystem you want to use, tar and 
zip/bzip. Theoretically, even Windows could do it.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



[gentoo-user] [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0)

2008-07-12 Thread Kaushal Shriyan
Hi

I am curious to know what does this means [I--] [ ~]
net-analyzer/ndoutils-1.4_beta7 (0)

I ???
~ ???
(0) ???

in the [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0) line

Thanks and Regards

Kaushal


Re: [gentoo-user] [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0)

2008-07-12 Thread Alan McKinnon
On Saturday 12 July 2008, Kaushal Shriyan wrote:
 Hi

 I am curious to know what does this means [I--] [ ~]
 net-analyzer/ndoutils-1.4_beta7 (0)

 I ???
 ~ ???
 (0) ???

 in the [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0) line

What command produced this output?

And did you read the man page for said command?



-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0)

2008-07-12 Thread Sebastian Günther
* Kaushal Shriyan ([EMAIL PROTECTED]) [12.07.08 09:47]:
 Hi
 
 I am curious to know what does this means [I--] [ ~]
 net-analyzer/ndoutils-1.4_beta7 (0)
 
 I ???

This means it is installed on your box.

 ~ ???
This means it is from the unstable tree

 (0) ???
 
This means it is in slot 0.

 Thanks and Regards
 
 Kaushal

HTH
Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpTAIKq61NBc.pgp
Description: PGP signature


Re: [gentoo-user] [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0)

2008-07-12 Thread Sebastian Günther
* Alan McKinnon ([EMAIL PROTECTED]) [12.07.08 10:36]:
 On Saturday 12 July 2008, Kaushal Shriyan wrote:
  Hi
 
  I am curious to know what does this means [I--] [ ~]
  net-analyzer/ndoutils-1.4_beta7 (0)
 
  I ???
  ~ ???
  (0) ???
 
  in the [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0) line
 
 What command produced this output?
 
equery list

 And did you read the man page for said command?
 
I don't know if he did, but even if he did, the outcomst is not 
explained there.

Sebastian

-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpJHARSEMLw5.pgp
Description: PGP signature


Re: [gentoo-user] [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0)

2008-07-12 Thread Kaushal Shriyan
On Sat, Jul 12, 2008 at 2:38 PM, Sebastian Günther 
[EMAIL PROTECTED] wrote:

 * Kaushal Shriyan ([EMAIL PROTECTED]) [12.07.08 09:47]:
  Hi
 
  I am curious to know what does this means [I--] [ ~]
  net-analyzer/ndoutils-1.4_beta7 (0)
 
  I ???

 This means it is installed on your box.

  ~ ???
 This means it is from the unstable tree

  (0) ???
 
 This means it is in slot 0.

  Thanks and Regards
 
  Kaushal

 HTH
 Sebastian

 --
   Religion ist das Opium des Volkes.   Karl Marx

  [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]

Hi Sebastian

Is there a documentation for knowing this variables, and what does slot 0
means

Thanks and Regards

Kaushal


Re: [gentoo-user] [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0)

2008-07-12 Thread Sebastian Günther
* Kaushal Shriyan ([EMAIL PROTECTED]) [12.07.08 11:36]:
 Hi Sebastian
 
 Is there a documentation for knowing this variables, and what does slot 0
 means

http://www.gentoo.org/doc/de/gentoolkit.xml
http://www.gentoo.org/doc/en/handbook/handbook-x86.xml?part=2chap=1

As a beginning, and there is google which will help you further on.

 
 Thanks and Regards
 
 Kaushal

Sebastian
-- 
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]


pgpA1XLRvywJf.pgp
Description: PGP signature


Re: [gentoo-user] [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0)

2008-07-12 Thread Dale

Kaushal Shriyan wrote:
On Sat, Jul 12, 2008 at 2:38 PM, Sebastian Günther 
[EMAIL PROTECTED] mailto:[EMAIL PROTECTED] wrote:


* Kaushal Shriyan ([EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]) [12.07.08 09:47]:
 Hi

 I am curious to know what does this means [I--] [ ~]
 net-analyzer/ndoutils-1.4_beta7 (0)

 I ???

This means it is installed on your box.

 ~ ???
This means it is from the unstable tree

 (0) ???

This means it is in slot 0.

 Thanks and Regards

 Kaushal

HTH
Sebastian

--
  Religion ist das Opium des Volkes.   Karl Marx

 [EMAIL PROTECTED]@N GÜNTHER mailto:[EMAIL PROTECTED]
mailto:[EMAIL PROTECTED]

Hi Sebastian

Is there a documentation for knowing this variables, and what does 
slot 0 means


Thanks and Regards

Kaushal



Hi,

I would say man emerge and man portage for a start.  As to slots, here 
is how I understand it.  For example, KDE currently has two slots:  3.5 
and 4.  Mine lists it this way:


[EMAIL PROTECTED] / # equery list -p kdelibs
[ Searching for package 'kdelibs' in all categories among: ]
* installed packages
[I--] [  ] kde-base/kdelibs-3.5.9-r4 (3.5)
* Portage tree (/usr/portage)
[-P-] [  ] kde-base/kdelibs-3.5.8-r4 (3.5)
[-P-] [ ~] kde-base/kdelibs-3.5.9 (3.5)
[-P-] [ ~] kde-base/kdelibs-3.5.9-r1 (3.5)
[-P-] [ ~] kde-base/kdelibs-3.5.9-r2 (3.5)
[-P-] [ ~] kde-base/kdelibs-3.5.9-r3 (3.5)
[-P-] [M~] kde-base/kdelibs-4.0.4 (kde-4)
[-P-] [M~] kde-base/kdelibs-4.0.5 (kde-4)
[EMAIL PROTECTED] / #

The first in the list is what I have installed, note the [I--] in the 
list.  The others are in portage but not installed.  If I recall 
correctly the [ ~] means it is keyworded.  The [M~] means it is 
keyworded and masked.  Although some do, including myself, it is not 
recommended to use masked or keyworded packages as they are not fully 
tested or may have issues.  I do use them sometimes myself but not for 
crucial stuff. 

The slots are at the end.  Note the (3.5) and (kde-4) at the end of each 
one, that is the slots designation for the packages.  If you choose, you 
can have both slots installed at the same time.


I think the output is pretty much the same for eix, equery and emerge.  
Someone correct me if I typed in a boo boo.


Dale

:-)  :-) 
--

gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tar and huge tarballs used for back-ups

2008-07-12 Thread Arttu V.
On 7/12/08, Dirk Heinrichs [EMAIL PROTECTED] wrote:
 Am Freitag, 11. Juli 2008 schrieb Dirk Heinrichs:
 Am Freitag, 11. Juli 2008 schrieb Daniel Iliev:
  Any help will be much appreciated.
 
  [1] http://bugs.gentoo.org/show_bug.cgi?id=230813

 Will take a look this weekend.

 Don't even get it compiled manually :-(

I took Daniel's ebuild from the bug and scrubbed it slightly. I'm no
pro in ebuilds either (they always get rewritten by some real dev :)
), so I dare not claim that I would have made it any better either,
only different. :)

Actually, splitpipe compiled pretty much as such on amd64 for me and
my only problems using the thing (writing files to media) were
figuring out the right device and command. Ok, something was written
correctly, but something wasn't. Upon restoring attempt,
splitpipe/joinpipe choked at the end of the first disc:

snip
UUID of this session is '8fb1a646f13a1d02 204d506d196884ab'
joinpipe: volume was started on Sat Jul 12 14:51:50 EEST 2008
joinpipe: found volume 1, as expected
Fatal: during read of a stretch of input: Input/output error

gzip: stdin: unexpected end of file
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
/snip

Files before that last one on the first disc were apparently restored
correctly, I checked by comparing with diff -r to the originals.
However, the last file that is split across discs and any later ones
were unrecoverable.

I'll see where to dump the couple coasters I just became the happy
owner of and then see if I get around later to try with cdrtools
instead of wodim (cdrkit). I'm afraid that if someone won't try that,
it'll be all FUD on cdrkit and bugs all over again (without us
actually knowing whether it really was, e.g., a PEBKAC/ID-10T-problem
at my end).

Ebuild is attached in the bug (#230813) if anyone wants to try this
further, e.g., on x86 or with dvds. I only tried on amd64 and with
CDR-80s.

-- 
Arttu V.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] tar and huge tarballs used for back-ups

2008-07-12 Thread Dirk Heinrichs
Am Samstag, 12. Juli 2008 schrieb Arttu V.:

 Actually, splitpipe compiled pretty much as such on amd64 for me

Hmm, maybe a compiler issue. Which gcc version are you using? I'm using 4.3.1.

Bye...

Dirk


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


Re: [gentoo-user] tar and huge tarballs used for back-ups

2008-07-12 Thread Arttu V.
On 7/12/08, Dirk Heinrichs [EMAIL PROTECTED] wrote:
 Am Samstag, 12. Juli 2008 schrieb Arttu V.:

 Actually, splitpipe compiled pretty much as such on amd64 for me

 Hmm, maybe a compiler issue. Which gcc version are you using? I'm using
 4.3.1.

gcc version 4.1.2 (Gentoo 4.1.2 p1.1)

-- 
Arttu V.
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0)

2008-07-12 Thread Alan McKinnon
On Saturday 12 July 2008, Sebastian Günther wrote:
   in the [I--] [ ~] net-analyzer/ndoutils-1.4_beta7 (0) line
 
  What command produced this output?

 equery list

That explains it. The output looked familiar but I tend to use eix for 
that purpose.

-- 
Alan McKinnon
alan dot mckinnon at gmail dot com

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Installing Gentoo from USB stick

2008-07-12 Thread Robert Bridge
On Sat, 12 Jul 2008 09:43:11 +0200
Alan McKinnon [EMAIL PROTECTED] wrote:

 You don't need a Gentoo system to install Gentoo, all you need is 
 something that can deal with the filesystem you want to use, tar and 
 zip/bzip. Theoretically, even Windows could do it.

Argh... Now I feel this urge to achieve that! 
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Installing Gentoo from USB stick

2008-07-12 Thread Dirk Heinrichs
Am Samstag, 12. Juli 2008 schrieb Robert Bridge:
 On Sat, 12 Jul 2008 09:43:11 +0200

 Alan McKinnon [EMAIL PROTECTED] wrote:
  You don't need a Gentoo system to install Gentoo, all you need is
  something that can deal with the filesystem you want to use, tar and
  zip/bzip. Theoretically, even Windows could do it.

 Argh... Now I feel this urge to achieve that!

I'm sure you can resist ;-)

Bye...

Dirk


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


[gentoo-user] DVD and changing permissions

2008-07-12 Thread Dale

Hi, again,

I just noticed a problem with my new DVD burner.  I posted this on the 
forums but no response as of yet.  This is the info that may help:


[I--] [  ] app-cdr/cdrtools-2.01.01_alpha34
[-P-] [  ] app-cdr/k3b-0.12.17
[I--] [  ] sys-fs/udev-119
[I--] [  ] app-misc/hal-info-20070618 (0)
[I--] [  ] sys-apps/hal-0.5.9.1-r3 (0)
[I--] [  ] sys-fs/udev-119 (0)

Also tried:

[-P-] [M~] app-cdr/cdrtools-2.01.01_alpha42 (0)

That didn't help either. I also disabled ivman with no change. I use KDE 
3.5.9 for my desktop.


I can see it as root but not as a user. Other things I have noticed. 
When no *DVD* is inserted:


[EMAIL PROTECTED] / # ls -al /media/
total 1
drwxr-xr-x  6 root root  248 2008-07-12 03:54 .
drwxr-xr-x 24 root root  560 2008-07-10 12:40 ..
drwxrwxr-x  2 root users  48 2006-10-25 06:23 floppy
-rw-r--r--  1 root root0 2008-07-12 03:43 .hal-mtab
-rw---  1 root root0 2008-07-12 03:54 .hal-mtab-lock
drwxrwxr-x  2 root users  48 2006-10-25 04:00 hdc
drwxrwxr-x  2 root users  48 2008-07-04 14:21 hdd
-rw-r--r--  1 root root0 2008-07-12 01:48 .keep_sys-apps_hal-0
[EMAIL PROTECTED] / #

When I have a *DVD* inserted I get this:

[EMAIL PROTECTED] / # ls -al /media/
total 3
drwxr-xr-x  6 root root  248 2008-07-12 03:54 .
drwxr-xr-x 24 root root  560 2008-07-10 12:40 ..
drwxrwxr-x  2 root users  48 2006-10-25 06:23 floppy
-rw-r--r--  1 root root0 2008-07-12 03:43 .hal-mtab
-rw---  1 root root0 2008-07-12 03:54 .hal-mtab-lock
drwxrwxr-x  2 root users  48 2006-10-25 04:00 hdc
d-  2 root root  112 2008-07-12 03:08 hdd
-rw-r--r--  1 root root0 2008-07-12 01:48 .keep_sys-apps_hal-0
[EMAIL PROTECTED] / #

It changes the permissions whenever I insert the DVD. I'm not sure if it 
is something that is on the DVD or if it is a mounting issue.  Here is 
my fstab line for the *DVD*:


/dev/hdd  /media/hddautonoauto,users0 0

and when a *DVD* is inserted mount reports this:

/dev/hdd on /media/hdd type udf (rw,noexec,nosuid,nodev)

I have a CD burner on here too. I basically set them both up the same 
way. The CD works just fine but the *DVD* does not.


Any ideas?

Dale

:-)  :-) 


--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] DVD and changing permissions

2008-07-12 Thread Neil Bothwick
On Sat, 12 Jul 2008 13:39:03 -0500, Dale wrote:

 It changes the permissions whenever I insert the DVD. I'm not sure if
 it is something that is on the DVD or if it is a mounting issue.  Here
 is my fstab line for the *DVD*:
 
 /dev/hdd  /media/hddautonoauto,users0 0

Unless you have a very good reason to leave this in place, remove it. HAL
based automounters do not need fstab, but it will override their defaults
if present. A desktop automounter will usually mount the device as the
user running it, that's certainly the case with KDE and should be with
ivman.

The changing permissions on the mount point is because they are now the
permissions of something else. When nothing is mounted there, the
permissions are those of the mount point on the parent filesystem, when
you mount something, they are the permissions of the root of the mounted
device.

Do other devices, such as USB sticks, mount correctly?


-- 
Neil Bothwick

Give me Liberty, fries, and two cokes to go! *CUT!*


signature.asc
Description: PGP signature


Re: [gentoo-user] Installing Gentoo from USB stick

2008-07-12 Thread Neil Bothwick
On Sat, 12 Jul 2008 09:43:11 +0200, Alan McKinnon wrote:

 You don't need a Gentoo system to install Gentoo, all you need is 
 something that can deal with the filesystem you want to use, tar and 
 zip/bzip. Theoretically, even Windows could do it.

Don't you need chroot too? I suppose you could install cygwin on Windows,
but anyone who goes that route has far too much time to kill.

I installed my Eee from an SD card containing EeexUbunbtu. As you say,
anything that gives you a working Linux system will serve as an install
platform.


-- 
Neil Bothwick

Am I ignorant or apathetic? I don't know and don't care!


signature.asc
Description: PGP signature


[gentoo-user] Simplistic bash-script to manage package.use

2008-07-12 Thread Mikko Husari

greetings earthlings,

i did not found (nor did i look for long enough) any tools/scripts to 
easily manage package.use file, so i did my own. now i started to think 
that, if there really is not any, my creation would be sufficient 
(although possibly buggy) for most users who wish to have easy control 
over package.use.


yes, i know this is not the best place to announce but, this is not an 
real announcement, this is an query for an superior solution which would 
show my creation to be useless/dublicate/stupid. (if mine is 
useless/stupid it would be nice, so i would not have to maintain it and 
i also could use some real software).


-- husku
#!/bin/bash

# This program is free software: you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
# the Free Software Foundation, either version 3 of the License, or
# (at your option) any later version.

# This program is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
# GNU General Public License for more details.

# You should have received a copy of the GNU General Public License
# along with this program.  If not, see http://www.gnu.org/licenses/.


UF=package.use
if [[ -z $1 ]]; then
echo guse.sh pkgspec [flag modifiers]
echo   - list use-flags for package by leaving the modifiers out
echo   - this little script fondles your package.use
echo   - by using double-dash (--) you are doomed back to default
echo example:
echoguse.sh kopete qq privacy -yahoo -msn jabber --highlight
echo
exit
fi
[[ -n $1 ]]  ROWS=`grep $1 $UF`  HITS=`echo ${ROWS}|wc -l`
[[ $HITS -gt 1 ]]  echo Duplicates  echo $ROWS  exit

# search from portage
[[ $HITS -lt 1 ]]  OLD=`emerge --nospinner -s ${1}|grep \*|awk '{print $2}'` \
 HITS=`echo ${OLD}|wc -l`  NEWATOM=yes

if [[ $HITS -gt 1 ]]; then
echo All Candidates:
echo ${OLD}
exit
elif [[ $HITS -lt 1 ]]; then
echo Package\ atom\ not\ found
exit
else 
if [[ -n $NEWATOM ]]; then
if [[ -n $2 ]]; then
for a; do
NEW=$NEW $a
done
echo new: ${NEW:0}
echo ${NEW:0}  $UF
else
equery uses $1
fi
else
OLD=${ROWS};
OLD_sed=`echo ${OLD}|sed 's/\ /\\\ /g'`
OLD_sed=`echo ${OLD_sed}|sed 's/\\//\//g'`
ORIG_sed=$OLD_sed
if [[ -z $2 ]]; then
equery uses $1
echo Your\ custom\ Set:
echo $OLD
exit
fi
for a; do
loops=$(( $loops+1 ));
if [[ loops -gt 1 ]]; then
if [[ -n $a ]]; then
[[ `equery uses $1|grep ${a:1}|wc -l` -lt 1 ]] 
 echo Typo\:\ $a\ Does\ not\ exists  exit
if [[ ${a:0:1} == -  $OLD =~  ${a:1} ]]; 
then

if [[ ${a:0:2} == -- ]]; then
# remove
echo remove negative: ${a:1}
OLD_sed=`echo ${OLD_sed}|sed 
's/ '${a:1}'/ /g'`
else
# disable
echo disable: ${a:1}
OLD_sed=`echo ${OLD_sed}|sed 
's/'${a:1}'/'${a}'/g'`
fi

elif [[ ${a:0:1} != -  $OLD =~  -${a} ]]; 
then
# enable
echo enable: $a
OLD_sed=`echo ${OLD_sed}|sed 
's/-'${a}'/'${a}'/g'`

elif [[ $OLD =~  ${a} ]]; then
echo keeping: $a
else
if [[ ${a:0:2} = -- ]]; then
# remove
echo remove positive: ${a:2}
OLD_sed=`echo ${OLD_sed}|sed 
's/ '${a:2}'/ /'`
else
OLD_sed=${OLD_sed}\\ $a
echo add: $a
fi
fi
 

Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-12 Thread Gentoo User
Hi,

the question is: is it really necessary? If I want to add a new entry
into this file I just call echo category/package myflags 
/etc/portage/package.use and if I want to edit them I just call my
favorite editor, use its search capabilities and change the line.
So I don't really see the benefit of a command line tool, since I
still need to write flags, package and everything and the tools I'm
using now (mostly echo, grep and vim) to do this are not very
complicated and most of the typing goes to the use flags and package
name anyway.


Just my opinion.


Best regards

Geralt


On 7/12/08, Mikko Husari [EMAIL PROTECTED] wrote:
 greetings earthlings,

  i did not found (nor did i look for long enough) any tools/scripts to
 easily manage package.use file, so i did my own. now i started to think
 that, if there really is not any, my creation would be sufficient (although
 possibly buggy) for most users who wish to have easy control over
 package.use.

  yes, i know this is not the best place to announce but, this is not an
 real announcement, this is an query for an superior solution which would
 show my creation to be useless/dublicate/stupid. (if mine is useless/stupid
 it would be nice, so i would not have to maintain it and i also could use
 some real software).

  -- husku


-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Simplistic bash-script to manage package.use

2008-07-12 Thread Mikko Husari

Gentoo User wrote:

Hi,

the question is: is it really necessary? If I want to add a new entry
into this file I just call echo category/package myflags 
/etc/portage/package.use and if I want to edit them I just call my
favorite editor, use its search capabilities and change the line.
So I don't really see the benefit of a command line tool, since I
still need to write flags, package and everything and the tools I'm
using now (mostly echo, grep and vim) to do this are not very
complicated and most of the typing goes to the use flags and package
name anyway.


Just my opinion.


Best regards

Geralt


On 7/12/08, Mikko Husari [EMAIL PROTECTED] wrote:
  

greetings earthlings,

 i did not found (nor did i look for long enough) any tools/scripts to
easily manage package.use file, so i did my own. now i started to think
that, if there really is not any, my creation would be sufficient (although
possibly buggy) for most users who wish to have easy control over
package.use.

 yes, i know this is not the best place to announce but, this is not an
real announcement, this is an query for an superior solution which would
show my creation to be useless/dublicate/stupid. (if mine is useless/stupid
it would be nice, so i would not have to maintain it and i also could use
some real software).

 -- husku



well, i cant argue with you on that. although, i also used 
vim,grep,sed,echo to change my flags. still i felt i needes an easier 
way, thats why i wrote it and thats why i think this is easier than 
vim+handwork. basicly that script is only an interface to sed,echo,grep 
and equery.


did you try to use it? id bet i could get changes applied much more 
rapidly with that script than with vim or echo. (can not necessarily 
compete with echo if you are sure it is an new addition)

--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] Network chip always comes up eth1 on 1-year-old Dell Inspiron 530

2008-07-12 Thread Walter Dnes
On Wed, Jul 09, 2008 at 08:44:51AM +0100, Neil Bothwick wrote

  chip *ALWAYS* comes up as eth1.
 
 Udev is doing this. If you have removed the second card,
 delete /etc/udev/rules.d/70-persistent-net.rules, otherwise edit the file
 to switch the assignments for the two NICs.

  Thanks.  A new and improved helpfull feature that could've done
without.


-- 
Walter Dnes [EMAIL PROTECTED]
-- 
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] DVD and changing permissions

2008-07-12 Thread Dale

Dale wrote:

Neil Bothwick wrote:

On Sat, 12 Jul 2008 13:39:03 -0500, Dale wrote:

 

It changes the permissions whenever I insert the DVD. I'm not sure if
it is something that is on the DVD or if it is a mounting issue.  Here
is my fstab line for the *DVD*:

/dev/hdd  /media/hddautonoauto,users0 0



Unless you have a very good reason to leave this in place, remove it. 
HAL
based automounters do not need fstab, but it will override their 
defaults

if present. A desktop automounter will usually mount the device as the
user running it, that's certainly the case with KDE and should be with
ivman.

The changing permissions on the mount point is because they are now the
permissions of something else. When nothing is mounted there, the
permissions are those of the mount point on the parent filesystem, when
you mount something, they are the permissions of the root of the mounted
device.

Do other devices, such as USB sticks, mount correctly?


  


Hi,

I commented out the lines in fstab for both DVD and CD drives.  The 
only change is that I get this:


[EMAIL PROTECTED] / # ls -al /media/
total 5
drwxr-xr-x  5 root  root 224 2008-07-12 04:03 .
drwxr-xr-x 24 root  root 560 2008-07-10 12:40 ..
drwxrwxr-x  2 root  users 48 2006-10-25 06:23 floppy
-rw-r--r--  1 root  root   0 2008-07-12 03:43 .hal-mtab
-rw---  1 root  root   0 2008-07-12 03:54 .hal-mtab-lock
dr-xr-xr-x  1 root  root2048 2003-11-13 17:10 hdc
d-  2 ivman plugdev  112 2008-07-12 03:08 hdd
-rw-r--r--  1 root  root   0 2008-07-12 01:48 .keep_sys-apps_hal-0
[EMAIL PROTECTED] / #
So I disabled ivman and tried again, no change.  I still can not 
access the DVD as a user.  The CD seems to work the same way as it 
always has.  The permissions have changed to root/root tho.

Any other ideas?

Dale




Hi,

I re-emerged udev and noticed this little foot note:

mount options for directory /dev are no longer
set in /etc/udev/udev.conf, but in /etc/fstab
as for other directories.

I don't have anything in fstab for /udev.  This is what mount reports:

[EMAIL PROTECTED] / # mount
/dev/hda6 on / type reiserfs (rw)
proc on /proc type proc (rw)
sysfs on /sys type sysfs (rw,nosuid,nodev,noexec)
udev on /dev type tmpfs (rw,nosuid)
devpts on /dev/pts type devpts (rw,nosuid,noexec)
/dev/hda1 on /boot type ext2 (rw)
/dev/hda7 on /usr/portage type reiserfs (rw)
/dev/hda8 on /home type reiserfs (rw)
/dev/hda9 on /data type reiserfs (rw)
/dev/hdb1 on /backup type ext3 (rw)
none on /dev/shm type tmpfs (rw)
usbfs on /proc/bus/usb type usbfs (rw,noexec,nosuid,devmode=0664,devgid=85)
binfmt_misc on /proc/sys/fs/binfmt_misc type binfmt_misc 
(rw,noexec,nosuid,nodev)
/dev/hdd on /media/hdd type udf 
(rw,noexec,nosuid,nodev,uid=104,gid=451,umask=007)

/dev/hdc on /media/hdc type iso9660 (ro,noexec,nosuid,nodev)
[EMAIL PROTECTED] / #

udev is there but is this normal?  How does a person restart udev 
anyway?  Do I have to reboot?  I also deleted all the files in /etc/udev 
before re-emerging udev, just in case.  I'm about out of ideas here. 


Dale

:-)  :-)
--
gentoo-user@lists.gentoo.org mailing list



Re: [gentoo-user] spamassassin-3.2.1-r1 emerge failure

2008-07-12 Thread Canek Peláez Valdés
On Sun, Jul 6, 2008 at 9:19 AM, Kevin O'Gorman [EMAIL PROTECTED] wrote:
 For reasons discussed elsewhere, I've got to get serious about spam.  But my
 first 3 attempts to emerge spamassassin have failed. (on x86).

 For one thing, there's a detection process near the beginning that is
 failing to detect Perl modules that are actually present, and from portage
 not CPAN.
 First it was Digest-SHA1.  Re-emerging it fixed that, so maybe there was
 bitrot somewhere.  But now it's doing the same thing with Mail::DKIM, but
 that's fortunately not a show-stopper like SHA1, but it's still worrisome.

 Now the show-stopper is some access violations that make no sense to me.  It
 says it could not 'mkdir /usr/share/spamassassin', but I could do it
 from the command line (as root).  Having done it, it still complained but
 proceeded to report an access violation on an attempt to 'chmod 0644
 something'.
 I could also do that one from the command-line.  G.

 Has anyone seen this, and know of a workaround?

Use mail-filter/bogofilter? It uses bayesian techniques too, and I
*think* it's compatible with SpamAssassin (I use Evolution, and it
lets you choose among both of them).
-- 
Fred Allen  - Television is a medium because anything well done is rare.
-- 
gentoo-user@lists.gentoo.org mailing list