[gentoo-user] Does this qualify as some bug ?

2007-12-26 Thread आशीष शुक्ल Ashish Shukla
Hi

While trying to prevent 'net-dns/pdnsd' to listen on TCP and on to
avoid TCP queries, I changed 'tcp_server' parameter to 'off' and
'query_method' parameter to 'udp_only' in /etc/pdnsd/pdnsd.conf . But
when I restarted pdnsd I found it is still listening on TCP. I checked
/etc/conf.d/pdnsd and found no option related to listening to 'TCP'
set. So, then I checked /etc/init.d/pdnsd and I found that 'pdnsd' has
been launched with '-t' command line argument (enables the TCP server
thread. pdnsd will then serve TCP and UDP queries.) . So to disable, I
need to append '--notcp' to PDNSDCONFIG in /etc/conf.d/pdnsd. So I
think, listening shouldn't be made by default, even if it is, then it
should be in configuration file, not in init.d script .

So does this qualify as a bug ?

I'm a new Gentoo user, so I'm not sure if qualifies as some bug.

Thanks in advance
-- 
Ashish Shukla आशीष शुक्ल  http://wahjava.wordpress.com/
·-- ·-  ·--- ·- ···- ·- ·--·-· --· -- ·- ·· ·-·· ·-·-·- -·-· --- --
z���(��j)b�   b�

Re: [gentoo-user] Any glaring use flags here

2007-12-26 Thread Neil Bothwick
On Tue, 25 Dec 2007 22:53:10 -0600, [EMAIL PROTECTED] wrote:

 This machine is been prepped to be a sort of DMZ machine, but not
 more wannabe than really since it will not route stuff to my home lan
 at all... just be the recipient of all blocked stuff at an upsteam
 NETGEAR firewall/router.
 
 I would like an opinion about the USE flags I keep in /etc/make.conf
 
 USE=mysql emacs mbox hal acpi logrotate vga nptl nptlonly \
   -ipv6 -imap -maildir  -gnome -X -kde

It depends on the profile you use, since that affects the defaults
for flags not set/unset in /etc. Which profile are you using, hopefully a
server one, and what does emerge --info show. The output from emerge
--info shows the actual USE flags that will be used, which will be far
too many if you are using a desktop profile.


-- 
Neil Bothwick

I heard Tasha Yar is the Enterprise's expert on Data entry.


signature.asc
Description: PGP signature


[gentoo-user] Re: Any glaring use flags here

2007-12-26 Thread reader
Neil Bothwick [EMAIL PROTECTED] writes:

 On Tue, 25 Dec 2007 22:53:10 -0600, [EMAIL PROTECTED] wrote:

 This machine is been prepped to be a sort of DMZ machine, but not
 more wannabe than really since it will not route stuff to my home lan
 at all... just be the recipient of all blocked stuff at an upsteam
 NETGEAR firewall/router.
 
 I would like an opinion about the USE flags I keep in /etc/make.conf
 
 USE=mysql emacs mbox hal acpi logrotate vga nptl nptlonly \
   -ipv6 -imap -maildir  -gnome -X -kde


[...]

- Notes - Notes -

First let me reiterate what this OS is supposed to do.  My original
post was so riddled with typos and bad grammer, I'm amazed you
understood enough of it to make a sensible reply.

Briefly: This machines' purpose is to receive the output of a DMZ
switch at a NETGEAR router upstream.  It will not be routing anything
to the local lan and has only 1 nic. I just want a pipeline of all the
baloney my firewall is dropping for my own investigation.

The netgear router/firewalls' own logging capabilities produces a big
awkward, poorly formatted log. Getting it mailed and processed is a
pain, and having it log directly to a lan machines' syslog seems to
truncate the data to the point its nearly useless.  The configuration
proceedure is also way awkward compared to hand editing an iptables
script. 

I plan to install an iptables firewall that drops incoming portscans
sweeps untoward connection attempts etc. etc.logs the info and study
the logs with tcpdump etc.

 End Notes - End Notes -

Neil wrote:
 It depends on the profile you use, since that affects the defaults
 for flags not set/unset in /etc. Which profile are you using, hopefully a
 server one, and what does emerge --info show. The output from emerge


Gack I've never given a moments thought to which profile I used.
It appears to be pointing at the default one.

 /etc/make.profile - ../usr/portage/profiles/default-linux/x86/2006.1

 emerge --info shows a hefty list of USE flags.  Good lord.  I had
 no idea all those were being used during emerges.

I think I better do some reading before proceeding with this.

I'm thinking, switching to the `hardened' profile is probably what I
should be doing.

How does one go about changing the profile?  Is it as simple as just
changing the symlink?

googling on `site:gentoo.org profile'  

I find a little guide showing how to change from 2004.0 to 2006.X.  It
talks about a different setup being deployed post 2004.0. So I'm wondering
if there are more or different steps involved now?

The full output of that search even when adding `-forums' is too much
to swim thru without a little more paring down.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Re: Any glaring use flags here

2007-12-26 Thread Neil Bothwick
On Wed, 26 Dec 2007 10:03:39 -0600, [EMAIL PROTECTED] wrote:

 How does one go about changing the profile?  Is it as simple as just
 changing the symlink?

Pretty much, then run emerge -uavDN world followed by emerge --depclean,
with and without -p, then revdep-rebuild -p -i.


-- 
Neil Bothwick

When you play a Microsoft CD backwards you can hear demonic Voices...
that's nothing - when you play it forward it installs Windows


signature.asc
Description: PGP signature


Re: [gentoo-user] rsync for backup, can anybody help

2007-12-26 Thread Paul Stear
On Tuesday 25 December 2007, Neil Bothwick wrote:
 --one-file-system

Hi Neil,
Still not sure what the above will produce, I didn't find the man page 
very readable. Take sys for example, if it is saying that the directory 
would be created, would I still need to exclude everything under it?.


I also have another problem:-
rsync: stat /mnt/external/CompleteBackup/usr/lib64/perl5/5.8.8/pod 
failed: No such file or directory (2)
rsync: stat /mnt/external/CompleteBackup/usr/libexec/webmin/webmin 
failed: No such file or directory (2)
rsync: stat /mnt/external/CompleteBackup/usr/share/terminfo/a failed: No 
such file or directory (2)
rsync: stat /mnt/external/CompleteBackup/usr/share/terminfo/e failed: No 
such file or directory (2)
rsync: stat /mnt/external/CompleteBackup/usr/share/terminfo/l failed: No 
such file or directory (2)
rsync: stat /mnt/external/CompleteBackup/usr/share/terminfo/m failed: No 
such file or directory (2)
rsync: stat /mnt/external/CompleteBackup/usr/share/terminfo/n failed: No 
such file or directory (2)
rsync: stat /mnt/external/CompleteBackup/usr/share/terminfo/p failed: No 
such file or directory (2)
rsync: stat /mnt/external/CompleteBackup/usr/share/terminfo/q failed: No 
such file or directory (2)
rsync: stat /mnt/external/CompleteBackup/usr/share/terminfo/x failed: No 
such file or directory (2)
These directories are duplicate on my gentoo system e.g. in terminalinfo I 
have a directory a and A, it's the same for the other errors.

Just to let you know I am using fat on the backup disc not as I thought 
ext2 (that's another disc all together)

Any help please,
regards
Paul

-- 
This message has been sent using kmail with gentoo linux
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] rsync for backup, can anybody help

2007-12-26 Thread Neil Bothwick
On Wed, 26 Dec 2007 18:07:38 +, Paul Stear wrote:

  --one-file-system  
 
 Still not sure what the above will produce, I didn't find the man page 
 very readable. Take sys for example, if it is saying that the directory 
 would be created, would I still need to exclude everything under it?.

The /sys mount point is on the same filesystem as /, so it will be
included, but the contents are no a separate (virtual) filesystem, so
they won't be copied. The same goes for /proc /dev and removable devices
mounted under /mnt and /media. It also applies to your backup drive,
which you need to exclude, and /home, which you don't. So you'll need to
backup /home, and any other partitions you need, separately.

I prefer to keep backups of the OS and user data separate anyway, so this
suits me.


-- 
Neil Bothwick

Due to inflation, all clouds will now be lined with zinc.


signature.asc
Description: PGP signature


Re: [gentoo-user] dev-haskell/{cabal,haxml} -- runaway memory hog

2007-12-26 Thread Jason Dusek
On Dec 25, 2007 11:19 PM,  [EMAIL PROTECTED] wrote:
  I'm using the same HaXML you are, actually.

 Interesting ... unmerge quits by itself, but with the same error.
 I am tempted to delete haskell itself, as far as possible, and see if
 the haxml unmerge would get any further.

What if you tried deleting HaXML from /var/lib/portage/world and
then remerging it? It would skip the `prerm` action and just
overwrite everything.

-- 
_jsn
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Re: rsync for backup, can anybody help

2007-12-26 Thread reader
Neil Bothwick [EMAIL PROTECTED] writes:

 On Wed, 26 Dec 2007 18:07:38 +, Paul Stear wrote:

  --one-file-system  
 
 Still not sure what the above will produce, I didn't find the man page 
 very readable. Take sys for example, if it is saying that the directory 
 would be created, would I still need to exclude everything under it?.

Neil has handled this... I wanted to include the rsync syntax to
collect only directories... full or empty:

So to collect all the directories regardless of your excludes
put this before any excludes:
--include=/**/

The trailing slash confines it to direcotories only.

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dev-haskell/{cabal,haxml} -- runaway memory hog

2007-12-26 Thread felix
On Wed, Dec 26, 2007 at 11:40:53AM -0800, Jason Dusek wrote:
 On Dec 25, 2007 11:19 PM,  [EMAIL PROTECTED] wrote:
   I'm using the same HaXML you are, actually.
 
  Interesting ... unmerge quits by itself, but with the same error.
  I am tempted to delete haskell itself, as far as possible, and see if
  the haxml unmerge would get any further.
 
 What if you tried deleting HaXML from /var/lib/portage/world and
 then remerging it? It would skip the `prerm` action and just
 overwrite everything.

Nah, no luck.  Emerge -p shows it still knows that haxml is a remerge,
not a merge from scratch.  Whether I try an unmerge or a merge, it
still has the prerm phase and it still gobbles memory.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dev-haskell/{cabal,haxml} -- runaway memory hog

2007-12-26 Thread Neil Bothwick
On Wed, 26 Dec 2007 13:51:15 -0800, [EMAIL PROTECTED] wrote:

  What if you tried deleting HaXML from /var/lib/portage/world and
  then remerging it? It would skip the `prerm` action and just
  overwrite everything.  
 
 Nah, no luck.  Emerge -p shows it still knows that haxml is a remerge,
 not a merge from scratch.  Whether I try an unmerge or a merge, it
 still has the prerm phase and it still gobbles memory.

You'd need to delete it fro the package database in /var/db/pkg. That
would convince portage that it wasn't installed, but I have no idea what
side effects this may produce with this package... if any.


-- 
Neil Bothwick

Top Oxymorons Number 25: New York culture


signature.asc
Description: PGP signature


Re: [gentoo-user] dev-haskell/{cabal,haxml} -- runaway memory hog

2007-12-26 Thread Jason Dusek
[EMAIL PROTECTED] wrote:
 Jason Dusek wrote:
  What if you tried deleting HaXML from /var/lib/portage/world
  and then remerging it? It would skip the `prerm` action and
  just overwrite everything.

 Nah, no luck.  Emerge -p shows it still knows that haxml is a
 remerge, not a merge from scratch.  Whether I try an unmerge
 or a merge, it still has the prerm phase and it still gobbles
 memory.

Okay, I figured it out -- remove it from /var/lib/portage/world
and remove /var/db/pkg/dev-haskell/haxml-1.13.2 (I moved it to
my home directory). Now when you run `emerge haxml --pretend`,
it will show it as new.

I am on FreeNode as jsnx, by the way. Please feel free to
message me.

-- 
_jsn
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] using q commands compared to equery

2007-12-26 Thread reader
I notice that 
   `qdepends pkg' 
sometimes gives different ouput than
   `equery depends pkg

Which is considered the more reliable? 
I remember some of those kinds of tools becoming depricated.  Maybe
the list of `q' commands were among them?

-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dev-haskell/{cabal,haxml} -- runaway memory hog

2007-12-26 Thread felix
On Wed, Dec 26, 2007 at 03:35:10PM -0800, Jason Dusek wrote:

 Okay, I figured it out -- remove it from /var/lib/portage/world
 and remove /var/db/pkg/dev-haskell/haxml-1.13.2 (I moved it to
 my home directory). Now when you run `emerge haxml --pretend`,
 it will show it as new.

The merge worked, an unmerge worked, and a second merge worked.  The
first merge complained about overwriting a bunch of files, all of them
looked perfectly reasonable.  There were no other fifferences between
the twwo merge log.  The resulting /var/db/pkg/... dir had some
differences, almost all in what looked to be md5sums.  I am working
over a slow ssh connection right now, I'll look more into it in a few
days.  I am rerunning ghc-updater again; that's where this whole thing
started.

I was sort of hoping the unmerge would hang.  Not much to debug now,
unless I restore /var/db/pkg ...

I'll post more when ghc-updater is done.

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dev-haskell/{cabal,haxml} -- runaway memory hog

2007-12-26 Thread felix
On Wed, Dec 26, 2007 at 06:05:14PM -0800, [EMAIL PROTECTED] wrote:
 
 I'll post more when ghc-updater is done.

ghc-updater ran fine, or at least didn't hang.  There was one error:

src/lib/HsShellScript/Commands.chs:21:0:
Failed to load interface for `Text.ParserCombinators.Parsec':
  Perhaps you haven't installed the profiling libraries for
package parsec-2.1.0.0?
  Use -v to see a list of the files searched for.

So I manually remerged parsec and repeated ghc-updater, which found
only the same dev-haskell/hsshellscript-2.7.0 complaint about parsec.

Since haskell is installed only for darcs, and haven't actually used
darcs for a bit (major work right now is for people who use, yucch,
subversion), I can't say much more than that darcs whatsnew etc seem
to work.  Don't know what parsec does, whetehr darcs uses it, whether
it matters, but I guess for now, unless you think it is worth anything
to restore the old /var/db/pkg... dirctory, there isn't much mroe to
do on this.  I don't like random errors like this, but they can be
pretty tought to repeat and track down.

Thanks for babysitting :-)

-- 
... _._. ._ ._. . _._. ._. ___ .__ ._. . .__. ._ .. ._.
 Felix Finch: scarecrow repairman  rocket surgeon / [EMAIL PROTECTED]
  GPG = E987 4493 C860 246C 3B1E  6477 7838 76E9 182E 8151 ITAR license #4933
I've found a solution to Fermat's Last Theorem but I see I've run out of room o
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] modifying timezone

2007-12-26 Thread Norberto Bensa

Hello list,

as one or two of you may already know, Argentina is going to implement  
daylight saving time from December 30th until march 16th. We're going  
from GMT-03 (now) to GMT-02 (dec-mar), and my question is: what do I  
need to do to correctly modify my timezone?


Google doesn't help this time. I've got examples on how to set your  
time zone, i.e.: ln -s /usr/share/zoneinfo/ /etc/localtime


But that's not what I'm looking for... (damn politicians and all their  
crazy ideas...)



Many thanks in advance,
Norberto




This message was sent using IMP, the Internet Messaging Program.


--
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] modifying timezone

2007-12-26 Thread William Kenworthy
equery f sys-libs/timezone-data|grep bin

zdump -v /etc/localtime gives what your system is currently doing

zic allows you to create your own info.

The pollies did that here in Western Australia as well - a couple of
weeks notice.  Within a day or so of the legislation passing, one of the
local Universities made the files available.  Within a couple of weeks,
an official gentoo update with the changes came through.

It was nice being able to sit back and laugh at the windows losers
trying to cope (which they didnt do very well)

BillK


On Thu, 2007-12-27 at 00:10 -0300, Norberto Bensa wrote:
 Hello list,
 
 as one or two of you may already know, Argentina is going to implement  
 daylight saving time from December 30th until march 16th. We're going  
 from GMT-03 (now) to GMT-02 (dec-mar), and my question is: what do I  
 need to do to correctly modify my timezone?
 
 Google doesn't help this time. I've got examples on how to set your  
 time zone, i.e.: ln -s /usr/share/zoneinfo/ /etc/localtime
 
 But that's not what I'm looking for... (damn politicians and all their  
 crazy ideas...)
 
 
 Many thanks in advance,
 Norberto
 
 
 
 
 This message was sent using IMP, the Internet Messaging Program.
 
 
-- 
William Kenworthy [EMAIL PROTECTED]
Home in Perth!
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] dev-haskell/{cabal,haxml} -- runaway memory hog

2007-12-26 Thread Jason Dusek
[EMAIL PROTECTED] wrote:
 ghc-updater ran fine, or at least didn't hang.  There was one
 error:

 src/lib/HsShellScript/Commands.chs:21:0:
 Failed to load interface for
 `Text.ParserCombinators.Parsec':
   Perhaps you haven't installed the profiling
   libraries for package parsec-2.1.0.0?
   Use -v to see a list of the files searched for.

 So I manually remerged parsec and repeated ghc-updater, which
 found only the same dev-haskell/hsshellscript-2.7.0 complaint
 about parsec.

This is caused by a package trying to load Parsec with
profiling, while Parsec has not been built with profiling
(`profile` USE flag, which I have enabled globally).

Parsec is a parsing library for Haskell.

-- 
_jsn
-- 
[EMAIL PROTECTED] mailing list



[gentoo-user] Possible needed lib missing?

2007-12-26 Thread reader
I'm building up a minimal install a bit at a time... Or I should say
building down.  It was a full install at one point.

I'm getting strange behavior in vim when accessing the minimal machine
thru ssh from another gentoo box.

When using vims search tool on the remote (/) normally you can scroll
thru previous search strings with up/down arrow.  But I'm getting up
printed literally instead when I press up/down to access a previous
search.

It seems a safe bet it has to do with paring down the install since it
worked normally previously.  

I've edited down the world list, changed a number of USE flags,
changed the profile to hardened/x86/minimal.  Ran emerge -vuDN world
followed by `emerge --depclean' and `revdep-rebuild'.  All succeeded.

Does anyone know what library might be involved with scrolling
previous/next with up/down arrow keys in vim?  I thought readline
right away but that is installed and at the newest version.

I also thought it might be from coming in via ssh with xterm going to
a console only install so I tried:  TERM=linux ssh [...]

It made no difference at all.

Any ideas what else to look at?

-- 
[EMAIL PROTECTED] mailing list