Re: [gentoo-user] Mouse and console

2006-04-09 Thread Mariusz Pękala
On 2006-04-09 11:35:46 + (Sun, Apr), [EMAIL PROTECTED] wrote:
 Hi all,
 I do not remember anymore which program to emerge for enabling mouse on a 
 console.

I suppose you want

sys-libs/gpm (1.20.1-r4): GPL-2: Console-based mouse driver


-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpYTL7uO3NuW.pgp
Description: PGP signature


Re: [gentoo-user] [OT] Passing env variable to ssh?

2006-03-13 Thread Mariusz Pękala
On 2006-03-13 20:14:33 + (Mon, Mar), Jorge Almeida wrote:
 Anyone knows a way to pass an environment variable to a openssh command?
 I doubt there is a way, but who knows...
 I want something like this:
 myvar=whatever ssh [EMAIL PROTECTED] ./bin/mycommand $myvar
 This would execute a command with argument whatever. The problem is that I
 want to authenticate via a cryptographic key allowing only this command,
 i.e., the file ~/.ssh/authorized_keys of myuser at remotebox has a line
 command=~/bin/mycommand $myvar public-key
 This does not work, because remotebox doesn't know about $myvar. Of
 course, if I could pass a variable to remotebox, the line might be just
 command=~/bin/mycommand public-key
 and the ssh command would be
 myvar=whatever ssh [EMAIL PROTECTED] ./bin/mycommand
 (the program itself would use the value of $myvar)
 
 Any idea?

Stdin?

echo $myvar | ssh  [EMAIL PROTECTED] ./bin/mycommand

?

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgptlJO7V5PGW.pgp
Description: PGP signature


Re: [gentoo-user] What happens with masked packages?

2006-02-26 Thread Mariusz Pękala
On 2006-02-25 23:16:36 -0600 (Sat, Feb), Boyd Stephen Smith Jr. wrote:
   So, it's based on the collective opinion of the gentoo developers?
   Wouldn't it be better to put that in the hands of the gentoo user?
 
  IMHO it already is. It's called PORTAGE_OVERLAY.
 
 Again, hard to do automatically.  Wheras, if I could just set 
 ACCEPT_UPSTREAM=BETA I'd get all the betas.  Or I could use 
 package.upstream and but in kde-extra/kaffeine ALPHA and get anything 
 assigned more than a snapshot number for that package.  (Instead of 
 manually checking after each sync to see if there's a new, masked 
 version.)

In 'man 5 ebuild' I see:

  Atom Versions
It  is  nice  to be more specific and say that only certain versions of 
atoms
are acceptable.  Note that versions must be combined with a prefix (see 
below).
Hence you may add a version number as a postfix to the base:

sys-apps/sed-4.0.5
sys-libs/zlib-1.1.4-r1
net-misc/dhcp-3.0_p2

Versions  are normally made up of two or three numbers separated by periods,
such as 1.2 or 4.5.2.  This string may be followed by a character such as 
1.2a
or 4.5.2z.  Note that this letter  is  not  meant  to indicate  alpha,  
beta,
etc...  status.   For that, use the optional suffix; either _alpha, _beta, 
_pre
(pre-release), _rc (release candidate), or _p (patch).  This means for the 
3rd
pre-release of a package, you would use something like 1.2_pre3.

I suppose that you could prepare a script that builds your
/etc/portage files to unmask packages with _beta versions,
or with any other criteria contained in ebuild.

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpC6oflyDCXS.pgp
Description: PGP signature


Re: [gentoo-user] What happens with masked packages?

2006-02-25 Thread Mariusz Pękala
On 2006-02-25 13:34:28 -0600 (Sat, Feb), Boyd Stephen Smith Jr. wrote:
   So, betas shouldn't ever be ~arch?  Or is your definition of stable
   broad enough to include betas?
 
  Entirely dependent on the upstream. I've had Vim beta releases in
  ~arch, for example, because I'm confident in upstream's ability to do
  beta releases without screwing up.
 
 So, it's based on the collective opinion of the gentoo developers?  
 Wouldn't it be better to put that in the hands of the gentoo user?

IMHO it already is. It's called PORTAGE_OVERLAY.

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpsUzjzY3U8t.pgp
Description: PGP signature


Re: [gentoo-user] tracking the life of an email.

2006-02-25 Thread Mariusz Pękala
On 2006-02-24 17:03:24 -0500 (Fri, Feb), Nick Smith wrote:
 for some reason qmail spreads things out into 3 or 4 or 5 different
 log files, one for sent, smtp, pop, imap etc, its a real pain to go
 through those files, i dont know if its qmail or syslog-ng thats doing
 it, but ive been wanting to find a way to combine all those logs into
 one mail.log file for easy grepping.

Something like: 

  tail -F /var/log/qmail/qmail-*/current  /var/log/qmail-all

would be Okay?

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgp96kHcAme3b.pgp
Description: PGP signature


Re: [gentoo-user] wierd messages in syslog

2006-02-25 Thread Mariusz Pękala
On 2006-02-24 16:23:03 -0500 (Fri, Feb), Nick Smith wrote:
 i keep getting these errors in my syslog, has been happening ever
 since the install (couple days ago)
 
 what does it mean, and how can i fix it?
 
 init: Id s0 respawning too fast: disabled for 5 minutes
 
 what is s0?
 
 this is a sparc system if that makes a difference.

How does your /etc/inittab file looks like?

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpCwnVzHsk7Y.pgp
Description: PGP signature


Re: [gentoo-user] Gentoo and Flash Cards

2006-02-19 Thread Mariusz Pękala
On 2006-02-19 08:50:02 -0500 (Sun, Feb), Timothy A. Holmes wrote:
 Good morning everyone:

Good afternoon :-)
 
 Put flash card in reader
 Plug reader into usb port
 Wait for reader to settle
 Open root terminal
 Check dmesg for dev node for reader
 Mount /dev/sda1 /mnt/flash
 Do the transfer with digikam
 Back to root term
 Umount /mnt/flash
 Unplug reader
 Remove card
 Repeat
 
 What I would like is for either the card to be automatically recognized
 and mounted, or at least to not have to do it via the root terminal

This looks like a prefect task for udev.

Have you read http://www.gentoo.org/doc/en/udev-guide.xml
and http://www.reactivated.net/udevrules.php ?

 Also, I do not have write access to the flash cards or to thumb drives
 that I may mount - even as root

Why? What error messages you receive? What did you try?

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpYuW1xPUXDr.pgp
Description: PGP signature


Re: [gentoo-user] [OT] CD/DVD/R/RW-manufacturer - HOWTO identify?

2006-02-18 Thread Mariusz Pękala
On 2006-02-18 20:25:58 +0300 (Sat, Feb), Andrew Gaydenko wrote:
 Hi!
 
 Is there a tool to identify a CD/DVD/R/RW-manufacturer?

The only one I found so far is:

  cdrecord -dummy -v dev=/dev/cdrw /dev/null

but it does not work on non-writers, and I havent looked for such tool
too hard :-)

Example:
[..]
ATIP info from disk:
  Indicated writing power: 5
  Is not unrestricted
  Is not erasable
  Disk sub type: Medium Type B, low Beta category (B-) (4)
  ATIP start of lead in:  -12488 (97:15/37)
  ATIP start of lead out: 359849 (79:59/74)
Disk type:Short strategy type (Phthalocyanine or similar)
Manuf. index: 70
Manufacturer: NAN-YA Plastics Corporation
Manufacturer is guessed because of the orange forum embargo.
The orange forum likes to get money for recent information.
The information for this media may not be correct.
[..]

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpqAmsz2zieL.pgp
Description: PGP signature


Re: [gentoo-user] Kernel Panic

2006-02-18 Thread Mariusz Pękala
On 2006-02-18 18:52:49 +0100 (Sat, Feb), Izar Ilun wrote:
  Do you have /dev/console device existing?
 
  No, I don't. At less now that I'm chrooting Gentoo via Ubuntu...


So check once more (ls -l /dev/console), try to create it, and see what happens:

  mknod -m 0600 /dev/console c 5 1

...assuming that you are in chrooted environment, and /dev/ is your
Gentoo's directory - not Ubuntu's one.

Console device should look like this:
crw---  1 root tty 5, 1 lut 18 17:30 /dev/console


I suppose that you may be missing /dev/null device too.
mknod -m 660 /dev/null c 1 3

And you may want to read Gentoo udev guide, too:
  http://www.gentoo.org/doc/en/udev-guide.xml

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpC6EiUjPxpY.pgp
Description: PGP signature


Re: [gentoo-user] udev upgrade fails

2006-02-18 Thread Mariusz Pękala
On 2006-02-18 19:42:03 +0100 (Sat, Feb), Marco Calviani wrote:
 !!! Digest verification Failed:
 !!!/usr/portage/sys-fs/udev/files/udev.rules.post_012
 !!! Reason: Filesize does not match recorded size
 
 i have tried with emerge sync, but nothing changed.
 
 Any help?

Compare your file to my one, attached.
Are there any differences?

/usr/portage/sys-fs/udev/files/udev.rules.post_012

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


udev.rules.post_012.gz
Description: Binary data


pgphAT2o1p9Bd.pgp
Description: PGP signature


Re: [gentoo-user] Kmail Spellchecking Disabled?

2006-02-15 Thread Mariusz Pękala
On 2006-02-15 09:42:17 - (Wed, Feb), Michael Kintzios wrote:
  You mean in Settings  Configure KMail?  No, I couldn't find it 
  there either.  (Time for you to make and submit a patch. :)
 
 Sure!  And then I'll learn how to code in C++, Python and another few
 programming languages over my lunch break . . . I mean, what chances do
 I have?  I couldn't even find a GUI option, tut, tut!  :D

Real H4x0rz feel better with plain text. Your GUI confusion does not
mean you couldn't patch KDE in one hour. ;-)

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpgufPFDGqP6.pgp
Description: PGP signature


Re: [gentoo-user] /usr/sbin/run-crons giving puzzling error.

2006-02-07 Thread Mariusz Pękala
On 2006-02-07 05:07:39 -0600 (Tue, Feb), Harry Putnam wrote:
 I get this recurring error from /usr/sbin/run-crons.  From logrote.
 But cannot quite see why it throws this error:
 
   error: stat of /home/reader/t/var/log/fw_log failed: \
 No such file or directory
 
 Well its true, there is no such file but my settings should cause
 logroate to `create' it, and it does not get created.
 
 
 The section of logrotate.con dealing with that is belwo, is it wrong
 in some way?
 
  /home/reader/t/var/log/fw_log {
create 0600 reader users
size=3000k
rotate 15
compress
 }

First - does the DIRECTORY exist? Logrotate will not create directories.

Second - you may want to use 'missingok' directive - this will prevent
raising an error. 'create' directive means - 'after rotation, create
new one' but does not mean - 'create if the file does not exist'

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpBfOYK1Jm5A.pgp
Description: PGP signature


Re: [gentoo-user] Problems with installation of sys-libs/gpm

2006-02-07 Thread Mariusz Pękala
On 2006-02-07 14:50:21 -0200 (Tue, Feb), Daniel da Veiga wrote:
 On 2/7/06, Markus Fendt [EMAIL PROTECTED] wrote:
[...]
  Calculating dependencies ...done!
   emerge (1 of 1) sys-libs/gpm-1.20.1-r4 to /
  !!! Security Violation: A file exists that is not in the manifest.
  !!! File: files/gpm-linux26-headers.patch
[...]
 installs (some of my protected servers), so I added FEATURES=-strict
 to make.conf, its not a good policy, but it works (again, this
 installs are pretty solid and will not be updated in a while, so, its
 not recommended for desktop installs). As someone pointed, a emerge
 sync will probably solve it.

I believe that quick 'rm 
/usr/portage/sys-libs/gpm/files/gpm-linux26-headers.patch'
would solve it too.

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpIVNEX8wwDB.pgp
Description: PGP signature


Re: [gentoo-user] Console + setfont - Need larger fonts for Console (TV-Out)

2006-02-07 Thread Mariusz Pękala
On 2006-02-07 14:49:41 +0800 (Tue, Feb), Ow Mun Heng wrote:
 Hi All,
 
   I'm trying to locate a nice and _BIG_ font to use on the console for
 when I use TV-Out.
 
 I know there are lots of fonts in /usr/share/consolefonts/ but I don't
 really want to go through them 1 by 1 to locate the one I want. Is there
 a utility for seeing these fonts? A font browser?

A very quick one:

  cd /usr/share/consolefonts
  for x in *gz; do printf '\e[33m%s\e[0m\nReady?' $x; read z; setfont $x; 
echo That was $x; done

On some fonts it says 'There are more than one, use -8 -16 or
something option to setfont'. Don't let it scare you.


 Searching google didn't find anything positive. when I tried to look at
 it using gnome-font-browser, it says it can't load it.

I suppose gnome-font-browser understands only ttf or similiar fonts. Not
console ones... I may be wrong.

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpyrYQu6kyC5.pgp
Description: PGP signature


Re: [gentoo-user] Xine-ui masked?

2006-02-05 Thread Mariusz Pękala
On 2006-02-05 16:51:47 +0100 (Sun, Feb), Daniel Pielmeier wrote:
 recently i have installed xine -ui.
 
 A few days before when i do
 emerge -pv --deep --newuse --update world
 it shows me the following output
 
 These are the packages that I would merge, in order:
 Calculating world dependencies
 !!! Packages for the following atoms are either all
 !!! masked or don't exist:
 media-video/xine-ui
 
  ...done!
 
 Total size of downloads: 0 kB
 
 Is xine-ui marked as masked recently?
 
 At http://packages.gentoo.org/search/?sstring=xine-ui it is marked stable.
 
 emerge -s xine-ui shows me
 
 Searching...
 [ Results for search key : xine-ui ]
 [ Applications found : 1 ]
 
 *  media-video/xine-ui [ Masked ]
   Latest version available: 0.99.4-r3
   Latest version installed: 0.99.3
   Size of downloaded files: 2,496 kB
   Homepage:http://xine.sourceforge.net/
   Description: Xine movie player
   License: GPL-2
 
 What is wrong here?

I am not sure, but check what you do have in
/usr/portage/media-video/xine-ui . Just a few hours after my last sync I
have got just one ebuild - stable xine-ui-0.99.4-r3.ebuild

If you find it, check its contents - what keywords are there for
your architecture.

I see: KEYWORDS=~alpha amd64 ~hppa ppc ppc64 sparc x86

If your arch has proper keyword, then look inside
/etc/portage/package.mask and search for xine-ui in
/usr/portage/profiles/package.mask
(grep xine /usr/portage/profiles/package.mask)

You may want to check other package.mask files in your portage profile
hirarchy.

Having said all this, I suggest you issue the command:
  emerge -pv xine-ui
as it usually, pretty verbosely, says what is going on.

Example:
  #  emerge -pv toxine
  These are the packages that I would merge, in order:
  Calculating dependencies
  !!! All ebuilds that could satisfy toxine have been masked.
  !!! One of the following masked packages is required to complete your request:
  - media-video/toxine-0.6.3 (masked by: package.mask, missing keyword)
  # Diego Pettenò [EMAIL PROTECTED] (18 August 2005)
  # Toxine needs to be verified with upstream for a few issues.
  For more information, see MASKED PACKAGES section in the emerge man page or
  refer to the Gentoo Handbook.

You do have the latest portage, don't you?

HTH

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpyk05w7a1F6.pgp
Description: PGP signature


Re: [gentoo-user] Xine-ui masked?

2006-02-05 Thread Mariusz Pękala
On 2006-02-05 23:08:13 +0100 (Sun, Feb), Daniel Pielmeier wrote:
 Under /usr/portage/media-video/xine-ui i find the
 xine-ui-0.99.4-r3.ebuild and stable it is stable too.
 
 KEYWORDS=~alpha amd64 ~hppa ppc ppc64 sparc x86
 
 I am running gentoo on x86 so i think it has to be stable.
 
 I have no masked xine-ui versions in
 
 /etc/portage/package.mask
 /usr/portage/profiles/package.mask.
 
 emerge -pv xine-ui
 
 shows me
 
 These are the packages that I would merge, in order:
 
 Calculating dependencies
 !!! All ebuilds that could satisfy xine-ui have been masked.
 !!! One of the following masked packages is required to complete your
 request:
 - media-video/xine-ui-0.99.4-r3 (masked by: ~x86 keyword)
 - media-video/xine-ui-0.99.4-r2 (masked by: ~x86 keyword)
 - media-video/xine-ui-0.99.3-r1 (masked by: ~x86 keyword)

I assume you have not synced recently? I have only one ebuild, you have
three.
They are masked by keyword - and you have just said that in
xine-ui-0.99.4-r3.ebuild KEYWORDS contained 'x86', not '~x86'.

So, I feel some strange disturbance in force...

Just out of curiosity: try 'grep xine /etc/portage/*' ?
Have you set portage overlay?

 I use portage version 2.0.54

Same here.

 You mentioned that there are other package.mask files in the portage
 profile, but where are they?


$ find /usr/portage/profiles/ -name package.mask
/usr/portage/profiles/hardened/package.mask
/usr/portage/profiles/uclibc/package.mask
/usr/portage/profiles/default-darwin/package.mask
/usr/portage/profiles/default-darwin/macos/10.3/package.mask
/usr/portage/profiles/default-darwin/macos/package.mask
/usr/portage/profiles/default-darwin/macos/10.4/package.mask
/usr/portage/profiles/package.mask
/usr/portage/profiles/default-linux/alpha/package.mask
/usr/portage/profiles/default-linux/alpha/2004.3/package.mask
/usr/portage/profiles/default-linux/sparc/sparc32/2005.0/package.mask
/usr/portage/profiles/default-linux/sparc/sparc32/2006.0/package.mask
/usr/portage/profiles/default-linux/sparc/sparc32/2005.1/package.mask
/usr/portage/profiles/default-linux/sparc/sparc32/2004.3/package.mask
[...]

These files may be traversed by portage when it 'combines' the profile
following 'parent' file in your profile directory and in each directory
pointed by the 'parent' file. See:
$ ls -l /etc/make.profile
lrwxrwxrwx  1 root root 48 kwi  7  2005 /etc/make.profile - 
../usr/portage/profiles/default-linux/x86/2005.0

$ cat /etc/make.profile/parent
..
$ cat /usr/portage/profiles/default-linux/x86/parent
..
$ cat /usr/portage/profiles/default-linux/parent
../base
  
  and so on..

- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpXbajVKR2XQ.pgp
Description: PGP signature


Re: [gentoo-user] Xine-ui masked? [Solved]

2006-02-05 Thread Mariusz Pękala
On 2006-02-06 00:47:03 +0100 (Mon, Feb), Holly Bostick wrote:
 Daniel Pielmeier schreef:
  Thank you,
  
  in one portage overlay i use there are three ebuilds
  
 snip
  and they are all marked ~x86.
 
 Ebuilds from overlay are always ~arch, afaik. Overlays are not
 considered stable for what seem to me to be obvious reasons; namely
 that only the Portage tree itself can mark ebuilds as stable, and since
 these ebuilds are not part of the legal Portage system, who is
 supposed to judge? and secondly,  that overlay ebuilds, which could come
 from anywhere, could never out of the box be considered stable -- as
 in working-- by the official Portage tree (which is really just another
 way of saying the first part).

I humbly disagree. ;)
As in /usr/portage also in portage overlay ebuild is
stable if you mark it stable using KEYWORDS.

Portage overlays are our 'private' portage trees, and they are in no thing
'worse' than 'official' ebuilds.
You know that old saying:
 'A Gentooman's overlay is his castle'
;)

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
Trust me.


pgpKLrrAGjAny.pgp
Description: PGP signature


Re: [gentoo-user] Irritating problem #2-- colordiff

2006-01-07 Thread Mariusz Pękala
On 2006-01-07 15:53:39 +0100 (Sat, Jan), Holly Bostick wrote:
 Here's the kind of output I get from etc-update, for example:
[...]
 ESC[1;34m+RC_VERBOSE=noESC[0;0m
[...] 
 Clearly it's working, but not. This is in gnome-terminal, but the
 term in use doesn't seem to make any difference, and this is worse than
 nothing at all in terms of readablility (made even worse since using
 colordiff is intended to /enhance/ readability).
 
 Colordiff is set in /etc/etc-update.conf as recommended in the Wiki--
 diff_command=colordiff -uN %file1 %file2,  which seems to be right
 insofar as colordiff is working; it seems to me that the problem is that
 the term is not recognizing/escaping the color codes as color codes, and
 I don't know where to begin to find out why.  I'm using the most recent
 colordiff available
[...]
 Does anybody have a clue what that might be?

What do you see in your terminal if you type this: ?
printf '\033[1;34m+RC_VERBOSE=no\033[0;0m'

If this is ok, then you know that your terminal is ok, and there is
something with colordiff...

Do you have any alias or function around colordiff?

What if you use diff_command=/usr/bin/colordiff . ?

Did you remember that:
  SCSI is *not* magic. There are *fundamental* *technical* *reasons*
  why you have to sacrifice a young goat to your SCSI chain every now and
  then. John F. Woods ([EMAIL PROTECTED])

:-)

HTH

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE


pgpmKJkMtRmhP.pgp
Description: PGP signature


Re: [gentoo-user] firefox -- too weird!

2006-01-07 Thread Mariusz Pękala
On 2006-01-07 10:35:34 -0800 (Sat, Jan), maxim wexler wrote:
 Hello everybody,
 
 OK, so I'm surfin and go to www.thocp.net/index.htm
 having truncated the link out of curiosity from 
 
 http://www.thocp.net/biographies/pickette_wayne_interview.htm
  
 
 The window opens way outside the boundaries of the
 screen and I can't drag the corner back. So I ctrl-w
 out of there and re-start firefox. Without any other
 input than firefox 790x565 the browser opens at
 
 http://eeaissy.com/eeaissy/modules.php?op=modloadname=My_eGalleryfile=indexdo=showgallgid=10
 
 !!!
 
 A site I've never been to before, honest!
 
 Giving the dimensions to firefox doesn't help BTW but
 at least this window can be dragged back inside the
 confines of the physical monitor. 
 I did this twice, so it's no mere fluke. I rushed over
 to Yahoo to post this and the window's still OK. So,
 thankfully it's not permanent ;)
 
 Anybody care to hazard a guess as to what's happening
 here. Can anybody duplicate it?


I suppose now you want to unset in Edit - Preferences - Web features -
Enable JavaScript - Advanced all but Change Images, or even disable
JavaScript globally... ;-)

I didn't dare to enable JavaScript, but I saw nothing relevant in the
code of that page.

Do you have any suspicious plugins, Flash, Java, any extensions? Can you
sniff (with tcpdump or ethereal) the traffic when that window opens? Is
there only one instance of firefox running? only one window?

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE


pgpMnhOc2kWgH.pgp
Description: PGP signature


Re: [gentoo-user] Re: ls date was: Bizarre etc/cfg-update problem

2006-01-07 Thread Mariusz Pękala
On 2006-01-07 20:01:25 +0100 (Sat, Jan), Holly Bostick wrote:
 Willie Wong schreef:
  On Sat, Jan 07, 2006 at 04:17:11PM +0100, Penguin Lover Holly Bostick
  squawked:
  
  (how do you get ls to also include the @#$%#$ *year*??)
  
  
  Sorry, couldn't help with the rest of your problem, but I think it is
   assumed that ls will display the year only for files older than a
  year old. Quite clever, in my opinion.
 
 OK, I see what you mean-- or maybe I don't:
 
 I see that many files that are more than a year old then are followed by
 the year, but some are not, and some which are less than a year old are
 followed by a year.
 
 -rw-r--r--   1 motub somegroup1661 jul 13 13:52 more_what works.txt
 (this must have been created in 2005)
 
 but this file is less than a year old and is still fully dated:
 
 -rw-rw-r--   1 motub somegroup 581 jan 31  2005 computeruniverse_rma.txt
 
 But even leaving aside the inconsistencies (only for the purposes of
 this discussion), this is not the behaviour I expect or in fact desire.
 I normally expect the year to be displayed whenever the current calendar
 year is different from that associated with the file-- thus, if the file
 was created in 2006, I would not expect the year to be shown, but if it
 was created in 2005, I would expect the year to be shown, whether or not
 the current date was one year or more from the month and day that the
 file was created.

It's a matter of taste, but I would rather keep this historical
behaviour. On January the 1st you would see tiestamps from yesterday
similiar to the 'very-old-ones'.

 Rather than go off on a rant, I will ask mildly: is there any way to
 change the default behaviour to more reflect my expected behaviour? Not
 so much asking you to tell me how to do it as asking if those of you who
 have already read man ls whether there is a solution to be found when I
 have the time to read it myself.

info ls, section * Formatting file timestamps::
 A timestamp is considered to be recent if it is less than six
months old, and is not dated in the future.

and further:
 For example, `--time-style=+%Y-%m-%d %H:%M:%S' causes...

HTH

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE


pgpspS7m4PXuO.pgp
Description: PGP signature


Re: [gentoo-user] ebuild defaults?

2006-01-04 Thread Mariusz Pękala
On 2006-01-04 17:45:46 + (Wed, Jan), Ciaran McCreesh wrote:
 On Wed, 4 Jan 2006 09:25:52 -0800 (PST) maxim wexler
 [EMAIL PROTECTED] wrote:
 | Is there a default, eg for LICENSE, in an ebuild if
 | the ebuild's author can't discover it?
 
 Not for LICENSE. If you can't find the LICENSE, you can't legally
 distribute or use the software so you can't make an ebuild for it.

[EMAIL PROTECTED] ~ $ cat /usr/portage/licenses/secretware

You are not authorized to know under what conditions you may use this
software.

You are not authorized to know whether you may use, modify, distribute
modified and unmodified versions of this software.

You must not violate any restriction placed by this license. Failure to
do so will cause you to be punished to the fullest extent of the law,
according to the rules that you are not authorized to know.

[EMAIL PROTECTED] ~ $

Are you sure you WANT to make an ebuild for this software? ;-)


P.S.:
Do you know of any package that uses the DR license?
And do you know any user of such package? :-

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE


pgpbRcxWB3QY8.pgp
Description: PGP signature


Re: [gentoo-user] Re: ssh and tar combined?

2005-12-28 Thread Mariusz Pękala
On 2005-12-28 07:29:31 + (Wed, Dec), Mick wrote:
 Blast, spoke too soon.  When I tried to scp over the tar of the /var/tmp
 partition it failed:
 ===
 debug1: Sending command: scp -v -p -f /mnt/sda14/sda5_var.tmp
 debug1: client_input_channel_req: channel 0 rtype exit-status reply 0
 Sink: scp: /mnt/sda14/sda5_var.tmp: not a regular file
 scp: /mnt/sda14/sda5_var.tmp: not a regular file
 debug1: channel 0: free: client-session, nchannels 1
 debug1: fd 0 clearing O_NONBLOCK
 debug1: fd 1 clearing O_NONBLOCK
 debug1: Transferred: stdin 0, stdout 0, stderr 0 bytes in 3.1 seconds
 debug1: Bytes per second: stdin 0.0, stdout 0.0, stderr 0.0
 debug1: Exit status 1
 ===
 
 What does not a regular file mean? :=@

Do an 'ls -l /mnt/sda14/sda5_var.tmp and the first character on the left
will tell you what kind of file is this.

Not a regular file may mean: 
- 'l' = symbolic link
- 'd' = directory
- 'p' = pipe (fifo)
- 'b' = block device
- 'c' = character device

...i hope I didn't miss any?
See 'man ls' in Posix section: man -S 1p ls


-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpNPCJB86Ysx.pgp
Description: PGP signature


Re: [gentoo-user] world problems

2005-12-28 Thread Mariusz Pękala
On 2005-12-28 14:25:26 +0800 (Wed, Dec), W.Kenworthy wrote:
 Thats the world file, is there an equivalent for system?
 

'System' is defined in your profile: see /usr/portage/profiles/base/packages

 bunyip ~ # emerge -ep system
 
 These are the packages that I would merge, in order:
 
 Calculating system dependencies  ...done!
 bunyip ~ #
 
 As you see, I have a couple of systems with a blank system target.

Strange. I see 160 packages. What is your profile?

#  ls -l /etc/make.profile
lrwxr-xr-x  1 root root 48 kwi 11  2005 
/etc/make.profile - ../usr/portage/profiles/default-linux/x86/2005.0


-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpP5yC21zqx1.pgp
Description: PGP signature


Re: [gentoo-user] Passwords and Skype

2005-12-26 Thread Mariusz Pękala
On 2005-12-26 14:17:21 +0100 (Mon, Dec), Martin S wrote:
 a/ When my firewall is about to start (Firestarter) is pops up a password
 dialog for the root password. If I check the remember password box, it
 still doesn't and thows up the same dialog again at next start. (KDE 3.5).
 Any ideas on how to tame the password dialog? (I've check the forums, and
 KDE list but nothing so far).

If I recall correctly, root password is remembered for some limited time
- 10 minutes or so. The time is probably configurable somewhere in KDE
config center.


 b/ Any news on integration of KDE (Kontact preferably) and Skype?
 (The latest news seems to be late 2004 or mid 2005, of which the latter is
 less informational).

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpNOnorxo9LY.pgp
Description: PGP signature


Re: [gentoo-user] Easy way to unmerge all of KDE?

2005-12-23 Thread Mariusz Pękala
On 2005-12-23 00:12:41 -0600 (Fri, Dec), Dale wrote:
 Hi guys, and Holly,
 
 I have a rig that I need to free up some space on the hard drive.  I 
 want to remove KDE completely.  Naturally doing a emerge unmerge kde 
 does not get the job done.  What is a easy way to do this?  I did a 
 emerge -ep world | grep kde but it is one heck of a list.  It's 6 pages 
 long in OOo.
 
 There has to be a easy way.  Be gentle with me now.  I'm learning.  Oh, 
 if it is a mile long, give me a map of what it is doing.  Sort of 
 explain it's thinking to me a bit.  I do now what the pipe thing is 
 though.  That can be neat.  Would be nice if unmerge kde would work 
 though. 
 

emerge -va unmerge $(grep kde /var/lib/portage/world)
emerge -va depclean

I hope that would do the trick.
-a will ask you before doing unmerge.

Alternate way:
cd /var/db/pkg/kde-base
for x in *; do emerge unmerge =$x ; done

HTH.

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgp19SsGgHgs6.pgp
Description: PGP signature


Re: [gentoo-user] Easy way to unmerge all of KDE?

2005-12-23 Thread Mariusz Pękala
 Alternate way:
 cd /var/db/pkg/kde-base
 for x in *; do emerge unmerge =$x ; done

Oh, no. I was too quick - it can break dependencies. Don't do it.

:-)

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgp8MviLlraYM.pgp
Description: PGP signature


Re: [gentoo-user] i'm new of list

2005-12-21 Thread Mariusz Pękala
On 2005-12-19 23:05:01 + (Mon, Dec), Neil Bothwick wrote:
 On Mon, 19 Dec 2005 16:17:46 -0600, Dale wrote:
 
  Because it is insecure on some mail readers and unreadable on others.
 
  Linux insecure?  Never had that problem before.
 
 Leaving aside the fact that many people are forced to use Outlook at
 work, HTML can contain CGI scripts disguised as images, cookies etc.
 While these may not harm your computer, they can be used to collect some
 information about you. For this reason, many people disable or restrict
 the display of HTML in e-mail.

AND, for example, there are bugs in libraries - even on Linux - check
the history of security problems with, for example, PNG:
 GLSA 200408-03
 GLSA 200408-22
or
 grep 'arbitrary code' /usr/portage/metadata/glsa/*
 
Linux may be as unsecure as every other system. It always helps to be a
little paranoid and not to let unknown images display (yeah, I know - we
all surf the web, but ...)

:-)

Quote For The Day: Just because I am paranoid doesn't mean they're not
after me

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpzQsiNrNWE3.pgp
Description: PGP signature


Re: [gentoo-user] Removing Specific Kernel Sources

2005-12-18 Thread Mariusz Pękala
On 2005-12-17 19:58:36 -0600 (Sat, Dec), Samir Faci wrote:
 is there an advantage to doing that as opposed to rm -fr 
 /usr/src/linux-2.6.12-r10  (or whatever the dir is called)?  Just 
 curious, I always just used the rm -fr

As others said, you SHOULD unmerge the unused package. Just as a note
I'd say that it seems that doing 'rm -rf' on kernel source files speeds
up (a little) the unmerging process - portage tests whether modification
dates differ, but with removed files it quickly realizes that there is
no such file.
Additionally emerge unmerge leaves the remnants of compilation process,
so you still have to do rm -r on the sources.

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE


pgpC6bNtpHVAJ.pgp
Description: PGP signature


Re: [gentoo-user] son of can't mount vfat part.

2005-12-18 Thread Mariusz Pękala
On 2005-12-18 18:18:34 +0100 (Sun, Dec), Holly Bostick wrote:
  [EMAIL PROTECTED] ~ $ grep FAT /usr/src/linux/.config # 
  CONFIG_X86_MCE_NONFATAL is not set # DOS/FAT/NT Filesystems 
  CONFIG_FAT_FS=y CONFIG_VFAT_FS=y CONFIG_FAT_DEFAULT_CODEPAGE=437 
  CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-1
  
 
 Since you have the vfat module compiled into the kernel, it seems to me
 that this can only mean that the module is not loaded (as it might not
 be if a FAT32 filesystem did not need to be mounted at boot, because it
 was not detected, and/or the partition is not set to autoload at boot
 via /etc/fstab, and/or the module is not set to autoload at boot via
 /etc/modules.autoload.d/kernel-2.*).
 
 
 If you get an error when attempting to modprobe, or after modprobing
 mounting still returns an error, then we've at least got more
 information (in the case of an error), or eliminated one possible cause
 (if mounting still fails after successfully modprobing the module).

As I can see the VFAT is compiled in the kernel, not as a module.
Compare:
[EMAIL PROTECTED] ~ $  zcat /proc/config.gz | grep -i fat
CONFIG_X86_MCE_NONFATAL=y
# DOS/FAT/NT Filesystems
CONFIG_FAT_FS=m
CONFIG_VFAT_FS=m
CONFIG_FAT_DEFAULT_CODEPAGE=852
CONFIG_FAT_DEFAULT_IOCHARSET=iso8859-2

I wonder what is in your /proc/filesystems and /etc/filesystems ? Could
you post their contents here?

And are you sure that /usr/src/linux/.config belongs to the kernel you
actualy run?
It would not hurt to modprobe, anyway. ;-)

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE


pgpzvgBYo7LCX.pgp
Description: PGP signature


Re: [gentoo-user] links w/o benefit of X

2005-12-14 Thread Mariusz Pękala
On 2005-12-10 15:44:34 -0800 (Sat, Dec), maxim wexler wrote:
  
   I notice, also that Ctrl-A, X, V have no effect but I can move
   between pages using Alt and the arrow keys. Is there some way to
   activate those dead keys without having to install all the usual X
   stuff.
  
  a whole lotta stuff snipped
  
  I don't know what you expect ^A  to do, but ^X and
 
 ctrl+a = select all. I'm astonished you didn't know
 that. 

ctrl+a = move the cursor to the beginning of the line.
I am surprised to hear that someone would assign that old combination to
some 'select all'. Strange idea.

:-))

http://www.cs.tut.fi/~jkorpela/chars/c0.html
http://www.rci.rutgers.edu/~usseries/UNIXcmds.html#cmdedit
http://en.wikipedia.org/wiki/Thompson_shell


-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpUmjXNPC7Qj.pgp
Description: PGP signature


Re: [gentoo-user] Laptop Install Issue

2005-12-11 Thread Mariusz Pękala
 El Domingo, 11 de Diciembre de 2005 11:42, C. Beamer escribió:
  My issue is this:  The computer powered off in the middle of the install
  of xorg-x11.  This has happened a couple of times.  I haven't been
  having problems with the laptop, so I'm pretty sure the issue has
  something to do with power management since I built power management
  into the kernel, but didn't emerge acpid.  Anyway, since the emerge of
  xorg-x11 has bombed a couple of times, is there anything that I should
  do in the way of clean up before trying to emerge it again?
  Colleen

 On 2005-12-11 17:32:46 +0100 (Sun, Dec), Rafael Fernández López wrote:
 I can't find any sense at that issue: I can't understand what's the reason 
 that make your computer turn off in a compilation.
 
 Well... I'm afraid of temperature. I hope that's not the reason, but is the 
 first thing that came to my mind. Maybe in your laptop (I've an Amilo Fujitsu 
 Siemens, and when compiling OO or KDE it is really hot), when it reachs some 
 temperature it turns off because of security reasons.
 
 I cannot find any other reason.

I vote for temperature issues too. That is my experience with some
Aristo laptop - it get very hot very easily and powers off when
temperature exceeds 85 C.

You may try to run something like this while emerging:
# while sleep 5 ; do cat /proc/acpi/thermal_zone/THM0/temperature 
  /tmp/temper ; done 

and hope that part of that file will survive the poweroff - you will see
whether temperature was raising before end.

Or you may put something like:
 ... do cat /proc/acp. | tee -a /tmp/temper ; done 
in background in the session in which emerge runs and observe the
temperature between compilation lines.

The exact path to temperature file may differ, it will be something like
/proc/acpi/thermal_zone/*/temperature - and it will exist only if your
kernel has necessary drivers compiled (or modules inserted).

The /proc/acpi/thermal_zone/*/temperture file has about 30 bytes,
35 thousands of copies makes 1MB file, so you loop may run for 9
hours if storing one copy every second or 48 hours if appending one copy
every 5 seconds.

HTH.

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgp9zosXs5fJh.pgp
Description: PGP signature


Re: [gentoo-user] Optical mouse lights off on kernel 2.6.14 but works on kernel 2.4.30

2005-12-06 Thread Mariusz Pękala
On 2005-12-07 02:24:51 -0200 (Wed, Dec), Raphael Melo de Oliveira Bastos Sales 
wrote:
 And the answer is... 42.
 
 Turns out I was asking the wrong question. The whole problem about it
 is that the 2.6 kernels detect my mouse as a ImExPS/2 mouse and not as
 a ImPS/2.
 
 What I need is to find a way to tell the psmouse module (PS/2 Mouse
 Kernel Module) to exclude ImExPS/2 as a protocol for my mouse.
 
Maybe module parameter will work?
Like:
options psmouse proto=imps

in /etc/modules.d/psmouse file, for example.

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpTaySRSc6f7.pgp
Description: PGP signature


Re: [gentoo-user] openoffice 2.0 - compiling or binary

2005-11-30 Thread Mariusz Pękala
On 2005-11-30 08:12:34 +0100 (Wed, Nov), Kristian Poul Herkild wrote:
 Joseph wrote:
 
 Is there a benefit of compiling Openoffice 2.0 vs. installing from
 binary.
 
 I've AMD 1.8Mhz with 1Gb or Ram and it has been compiling OO 2.0 for
 7-hours already.
 
  
 
 It's likely to take somewhere around 8-11 hours on such a machine. It 
 took somewhere around 10 hours for me on a 1500 MHz Athlon XP with 1 GB RAM.
 
 Whether or not you can benefit from compiling is unknown to me. But it's 
 more fun ;)

Yes! Oh yes! ;-)

AFAIK in OO version 1 it was the only (almost the only) way to have
localized version - LINGUAS or LANGUAGE variable.

As I can see in ebuild it is no longer true in 2.0, so I also think that
it's just like the Gentoo Stage 1 Installation - You can brag about
doing stage 1. :-)
(I did stage 1, and I will compile OpenOffice - even version 2)

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpfXWlXlZR54.pgp
Description: PGP signature


Re: [gentoo-user] Re: Is this a bug in equery

2005-11-23 Thread Mariusz Pękala
On 2005-11-23 23:07:49 -0600 (Wed, Nov), Paul Varner wrote:
 On Wed, 2005-11-23 at 23:34 -0600, Harry Putnam wrote:
  Paul Varner [EMAIL PROTECTED] writes:
  It appears here that the symbols themselves must be quoted as well as
  the package like this:
  
equery files --type =vim-6.2
  
 
 Which is what I meant to convey with the error message. What about this
 one?
 
 $ ./equery files --type vim-6.4
 [ Searching for packages matching vim-6.4... ]
 !!! Invalid syntax: missing operator
 !!! If you want only specific versions please use one of
 !!! the following operators as prefix for the package name:
 !!!  =  =  =  
 !!! Example to only match gcc versions greater or equal 3.2:
 !!!=sys-devel/gcc-3.2
 !!!
 !!! Note: The symbols  and  are used for redirection in the shell
 !!! You must enclose the entire argument in quotation marks, if either
 !!! of these characters are used
 

Not precise enough. You need to enclose only those characters, like:
  equery files --type =vim-6.2
or you may use backslash, like:
  equery files --type \=vim-6.2

Saying that you MUST enclose the entire argument would misguide those
who do not understand quoting mechanisms yet. You would be responsible
for their mistakes forever! ;-)

Some man pages (eq. man tcpdump) use a sentence like 'these characters
are usually special to the shell and must be quoted'. Here you need to
write only '...are used for redirection in the shell and should be
quoted.'
It's like a gentle, polite reminder that assumes that the reader is good
being and usually knows everything about quoting.

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpgGjzOevKCm.pgp
Description: PGP signature


Re: [gentoo-user] mail command and attachment?

2005-11-23 Thread Mariusz Pękala
On 2005-11-24 01:15:07 -0500 (Thu, Nov), Leonard - Gentoo wrote:
 Thinking of this now.. but qmail is on this same box..
 
 Anyone know off hand the syntax to send a message feeding it to qmail for 
 delivery to an account on the box?
 

Maybe
   cat message | /var/qmail/bin/qmail-inject -a username
would do it?
Attachments should be already included/encoded in message, I suppose.
(Is anybody still using uuencode these days?)

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpHsCvbchjwz.pgp
Description: PGP signature


Re: [gentoo-user] fixing fstab

2005-11-16 Thread Mariusz Pękala
On 2005-11-16 14:11:28 +0930 (Wed, Nov), Iain Buchanan wrote:
 On Tue, 2005-11-15 at 23:00 -0500, ellotheth rimmwen wrote: 
   because I just couLDN'T TAKE ANY MORE.
 
 And you're obviously using vi to compose mail :) Still haven't figured
 out the backspace and caps?  Now, if you were using emacs, from the end
 of the line you could just ctrl-leftarrow, ctrl-leftarrow,
 ctrl-leftarrow, ctrl-leftarrow, ctrl-leftarrow, alt-l, alt-l, alt-l,
 alt-l, alt-l.  Could it be any simpler?!!

Maybe: ESCgu0 (in vim, from the end of the line)
Could it be any simpler ? :-))

On the other hand, if you want to yell, and haven't tuned CapsLock ON
you may just press: ESCgU0A and continue typing.
You know that ellotheth just wanted to scream, and it was not a mistake?
;-)

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpbVxjltrYpn.pgp
Description: PGP signature


Re: [gentoo-user] fixing fstab

2005-11-14 Thread Mariusz Pękala
On 2005-11-14 16:23:41 -0500 (Mon, Nov), Mark wrote:
 Well, I thought so too. So I booted to the Universal CD. Then I did
   mount /dev/hda3 /mnt/gentoo
 
 Then I did cd /mnt/gentoo and did a ls
 
 all I see is boot and lost+found
 
 Did I make a bigger mess than I thought?
 

Just pick another partition I suppose.

fdisk -l /dev/hda 

will tell you which ones are on your disk.

Mount each of them (if they are of suitable type - it's of no use to
mount your swap partition) and see what is there.

As /dev/hda3 is usually the root partition, and you have /boot there
then you may have your root on /dev/hda1 (it would have to be really big
boot...) or on some other one.

HTH

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE


pgpzpKqqHyXYa.pgp
Description: PGP signature


Re: [gentoo-user] problems with emerge -C packet

2005-10-21 Thread Mariusz Pękala
On 2005-10-21 11:57:12 +0200 (Fri, Oct), Markus Fendt wrote:
 Hi,
 
 I'm working in a chroot environment
 
 I want to deinstall a package. So i do emerge -C man (for example)
 No Error output.
 
 Then the binary man is still there on my system?

On your system ABOVE the chroot - your PRIMARY system - the one you
BOOTED into - yes. The binary will still be there, if it was there before you
issued that command.

The unmerge command will remove the package files only from your chrooted
directory. I assume you did nothing 'strange' like chrooting into / or
binding /var or /bin into your chooted environment... ?
:-)

I hope it's the answer you're looking for.


-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE


pgpEDfVot2C1N.pgp
Description: PGP signature


Re: [gentoo-user] PAM problem: su: Authentication token is no longer valid; new one required.

2005-10-09 Thread Mariusz Pękala
On 2005-10-07 20:40:20 -0500 (Fri, Oct), Gabriel M. Beddingfield wrote:
 
 I recently install postgresql.  When I start the server, I'm getting what
 looks like a PAM error.
 
 orion ~ # /etc/init.d/postgresql start
  * Starting PostgreSQL ...
 You are required to change your password immediately (root enforced)
 su: Authentication token is no longer valid; new one required.
 (Ignored)
 [ ok ]
 orion ~ # 
 
 Also:
 
 orion ~ # su - postgres
 You are required to change your password immediately (root enforced)
 su: Authentication token is no longer valid; new one required.
 (Ignored)
 [EMAIL PROTECTED] ~ $ 
 
 After this, the su session and the postgres database appear to work
 normally.  I'm concerned with the error message, though.  Googling got me
 nowhere.
 
 Any ideas what the problem is?

Looks like an expired password. What is in your /etc/shadow in postgres'
entry?

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpFVlgBhLIEH.pgp
Description: PGP signature


Re: [gentoo-user] Re: PostgreSQL with unknown message to starting

2005-10-09 Thread Mariusz Pękala
On 2005-10-08 19:51:16 -0500 (Sat, Oct), Gabriel M. Beddingfield wrote:
 Javier Uribe wrote:
 
  hi people.
  
  I have compile PostgreSQL satisfactorily,  my doubt is when starting, it
  appears the next message
  
  highwaystar ~ # /etc/init.d/postgresql start
   * Starting PostgreSQL ...
  su: Authentication service cannot retrieve authentication info.
  (Ignored)   [
  ok ]
  
  any ideas?
  it can be by change to the user postgres?
 
 I have the same problem (see my post on 10/7).  It appears postgres works
 OK, though.  If anyone knows how to put PAM in it's place, let me know!
 

This time it's about no entry for postgres in /etc/shadow. :-)

This line, added to /etc/shadow, would be OK:
postgres:!:12654:0:9:7:::

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpbZ83u75wgl.pgp
Description: PGP signature


Re: [gentoo-user] [OT shell scripting] how to wait a few seconds

2005-10-04 Thread Mariusz Pękala
 Pause, wait?

for x in {1..100}; do :; done

just joking :-)

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE


pgp9axsHLzzRH.pgp
Description: PGP signature


Re: [gentoo-user] Any 'sed' geniuses out there?

2005-09-27 Thread Mariusz Pękala
On 2005-09-26 21:40:43 -0700 (Mon, Sep), gentuxx wrote:
 There is the '-i' option, but the indentation is minimal.  I tend to
 be pretty anal about indentation.  But like I said, I'm not really
 concerned about that.  My main concern was validation, and htmltidy
 gives me that.

You may use sed for indentation tweaking. :-)

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpszTd3a8zHH.pgp
Description: PGP signature


Re: [gentoo-user] HELP! grub stops, only hard reset helps

2005-09-09 Thread Mariusz Pękala
On 2005-09-09 11:30:55 +0200 (Fri, Sep), capsel wrote:
 grub hangs while booting and there are no errors when I install it on
 mbr (BIOS supports only mbr booting).

Excuse me, but could you describe what EXACTLY you can see on screen
before GRUB hangs?

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgp7hS2OGNCsH.pgp
Description: PGP signature


Re: [gentoo-user] why is Joe part of 'system' ?

2005-09-04 Thread Mariusz Pękala
  I'd put money on it being considered part of system
  because it provides virtual/editor, which is part of system.
 
 In  /usr/portage/profiles/base/virtuals , it says
 
   virtual/editor  app-editors/nano
 
 there's no mention of Joe.
 
 Someone else suggested it comes from  /etc/rc.conf , but there I have
 
   EDITOR=/usr/bin/vim
 
 Any other suggestions ?  I'm using the 2005.1 profile.
 

/usr/portage/profiles/base/virtuals lists DEFAULT package that provides
given virtual.

quote
# This file describes the packages that by default satisfy a certain virtual
# That this file exists in the base profile implies that these packages will
# work on any architecture that needs that virtual
/quote

cthulhu ~ #  grep PROVIDE $(equery which joe)
PROVIDE=virtual/editor
cthulhu ~ #  grep PROVIDE $(equery which vim)
PROVIDE=virtual/editor

I suppose that if you have vim installed you may just ignore the
warning, and the warning will be issued on any unmerge of every package
that provides a virtual/editor, not taking care whether any other
installed package provides the same virtual - not a big problem, just
minor nuisance.

Howgh.
;-)

-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE


pgpjUZnc79Pky.pgp
Description: PGP signature


Re: [gentoo-user] booting into single mode

2005-08-31 Thread Mariusz Pękala
On 2005-08-31 09:25:48 -0400 (Wed, Aug), Philip Webb wrote:
 Is it still possible to boot into 'single' mode,
 ie directly into a no-login root system (for emergencies) ?
 
 The kernel dox suggest this should work in Lilo
 
   image = /boot/kernel-2.6.9-gentoo-r1
 label = Single
 root = /dev/hda3
 append=S
 read-only
 
 but it boots to a login prompt as usual.
 Replacing 'S' with 'single' doesn't work either.
 
 Does anyone have single mode set up satisfactorily ?

Not tested but found in 'man init', section 'BOOTFLAGS':

 -b, emergency
 Boot directly into a single user shell without running any
 other startup scripts.

..so, try with append=emergency

The difference lies in that 'single' tells the init process to read and
execute entries in /etc/inittab, while 'emergency' tells to not do it.

You may also try with append=init=/bin/bash or that nice rescue-shell
which name just slipped out of my memory.. /bin/sash maybe.

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpUgs0J9GGVL.pgp
Description: PGP signature


Re: [gentoo-user] emerge output

2005-08-26 Thread Mariusz Pękala
On 2005-08-26 01:48:36 +0200 (Fri, Aug), Holly Bostick wrote:
 Idea #3: there is a way (and possibly more than one) to tail out the
 einfo messages, either to a file, or to the console, but unfortunately I
 don't remember what they are atm Oh, wait, they're listed on the Wiki:
 
 http://gentoo-wiki.com/TIP_Portage_utilities_not_in_portage
 
 I think what you might want is portlog-info, which is in the
 Informational Utilities section.

...or something dumber^H^H^H^H^Hsimpler:


# ---
#!/bin/bash

COUNT=60

cd /var/log/portage || exit -1

for file in $( ls -1rt | tail -n $COUNT)
do
  if grep $'\e' $file | grep -q -v -e  Applying [^ ]*.patch -e 
$'\e'\[32;01mok$'\e'\[34;01m
  then
tput bold
echo ' '
ls -l $file
echo ' '
tput sgr0

grep $'\e' $file | grep -v  Applying [^ ]*.patch
  fi
done
# ---
  
The log files are created when you set the PORT_LOGDIR in /etc/make.conf
(yeah, you replace then that cd /var/log/portage with your - possibly
different - location, or do something like eval $(grep ^PORT_LOGDIR=
/etc/make.conf)) .

HTH

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgp1eTIxDSzsw.pgp
Description: PGP signature


Re: [gentoo-user] gcc seg faults very often

2005-08-22 Thread Mariusz Pękala
On 2005-08-22 10:57:47 -0400 (Mon, Aug), R'twick Niceorgaw wrote:
 
 I also had the same gcc segfault problem recently. After some observation,
 I found out whenever cpu temperature goes beyond 50 C I was getting
 segfaults. Took out the heat sink and cpu, cleaned them put some arctic
 silver between cpu and heat sink and put a fan in front of the box and did
 a emerge -Uv world  without any problem even though temperature reached
 65. I believe, its the arctic silver that I put between cpu and heat sink
 fixed my problem.

I am in the middle of troubleshooting similiar (lockups, not segfaults) 
situation.
Maybe it will be of some use to somebody.

During some emerges my machine was getting locked up when cpu temperature got
above 55 C (AMD Athlon 2GB), but I decided (yeah - decided ;-) that CPU is not 
the
problem - 55 C is pretty low for CPU I think.

As a workaround I have limited the RAM amount available (I have 512 MB
physical) to 256 MB by kernel parameter mem=256M. No RAM errors were detected by
memtest, but limiting available RAM works - no lockups.

The 'sensors' utility (part of lm_sensors package) shows that one (out of two)
temperature sensor is a bit too hot: it has now (no emerge in progress)
61 C and warning threshold is on 48 C. I assume that it is not CPU that
gets too hot but that small, nice north bridge on my mobo.

May it be that the solution is to get some bigger heat sink and more
powerful fan not only for CPU.

HTH


-- 
No virus found in this outgoing message.
Checked by grep -i virus $MESSAGE
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [OT] confusing RE doesn't work in diff

2005-07-28 Thread Mariusz Pękala
On 2005-07-27 09:43:25 +0200 (Wed, Jul), Christoph Gysin wrote:
 Zhang Weiwu wrote:
 [EMAIL PROTECTED]:/tmp$ diff -I ^[[:space:]]*/[*].*[*]/[[:space:]]*$ 
 header.inc.php empty
 1,2d0
  ?php
/* $Id: header.inc.php.template,v 1.58 2005/07/08 05:00:14 milosch 
 Exp $ */
 
 in man it's being said, 
-I RE  --ignore-matching-lines=RE
   Ignore changes whose lines all match RE.
 
 I read man grep and it seems there are two sets of RE, extended and basic. 
 But it's not mensioned in diff(1) wheather or not diff(1) takes extended 
 or basic RE. I am using Debian so it should be gnu diff.
 
 If it's not mentioned, it possibly uses basic regular expressions.
 
 try:
 
 $ diff -I '/\* \$Id.*\$ \*/' header.inc.php empty
 
 Christoph

Indeed strange. BUT the clue lies in (after many strange results) in
'man grep' where, on my host, it says exactly:

-I regexp
   Ignore changes that just insert or delete lines that match regexp.

Notice the word: 'changes'.
It seems that it means: ignore if WHOLE GROUP of DELETED OR INSERTED
lines matches (every added or deleted line) the provided regexp.

In your case the first line of header.inc.php is included in change-group
but does not matches RE.

Try (to be very simple):
$ diff -I '^.*/.*$' header empty
1,2d0
 ?php
 /* $Id: header.inc.php.template,v 1.58 2005/07/08 05:00:14 milosch 
Exp $ */

$ echo '?php'  empty
$ diff -I '^.*/.*$' header empty
(nothing)
$ :empty
$ diff -I '^.*php.*$' header empty
(nothing - because BOTH lines, considered CHANGED OR DELETED have the
word 'php' inside)

Now the difficult part: how to solve the real problem. :-)

* You may compare grepped files (with grepped out /* $Id:$ */)
* You may try to filter diff output... but I don't like this (by
  intuition - I may be wrong)
* experiment with various options of diff. If only output (not retcode)
  matters then good candidate maybe may be --changed-group-format, which is
  weel described in 'info diff'
* or something other...

HTH

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpxROr6WsLsd.pgp
Description: PGP signature


Re: [gentoo-user] [OT] confusing RE doesn't work in diff

2005-07-26 Thread Mariusz Pękala
On 2005-07-25 17:50:37 +0800 (Mon, Jul), Zhang Weiwu wrote:
 My RE must be wrong but I can hardly successfully match a whole line
 like the below example:
 
 This works:
 [EMAIL PROTECTED]:/tmp$ egrep \b*\/[*].*[*]\/\b* Calendar.php
 /* $Id: class.boalarm.inc.php,v 1.1.1.1 2005/03/18 09:17:36
 dawnlinux Exp $ */
 /* $Id: class.boalarm.inc.php,v 1.11 2004/05/23 14:51:27
 ralfbecker Exp $ */
 
 This doesn't work:
 [EMAIL PROTECTED]:/tmp$ egrep ^\b*\/[*].*[*]\/\b*$ Calendar.php
 
 any hint?

man grep:
The symbol \b matches the empty string at the edge of a word

It seems that '/' is not considered to be a part of a word.

I suppose you may use ^[[:space:]]*/[*].*[*]/[[:space:]]*$ Calendar.php


-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpfnqmjJw5aa.pgp
Description: PGP signature


Re: [gentoo-user] Eterm, XTerm disappear everytime I invoke them in KDE

2005-07-25 Thread Mariusz Pękala
On 2005-07-25 01:48:32 -0700 (Mon, Jul), Hareesh Nagarajan wrote:
 Hi All:
 
 Everytime I invoke a new instance of ETerm or XTerm, they appear on
 the screen momentarily and then disappear. A ps -ef | grep $TERM shows
 nothing, which proves that these processes died almost as soon as they
 were spawned.

I don't thing that the variable TERM holds the proper terminal-program
name. It's your current terminal type.

pgrep -l term
or
ps -ef | grep term
   seems better.

 When I invoke Konsole, the window appears but the prompt never makes
 it to the screen.

check the file ~/.xsession-errors - all stdout and stderr could go
there.

 I have no idea why I am facing this problem, because in the last boot it 
 worked.
 
 Any hints?

did you do some upgrade recently?

run revdep-rebuild ?

run:  eterm (or whatever)  some_log_file 21

maybe some problem with fonts ?

bash initialization problem?

HTH

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpSVCicVSxZj.pgp
Description: PGP signature


Re: [gentoo-user] whither booting into single user mode

2005-07-20 Thread Mariusz Pękala
On 2005-07-19 14:28:20 -0400 (Tue, Jul), Allan Gottlieb wrote:
 Previously I could boot into single user mode with the following line
 in grub
 
 kernel /boot/kernel-2.6.8-gentoo-r3 root=/dev/hdc7 single
 
 After a recent emerge sync and update of world, the above is just a
 normal multiuser boot.
 
 I can use
 
 kernel /boot/kernel-2.6.8-gentoo-r3 root=/dev/hdc7 softlevel=single
 
 but this is not the same as booting into single user mode.  For
 example, there are virtual terminals, and hitting ^D does not then put
 you into multiuser mode.
 
 I like single user mode for doing (incremental) backups each day
 before logging in.  I realize I can write init.d scripts and will
 probably do so, but having an interactive shell on the way up to
 full multiuser mode seems useful.
 
 Does anyone know the current method of achieving what
 
 kernel /boot/kernel-2.6.8-gentoo-r3 root=/dev/hdc7 single
 
 use to do a few weeks ago?
 

I am not sure and I cannot test it right now, but for last few years if
I was in need of single user mode a kernel parmaeter 's' was doing its job.

So, check whether:
kernel /boot/kernel-2.6.8-gentoo-r3 root=/dev/hdc7 s
works.
It should be the same as 'single' but maybe there is some magic in it ;-)

'man init' has some info about runlevel 'emergency' or '-b' which promises
to enter single user mode without running any scripts from /etc/inittab.

kernel /boot/kernel-2.6.8-gentoo-r3 root=/dev/hdc7 emergency

I believe that's what you're looking for.

HTH


-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpIZbzDe1DXu.pgp
Description: PGP signature


Re: [gentoo-user] safe devfs - udev migration

2005-07-20 Thread Mariusz Pękala
On 2005-07-19 14:59:19 -0400 (Tue, Jul), [EMAIL PROTECTED] wrote:
 I used the steps on the Gentoo docs.  They also link to some udev site.
 
 Essentially
 1.  Set up kernel not to autostart devfs (when everything is okay you can 
 remove devfs from the kernel)
 [...]

As a note for ones interested, you may leave devfs compiled in kernel, even have
set it to automount, and then you may use a kernel boot option (GRUB,LILO):
 devfs=nomount
as noted in kernel description of CONFIG_DEVFS_MOUNT.

I've tested it about a month ago (2.6.11, but don't remember exact version)

HTH

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgp0cpPuK7406.pgp
Description: PGP signature


Re: [gentoo-user] system update

2005-07-15 Thread Mariusz Pękala
On 2005-07-15 00:46:45 +0100 (Fri, Jul), Edward Catmur wrote:
 On Thu, 2005-07-14 at 17:58 -0500, Qv6 wrote:
  I am currently running kde-3.3, and do not want to have both 3.3 and 3.4 
  on the box. How can I update kde or any other app and not have the old 
  version still installed.
 
 Update kde as usual, then 
 
 # emerge -av --depclean
 
 Make sure that portage doesn't offer to remove packages you want to keep
 installed! Also a good idea to run revdep-rebuild afterwards.

As this version of kde is slotted I believe that after your compilation
finishes, and you find the new KDE in working state, you should:

emerge prune kde
emerge -va prune arts

and then run emerge -av --depclean

After depclean there will be a few leftovers from kde if I recall well.
You may find them looking at /usr/kde/3.3/ and finding packages that own
files left there.

qpkg -f /usr/kde/3.3/some-file
emerge -va prune the-package-found-if-it-is-part-of-kde

Some files will not belong to any package, you may delete them, some
packages will have to be rebuild to use the new KDE version and leave
the old -  dev-db/knoda in my case...

Surely you may cook a nice script that will find and clear the KDE
leftovers in more hackish way, but it was very hot the day I was doing
this and my brain cooling system was not working properly... :-)

Remember to run revdep-rebuild -p after you remove some packages. It may
help you to find ones that need to be unmerged, and it is anyway a good
habit to run it.

HTH.

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgpkV0Qwr8Owi.pgp
Description: PGP signature


Re: [gentoo-user] Can't mount a fat32 partition

2005-07-14 Thread Mariusz Pękala
On 2005-07-13 23:29:56 + (Wed, Jul), aabb wrote:
 I use 2 partitions for Windows 98, hda1 and hda5. I set both up as type
 c (fat32 LBA) during my gentoo installation, using fdisk. The entries
 in /etc/fstab are almost identical:
 
 /dev/hda1/mnt/win_cvfatumask=0,noexec  0 0
 /dev/hda5/mnt/win_dvfatumask=0,noexec  0 0
 
 Yet hda1 mounts with no problems, whereas hda5 doesn't. If I execute
 mount /mnt/win_d I get the error:
 
 mount: wrong fs type, bad option, bad superblock on /dev/hda5,
or too many mounted file systems
 
 I tried various combinations (such as mount -t vfat /dev/hda5
 /mnt/win_d) and always get the same error. The only differences between
 the 2 partitions that I can think of are:
 

Check any messages in dmesg output and your syslog file
(/var/log/messages or /var/log/everything/current) after you try to
mount /dev/hda5.

Usually the winner is the lack of necessary encoding in kernel:
File Systems - Native Language Support - ...

I assume that /dev/hda5 _HAS_ proper FAT filesystem on it.. ;-)

HTH

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgp0rm0SW0ZXJ.pgp
Description: PGP signature


Re: [gentoo-user] New list member installing gentoo

2005-07-01 Thread Mariusz Pękala
 El Thu, Jun 30, 2005 at 08:44:40PM -0400, Jason Castonguay me dec?a:
  Hello list members.
Greetings! Family keeps growing :)

On 2005-06-30 23:03:15 -0300 (Thu, Jun), Fernando Canizo wrote:
 To make it short: test your RAM.

OR/AND you may want to ensure that your machine has proper cooling: fan
is working, the radioator is properly fixed and is big enough (however with
500MHz cpu it need not be very big IMHO)

Compilation is said to be very intensive excercise for machine
internals, and in my case most hardware problems emerge while emerging :-)

Usually the result of cpu being too hot is hangup; anyway in your case
it may be compilation failure.

If that's the case and nothing helps you may try to interrupt the
compilation process with ctrl-z every few minutes
(I know - it's only for desperate ones) and wait until your cpu
calms down.

How to know the temperature? I am not sure, but you may test whether your
machine has something similiar to /proc/acpi/thermal_zone/ (in my case it's 
/proc/acpi/thermal_zone/THM0/temperature file)

You may start a background process that logs temp, and check how much it
was when compilation failed:

$ while : ; do (date ; cat /proc/acpi/thermal_zone/THM0/temperature ) 
/tmp/temperlog ; sleep 1; done 


I hope this helps a little... however I believe that your problems are
caused rather by bad RAM. (memtest/memtest86+ is your friend)

-- 
No virus found in this outgoing message.
Checked by 'grep -i virus $MESSAGE'
Trust me.


pgp2QzrB24vZr.pgp
Description: PGP signature


Re: [gentoo-user] Question about Apache, PHP and where execution actually takes place

2005-06-09 Thread Mariusz Pękala
On 2005-06-08 17:14:58 -0500 (Wed, Jun), Michael Sullivan wrote:
 Each time I offload photos from my camera I create a directory for those
 photos and name it the date I offloaded them in mmddyy format.  I then
 create a list of files in that directory (ex, if I offloaded pix today I
 would have called the directory 060805 and the list list060805.txt.
 There is also a file called list.txt that contains each of the list
 filenames on its own line.  My VB program (and now my PHP script) opens
 list.txt and reads in a list filename and passes it to a subroutine
 which in turn opens the list filename and formats an HTML page with the
 100x100 photos organized into tables by date.  It then returns this page
 to the web browser requesting it.
[...]
 If PHP is a server side scripting language, then why is mozilla
 requiring so much of my RAM memory and hard drive?  Shouldn't all the
 work of generating the page be being done on bullet???

You did not said that you prepare the 'thumbnails' - small versions of
the images. Thus, if you generate a page that includes 10 000 images (I
suppose that they are really large images) then the client has to
download all these images and shrink them for display.
It will consume a lot of disk space, a lot of memory, a lot of CPU
cycles, a lot of bandwidth.

You should create smaller versions of your photos, for example by using
the 'convert' program from ImageMagick package:

 mkdir thu; \
 for x in *.jpg; do \
   convert $x -thumbnail 200x200 -verbose thu/thu_$x; \
 done

and then, in the generated HTML you should make something like:

a href=image.png
img src=thu/thu_image.png height=200 width=200 alt=image.png /
/a

HTH.

-- 
$ ls -lart
/bin/ls: you must be root to use LART


pgpiW6BPQlBon.pgp
Description: PGP signature