Re: [gentoo-user] Can't update to go-1.4.2

2015-09-09 Thread Ajai Khattri

On Fri, 4 Sep 2015, Fernando Rodriguez wrote:


Post your emerge --info.
Why do you have  i686-pc-linux-gnu-gcc on a 64-bit machine?


FYI, this is 32bit Gentoo running on a 64bit virtual machine (so it has a 
64bit kernel) because awhile ago I upgraded from a 32bit setup. Was hoping 
I wouldn't have to reinstall the whole OS...


Output from emerge --info:

Portage 2.2.20.1 (python 2.7.9-final-0, default/linux/x86/13.0, gcc-4.6.3, 
glibc-2.20-r2, 4.1.5-x86_64-linode61 x86_64)

=
System uname: 
Linux-4.1.5-x86_64-linode61-x86_64-Intel-R-_Xeon-R-_CPU_E5-2680_v3_@_2.50GHz-with-gentoo-2.2

KiB Mem: 2047052 total, 24452 free
KiB Swap: 524284 total,523404 free
Timestamp of repository gentoo: Mon, 17 Aug 2015 20:30:01 +
sh bash 4.3_p33-r2
ld GNU ld (Gentoo 2.24 p1.4) 2.24
app-shells/bash:  4.3_p33-r2::gentoo
dev-lang/perl:5.20.2::gentoo
dev-lang/python:  2.4.6::gentoo, 2.5.4-r4::gentoo, 2.6.9::gentoo, 
2.7.9-r1::gentoo, 3.1.4-r3::gentoo, 3.2.5-r6::gentoo, 3.3.5-r1::gentoo, 
3.4.1::gentoo

dev-util/cmake:   3.2.2::gentoo
dev-util/pkgconfig:   0.28-r2::gentoo
sys-apps/baselayout:  2.2::gentoo
sys-apps/openrc:  0.12.4::gentoo
sys-apps/sandbox: 2.6-r1::gentoo
sys-devel/autoconf:   2.13::, 2.69::gentoo
sys-devel/automake:   1.4_p6::, 1.5::repository>, 1.6.3::, 1.7.9-r1::, 
1.8.5-r3::, 1.9.6-r2::, 
1.10.3::gentoo, 1.11.6::gentoo, 1.12.6::gentoo, 1.13.4::gentoo, 
1.14.1::gentoo, 1.15::gentoo

sys-devel/binutils:   2.24-r3::gentoo
sys-devel/gcc:4.1.2::, 4.3.4::gentoo, 
4.4.5::gentoo, 4.5.4::gentoo, 4.6.3::gentoo, 4.7.3-r1::gentoo, 
4.8.4::gentoo

sys-devel/gcc-config: 1.7.3::gentoo
sys-devel/libtool:2.4.6::gentoo
sys-devel/make:   4.1-r1::gentoo
sys-kernel/linux-headers: 3.18::gentoo (virtual/os-headers)
sys-libs/glibc:   2.20-r2::gentoo
Repositories:

gentoo
location: /usr/portage
sync-type: rsync
sync-uri: rsync://rsync.gentoo.org/gentoo-portage
priority: -1000

x-portage
location: /usr/local/portage
masters: gentoo
priority: 0

ACCEPT_KEYWORDS="x86"
ACCEPT_LICENSE="* -@EULA"
CBUILD="i686-pc-linux-gnu"
CFLAGS="-O2 -mtune=i686 -pipe"
CHOST="i686-pc-linux-gnu"
CONFIG_PROTECT="/etc /usr/share/gnupg/qualified.txt"
CONFIG_PROTECT_MASK="/etc/ca-certificates.conf /etc/env.d 
/etc/fonts/fonts.conf /etc/gconf /etc/gentoo-release 
/etc/php/apache2-php5.3/ext-active/ /etc/php/apache2-php5.4/ext-active/ 
/etc/php/apache2-php5.5/ext-active/ /etc/php/apache2-php5.6/ext-active/ 
/etc/php/cgi-php5.3/ext-active/ /etc/php/cgi-php5.4/ext-active/ 
/etc/php/cgi-php5.5/ext-active/ /etc/php/cgi-php5.6/ext-active/ 
/etc/php/cli-php5.3/ext-active/ /etc/php/cli-php5.4/ext-active/ 
/etc/php/cli-php5.5/ext-active/ /etc/php/cli-php5.6/ext-active/ 
/etc/revdep-rebuild /etc/sandbox.d /etc/terminfo"

CXXFLAGS="-O2 -mtune=i686 -pipe"
DISTDIR="/usr/portage/distfiles"
FCFLAGS="-O2 -march=i686 -pipe"
FEATURES="assume-digests binpkg-logs config-protect-if-modified distlocks 
ebuild-locks fixlafiles merge-sync news parallel-fetch preserve-libs 
protect-owned sandbox sfperms strict unknown-features-warn unmerge-logs 
unmerge-orphans userfetch userpriv usersandbox usersync"

FFLAGS="-O2 -march=i686 -pipe"
GENTOO_MIRRORS="http://mirror.usu.edu/mirrors/gentoo/ 
http://gentoo.llarian.net/ http://mirrors.rit.edu/gentoo/ 
http://gentoo.netnitco.net;

LDFLAGS="-Wl,-O1 -Wl,--as-needed"
MAKEOPTS="-j3"
PKGDIR="/usr/portage/packages"
PORTAGE_CONFIGROOT="/"
PORTAGE_RSYNC_OPTS="--recursive --links --safe-links --perms --times 
--omit-dir-times --compress --force --whole-file --delete --stats 
--human-readable --timeout=180 --exclude=/distfiles --exclude=/local 
--exclude=/packages"

PORTAGE_TMPDIR="/var/tmp"
USE="apache2 bash-completion berkdb bzip2 cli cracklib crypt cxx dri gdbm 
iconv ipv6 ithreads modules ncurses nls nptl nptlonly openmp pam pcre 
readline seccomp session ssl tcpd threads unicode x86 zlib" ABI_X86="32" 
ALSA_CARDS="ali5451 als4000 atiixp atiixp-modem bt87x ca0106 cmipci 
emu10k1 emu10k1x ens1370 ens1371 es1938 es1968 fm801 hda-intel intel8x0 
intel8x0m maestro3 trident usb-audio via82xx via82xx-modem ymfpci" 
APACHE2_MODULES="actions alias auth_basic auth_digest authn_anon authn_dbd 
authn_dbm authn_default authn_file authz_dbm authz_default authz_groupfile 
authz_host authz_owner authz_user autoindex cache dav dav_fs dav_lock dbd 
deflate dir disk_cache env expires ext_filter file_cache filter headers 
ident imagemap include info log_config logio mem_cache mime mime_magic 
negotiation proxy proxy_ajp proxy_balancer proxy_connect proxy_http 
rewrite setenvif so speling status unique_id userdir usertrack 
vhost_alias" APACHE2_MPMS="worker" CALLIGRA_FEATURES="kexi words flow plan 
sheets stage tables krita karbon braindump author" CAMERAS="ptp2" 
COLLECTD_PLUGINS="df interface irq load memory rrdtool swap syslog" 

[gentoo-user] Can't update to go-1.4.2

2015-09-04 Thread Ajai Khattri


I know that Go 1.5 is limited to 64bit CPUs but im running on a 64bit CPU 
and Im trying to update Go from 1.0 to the latest stable (which is 1.4.2 
anyway):


dev ~ #  emerge -uDatv dev-lang/go

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!
[ebuild U  ] dev-lang/go-1.4.2::gentoo [1.0.1::gentoo] 
USE="(-bash-completion%*) (-emacs%) (-pax_kernel%) (-vim-syntax%*) 
(-zsh-completion%)" 0 KiB


Total: 1 package (1 upgrade), Size of downloads: 0 KiB

Would you like to merge these packages? [Yes/No]


Verifying ebuild manifests



Emerging (1 of 1) dev-lang/go-1.4.2::gentoo
 * go1.4.2.src.tar.gz SHA256 SHA512 WHIRLPOOL size ;-) ...   [ 
ok ]

Unpacking source...
Unpacking go1.4.2.src.tar.gz to 

/var/tmp/portage/dev-lang/go-1.4.2/work

Source unpacked in /var/tmp/portage/dev-lang/go-1.4.2/work
Preparing source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ...
Source prepared.
Configuring source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ...
Source configured.
Compiling source in /var/tmp/portage/dev-lang/go-1.4.2/work/go ...

# Building C bootstrap tool.
cmd/dist

# Building compilers and Go bootstrap tool for host, linux/amd64.
lib9
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/atoi.c:1:0: error: CPU 
you selected does not support x86-64 instruction set
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_p9dir.c:1:0: error: 
CPU you selected does not support x86-64 instruction 
set/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/await.c:1:0: error: 
CPU you selected does not support x86-64 instruction set


go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/atoi.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/atoi.c
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_exits.c:1:0: error: 
CPU you selected does not support x86-64 instruction set
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/_exits.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_exits.c
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/await.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/await.c
go tool dist: FAILED: i686-pc-linux-gnu-gcc -O2 -mtune=i686 -pipe -Wall 
-Wstrict-prototypes -Wextra -Wunused -Wno-sign-compare -Wno-missing-braces 
-Wno-parentheses -Wno-unknown-pragmas -Wno-switch -Wno-comment 
-Wno-missing-field-initializers -fno-common -ggdb -pipe -fmessage-length=0 
-c -m64 -I /var/tmp/portage/dev-lang/go-1.4.2/work/go/include -DPLAN9PORT 
-I /var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9 -o $WORK/_p9dir.o 
/var/tmp/portage/dev-lang/go-1.4.2/work/go/src/lib9/_p9dir.c

 * ERROR: dev-lang/go-1.4.2::gentoo failed (compile phase):
 *   build failed
 *
 * Call stack:
 * ebuild.sh, line  93:  Called src_compile
 *   environment, line 1886:  Called die
 * The specific snippet of code:
 *   ./make.bash || die "build failed"
 *
 * If you need support, post the output of `emerge --info 
'=dev-lang/go-1.4.2::gentoo'`,
 * the complete build log and the output of `emerge -pqv 
'=dev-lang/go-1.4.2::gentoo'`.
 * The complete build log is located at 
'/var/tmp/portage/dev-lang/go-1.4.2/temp/build.log'.
 * The ebuild environment file is located at 
'/var/tmp/portage/dev-lang/go-1.4.2/temp/environment'.

 * Working directory: '/var/tmp/portage/dev-lang/go-1.4.2/work/go/src'
 * S: '/var/tmp/portage/dev-lang/go-1.4.2/work/go'


Failed to emerge dev-lang/go-1.4.2, Log file:



 '/var/tmp/portage/dev-lang/go-1.4.2/temp/build.log'


 * Messages for package dev-lang/go-1.4.2:

 * ERROR: dev-lang/go-1.4.2::gentoo failed (compile phase):
 *   build failed
 *
 * Call stack:
 * ebuild.sh, line  93:  Called src_compile
 *   environment, line 1886:  Called die
 * The specific snippet of code:
 *   ./make.bash || 

[gentoo-user] PHP slots

2015-08-19 Thread Ajai Khattri


Are packages of major versions of PHP all slotted now?
In trying to upgrade from 5.3 to 5.6 I get the following query:

# emerge -uDatvk dev-lang/php

 * IMPORTANT: 8 news items need reading for repository 'gentoo'.
 * Use eselect news read to view new items.


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

Calculating dependencies... done!

Total: 0 packages, Size of downloads: 0 KiB

!!! The following installed packages are masked:
- dev-lang/php-5.3.28-r3::gentoo (masked by: package.mask)
/usr/portage/profiles/package.mask:
# Brian Evans grkni...@gentoo.org (22 Mar 2015)
# PHP 5.3.x is vulnerable to several security bugs and has
# reached EOL status. (Bugs #533998, #537586, #537590, #538822, #541098)
# Masked pending resolution to bug #538756

For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.



 * dev-lang/php:5.3
 * dev-lang/php:5.4
 * dev-lang/php:5.5

Would you like to add these packages to your world favorites? [Yes/No]


I always thought the idea of adding specific slots to my world file a bad 
idea ?



- 
A




Re: [gentoo-user] Trying to debug postgrey

2014-10-22 Thread Ajai Khattri

On Wed, 22 Oct 2014, thegeezer wrote:


i had this happen the other day, it's an issue with postgrey + perl 5.18
https://bugs.gentoo.org/show_bug.cgi?id=521912


I had a feeling that the recent Perl updates may have borked it. Good to 
know its not just me. Just did a sync - hopefully the new packages will 
fix it.



--
Ajai Khattri
Systems Admin | Web / Mobile Developer



[gentoo-user] Trying to debug postgrey

2014-10-21 Thread Ajai Khattri


Ive been running postgrey for years without any problems but today I 
noticed I hadn't gotten email for awhile and realized upon investigation 
that postgrey wasnt running so postfix was rejecting mail.


What's maddening is that I can run postgrey quite happily from the command 
line in the foregorund, but if I try to use the init script or otherwise 
try to daemonize it, it silently crashes:


# /etc/init.d/postgrey start
 * Starting Postgrey ...
 [ ok ]
# pgrep -af postgrey

Its not running.

The logs dont show anything useful. If I ask the init script to be verbose 
I see this:


# /etc/init.d/postgrey start --verbose
 * Caching service dependencies ...
 [ ok ]
 * Starting Postgrey ...
 * start-stop-daemon: fopen `/var/run/postgrey.pid': No such file or 
directory

 [ ok ]
#

which doesn't make much sense.


--
Ajai Khattri
Systems Admin | Web / Mobile Developer



Re: [gentoo-user] Re: Ruby is borked on my system

2014-06-27 Thread Ajai Khattri

On Fri, 27 Jun 2014, Hans de Graaff wrote:


On Thu, 26 Jun 2014 23:36:00 -0400, Ajai Khattri wrote:


!!! All ebuilds that could satisfy
virtual/rubygems[ruby_targets_ruby18]
have been masked.


You still have packages on your system that have been installed with the
ruby18 RUBY_TARGET. It's not immediately clear which package that is from
the output, but I suspect dev-ruby/rubygems? Re-emerging the packages
still installed for ruby18 should fix this.


I rebuiltd rubygems and the virtual but still no go.
Then I rebuilt rdoc (which pulled in a bunch of other stuff) but now 
emerge world says I have nothing left to build.


Hopefully I can revdep-rebuild and all should be OK.


Thanks,
--
A



[gentoo-user] Ruby is borked on my system

2014-06-26 Thread Ajai Khattri


Ive ran into a brick wall trying to update one of my servers. I have been 
using Gentoo for a long time but I haven't been following it as closely 
for the past year so maybe there have been changes Im not aware of. Ive 
already Googled and checked archives without really solving my problem.


When I try to update world I get this:

# emerge -uDatvk world

 * IMPORTANT: 2 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been 
pulled

!!! into the dependency graph, resulting in a slot conflict:

dev-ruby/rubygems:0

  (dev-ruby/rubygems-2.0.14::gentoo, ebuild scheduled for merge) pulled in 
by
=dev-ruby/rubygems-2.0.2[ruby_targets_ruby20] required by 
(dev-lang/ruby-2.0.0_p353::gentoo, installed)
dev-ruby/rubygems[ruby_targets_ruby20] required by 
(virtual/rubygems-6::gentoo, ebuild scheduled for merge)


  (dev-ruby/rubygems-2.0.14::gentoo, installed) pulled in by
(no parents that aren't satisfied by other packages in this slot)


!!! Enabling --newuse and --update might solve this conflict.
!!! If not, it might help emerge to give a more specific suggestion.


!!! All ebuilds that could satisfy virtual/rubygems[ruby_targets_ruby18] 
have been masked.
!!! One of the following masked packages is required to complete your 
request:

- virtual/rubygems-7::gentoo (masked by: ~x86 keyword)
- virtual/rubygems-5::gentoo (masked by: missing keyword)

(dependency required by dev-ruby/rdoc-4.0.1-r1[-test] [installed])
(dependency required by dev-lang/ruby-2.0.0_p353[rdoc] [installed])
(dependency required by virtual/rubygems-6 [ebuild])
(dependency required by dev-ruby/json-1.8.0 [installed])
For more information, see the MASKED PACKAGES section in the emerge
man page or refer to the Gentoo Handbook.


From reading other threads I have set RUBY_TARGETS in make.conf to be 

ruby19 ruby20 and Ive used eselect to set the default config to ruby19.

I have not been able to fix this problem so far.


Any ideas how to proceed?

--



[gentoo-user] Latest perl update has conflicts

2014-02-03 Thread Ajai Khattri


Im updating some boxes after a few months and keep hitting the same 
conflicts:



WARNING: One or more updates have been skipped due to a dependency 
conflict:


dev-lang/perl:0

  (dev-lang/perl-5.16.3::gentoo, ebuild scheduled for merge) conflicts 
with
dev-lang/perl[-build] required by (dev-perl/PlRPC-0.202.0::gentoo, 
installed)
  (dev-lang/perl-5.16.3::gentoo, ebuild scheduled for merge) conflicts 
with
dev-lang/perl[-build] required by 
(dev-perl/HTTP-Negotiate-6.0.0::gentoo, installed)
  (dev-lang/perl-5.16.3::gentoo, ebuild scheduled for merge) conflicts 
with
dev-lang/perl[-build] required by 
(dev-perl/WWW-RobotRules-6.10.0::gentoo, installed)
  (dev-lang/perl-5.16.3::gentoo, ebuild scheduled for merge) conflicts 
with
dev-lang/perl[-build] required by 
(dev-perl/Net-Daemon-0.480.0::gentoo, installed)



Someone has probably come across the same problem - how to fix ?



--
A



Re: [gentoo-user] Re: What's the story with 2.6.35 kernel?

2010-09-11 Thread Ajai Khattri

On Sat, 11 Sep 2010, Nikos Chantziaras wrote:

Extremely bad idea.  It's no wonder something did break.  You can't just 
silentoldconfig between kernel versions and expect it to always work.  At 
least oldconfig would catch new options (which might be options replacing 
old ones.)


silentoldconfig shows all the new options too. I think the main problem 
was the changes in udev.



--
A




[gentoo-user] What's the story with 2.6.35 kernel?

2010-09-10 Thread Ajai Khattri


I upgraded several machines and some failed to boot 2.6.35, they just hang 
after grub starts loading the kernel. Some of these I managed to fix by 
comparing kernel configs with working machines, others dont work at all.


The worst case is one where Ive upgraded udev to the latest which only 
works with kernels 2.6.25 or higher, and the last working kernel on that 
machine is 2.6.24 (grr!). Wondering if I can download a binary package of 
udev-149 from somewhere (or can I build it on another machine in a sandbox 
and package it with quickpkg?). Im kind of under pressure to fix this box 
but dont have udev-149 on any other machine available :-(


That'll teach me to upgrade to the latest and greatest too fast...



--
A



Re: [gentoo-user] Re: What's the story with 2.6.35 kernel?

2010-09-10 Thread Ajai Khattri

On Fri, 10 Sep 2010, walt wrote:


On 09/10/2010 03:18 PM, Ajai Khattri wrote:


I upgraded several machines and some failed to boot 2.6.35, they just hang 
after grub starts loading the kernel. Some of these I managed to fix by 
comparing kernel configs with working machines...


What kernel config items did you change to fix those broken machines?


The two main ones seemed to be disabling the deprecated ATA drivers and 
another one was disabling some sysfs options. But these changes didn't 
help in this case. At this point, I think Im better off sticking to the 
older kernel until I figure this out properly so Ive focussed my efforts 
on getting that working.


I have since booted off a recent boot CD, mounted the RAID partitions and 
tried downgrading udev so I can maybe boot the older kernel. This didn't 
work since the LiveCD is newer than the original CD I used to build this 
box, and the naming conventions for RAID devices seems to have changed 
(and building udev from a LiveCD means Im using newer /proc and /dev!).


The older kernel loads but then says my root device doens't exist.

Under the old scheme I specified /dev/md1 as my root in grub.conf but 
since this doesn't exist the boot fails. In trying to fix this I see that 
the LiveCD uses the following device files for the RAID partitions: 
/dev/md123 /dev/md124 /dev/md125 /dev/md126. Should I be using those in 
grub.conf now?




--
A



Re: [gentoo-user] Re: What's the story with 2.6.35 kernel?

2010-09-10 Thread Ajai Khattri

On Sat, 11 Sep 2010, Nikos Chantziaras wrote:


On 09/11/2010 01:18 AM, Ajai Khattri wrote:


I upgraded several machines and some failed to boot 2.6.35, they just
hang after grub starts loading the kernel.


If you updated from 2.6.34 or even 33, then there shouldn't be a problem; 
make oldconfig should have worked OK and presented new/changed config 
options in a sane way.


On this particular box I was updating from 2.6.24 to 2.6.35 and I always 
use 'make silentoldconfig' when upgrading.



--
A



Re: [gentoo-user] Re: What's the story with 2.6.35 kernel?

2010-09-10 Thread Ajai Khattri

On Fri, 10 Sep 2010, Ajai Khattri wrote:

Under the old scheme I specified /dev/md1 as my root in grub.conf but since 
this doesn't exist the boot fails. In trying to fix this I see that the 
LiveCD uses the following device files for the RAID partitions: /dev/md123 
/dev/md124 /dev/md125 /dev/md126. Should I be using those in grub.conf now?


Long story short: I used the LiveCD device names in grub.conf and my fstab 
and I can now successfully boot the older 2.6.24 kernel. Everything seems 
to be working. I will have to read up on the naming scheme changes - 
advice/tips? (/dev/md1 is easier to remember than /dev/md124 :-)




--
A



Re: [gentoo-user] Re: Shared libraries in Gentoo

2010-09-07 Thread Ajai Khattri

On Tue, 7 Sep 2010, Al wrote:


When you say Gentoo, do you mean Portage? Remember Windows has a lot of
limitations that WILL get in your way so dont be surprised when things
break.


I am specially interested in Gentoo because it is not another linux
distribution, but an administration tool to build your own sources and
it's scope is wider than linux.


Which doesn't actually answer the question...



--
A



Re: [gentoo-user] How to fix circular dependency?

2010-09-07 Thread Ajai Khattri

On Tue, 7 Sep 2010, Alex Schuster wrote:


It means that portage wants to install both dev-php/PEAR-PEAR-1.9.0 and
dev-php/PEAR-PEAR-1.6.2-r1 at the same time. I don't understand why, looks
to me like it should keep you already installed 1.6.2-r1 version.
Do you need to have this package in world? Does the conflict also happen
if not?

In case you are running portage 2.1, you might give 2.2 a try. It is
better at resolving such stuff, but still fails sometimes.


I decided to uninstall PEAR-PEAR to get past this (I figured I could 
always reinstall later after I finish all other updates).


So far so good, thanks.



--
A



Re: [gentoo-user] How to fix circular dependency?

2010-09-06 Thread Ajai Khattri

On Sun, 5 Sep 2010, Dale wrote:


Try this:

emerge -1av =*glibc*-2.10.1-r1


# emerge -1av =*glibc*-2.10.1-r1

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies -

!!! '=*glibc*-2.10.1-r1' is not a valid package atom.
!!! Please check ebuild(5) for full details.
!!! (Did you specify a version but forget to prefix with '='?) 
... done!




--
A




Re: [gentoo-user] How to fix circular dependency?

2010-09-06 Thread Ajai Khattri

On Mon, 6 Sep 2010, Alex Schuster wrote:


What Dale meant is to try installling sys-libs/glibc-2.10.1-r1. I have not
checked the depencencies, but the idea is that this version of glibc does
not depend on the new gcc, which would pull in the new glibc. So try this:

emerge -1a =sys-libs/glibc-2.10.1-r1

If it does not work, I'd try another glibc. eix sys-libs/glibc lists them
all.


OK, Ive managed to proceed a little further, but now Im encountering this:

# emerge -uDtpvk world

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

Calculating dependencies... done!

!!! Multiple package instances within a single package slot have been 
pulled

!!! into the dependency graph, resulting in a slot conflict:

dev-php/PEAR-PEAR:0

  ('ebuild', '/', 'dev-php/PEAR-PEAR-1.9.0', 'merge') pulled in by
=dev-php/PEAR-PEAR-1.6.1 required by ('installed', '/', 
'dev-php/PEAR-Net_Socket-1.0.8', 'nomerge')
=dev-php/PEAR-PEAR-1.6.1 required by ('installed', '/', 
'dev-php/PEAR-Mail-1.1.14', 'nomerge')

dev-php/PEAR-PEAR required by world
(and 1 more)

  ('installed', '/', 'dev-php/PEAR-PEAR-1.6.2-r1', 'nomerge') pulled in by
dev-php/PEAR-PEAR-1.8.1 required by ('installed', '/', 
'dev-php/PEAR-Net_SMTP-1.2.10', 'nomerge')
dev-php/PEAR-PEAR-1.8.1 required by ('installed', '/', 
'dev-php/PEAR-Mail-1.1.14', 'nomerge')

dev-php/PEAR-PEAR required by world
(and 1 more)


Not sure what this message means?



--
A



Re: [gentoo-user] Re: Shared libraries in Gentoo

2010-09-06 Thread Ajai Khattri

On Tue, 7 Sep 2010, Al wrote:


No, I am comming from a Debian/Ubuntu background where it simply
worked.


Same mechanism there too - Debian/Ubuntu also use /etc/ld.so.conf and/or 
/etc/ld.so.conf.d. You dont see it because you only deal with binary 
packages when updating in Debian/Ubuntu.



Now I try to port Gentoo to Cygwin and it doesn't always work.


When you say Gentoo, do you mean Portage? Remember Windows has a lot of 
limitations that WILL get in your way so dont be surprised when things 
break.



--
A



Re: [gentoo-user] Wine complains about Gecko

2010-09-06 Thread Ajai Khattri

On Tue, 7 Sep 2010, Nikos Chantziaras wrote:

When I try to launch a Windows program in Wine (1.3.2), an error dialog 
appears informing me that Gecko is not installed and the program might not 
work (which it doesn't).  It has an install button there, but mentions that 
it would be better if the distro, Gentoo in this case, would offer it and 
install it from there.


I can't find any such package in portage though.  eix gecko only finds 
dev-dotnet/gecko-sharp and www-plugins/gecko-mediaplayer.


Gecko is part of Firefox.

http://en.wikipedia.org/wiki/Gecko_(layout_engine)


--
A



[gentoo-user] How to fix circular dependency?

2010-09-05 Thread Ajai Khattri


This box hasn't been updated in awhile:

# emerge -uDtav1k portage

 * IMPORTANT: 1 news items need reading for repository 'gentoo'.
 * Use eselect news to read news items.


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

Calculating dependencies... done!


[nomerge  ] sys-apps/portage-2.1.8.3 [2.1.6.4] USE=-python3%
[nomerge  ]  dev-lang/python-2.6.5-r3 [2.4.4-r14, 2.5.2-r7] 
USE=berkdb gdbm ipv6 ncurses readline ssl threads (wide-unicode) xml 
-build -doc -examples -sqlite -tk -wininst

[nomerge  ]   app-admin/eselect-python-20100321
[nomerge  ]sys-devel/gcc-4.4.3-r2 [4.1.2] USE=mudflap nptl openmp 
(-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj -graphite 
-gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) -nls 
-nocxx -objc -objc++ -objc-gc -test -vanilla

[ebuild U ] sys-libs/glibc-2.11.2 [2.6.1] USE=-gd% -vanilla%
[ebuild  NS   ]  sys-devel/gcc-4.4.3-r2 [4.1.2] USE=mudflap nptl 
openmp (-altivec) -bootstrap -build -doc (-fixed-point) -fortran -gcj 
-graphite -gtk (-hardened) (-libffi) (-multilib) -multislot (-n32) (-n64) 
-nls -nocxx -objc -objc++ -objc-gc -test -vanilla


 * Error: circular dependencies:

('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') depends on
  ('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') (hard)
('ebuild', '/', 'sys-devel/gcc-4.4.3-r2', 'merge') depends on
  ('ebuild', '/', 'sys-libs/glibc-2.11.2', 'merge') (hard)

 * Note that circular dependencies can often be avoided by temporarily
 * disabling USE flags that trigger optional dependencies.


--
Aj.



Re: [gentoo-user] Can't resolve package blocks

2010-05-02 Thread Ajai Khattri

On Sat, 1 May 2010, Arttu V. wrote:


I'd unmask the testing graded media-libs/libdc1394-2.1.2 in
package.keywords for the time being (or mask libraw1394-2.0.x), while
waiting for the stabilisation of newer libdc1394 versions. Which
unfortunately appears to be stuck:

http://bugs.gentoo.org/show_bug.cgi?id=315655


Unmasking =libdc1394-2 was successful in removing the block, thanks.



--
A



Re: [gentoo-user] Can't resolve package blocks

2010-05-01 Thread Ajai Khattri

On Fri, 30 Apr 2010, Paul Hartman wrote:


Use the --tree option in your emerge commandline so it will show which
packages are trying to pull in these.


I am using the -t flag - that's what I pasted earlier.


It looks like you're using
stable, I'm on ~amd64 and don't have these blocks so maybe it's
something worked out by newer versions.


This is a ppc machine...


On the other hand, if you have
unmasked any unstable packages maybe they're trying to pull in the
conflictiong versions?


I have practically nothing unmasked (just gnomeprint so unrelated).

I have ffmpeg, libraw and libdc1394 unmerged, so its not clear what's 
pulling them in. You can see the N showing that they're new installs.




--




[gentoo-user] Can't resolve package blocks

2010-04-29 Thread Ajai Khattri


I have unmerged ffmpeg, libraw1394 and libdc1394 and I still can't resolve 
this block:


[nomerge  ] media-video/ffmpeg-0.5_p20373  USE=X alsa amr encode 
hardcoded-tables ieee1394 ipv6 network theora threads vorbis x264 zlib 
(-3dnow) (-3dnowext) -altivec -bindist -cpudetection -custom-cflags -debug 
-dirac -doc -faac -faad -gsm -jack -jpeg2k (-mmx) (-mmxext) -mp3 -oss -pic 
-schroedinger -sdl -speex (-ssse3) -test -v4l -v4l2 -vdpau -xvid 
VIDEO_CARDS=(-nvidia)  [0]

[ebuild  N]  media-libs/opencore-amr-0.1.2  849 kB [0]
[ebuild  N]  sys-libs/libraw1394-2.0.4  368 kB [0]
[nomerge  ] x11-libs/gtk+-2.18.7 [2.16.6] USE=cups jpeg tiff (-aqua) 
-debug -doc -jpeg2k -test -vim-syntax -xinerama (-X%*)  [0]
[ebuild  N]  media-libs/tiff-3.9.2-r1  USE=cxx jpeg zlib -jbig 1,387 
kB [0]

[ebuild  N]   media-libs/jpeg-8a  951 kB [0]
[blocks B ] media-libs/libdc1394-1.2.2 (media-libs/libdc1394-1.2.2 
is blocking sys-libs/libraw1394-2.0.4)


Total: 79 packages (68 upgrades, 10 new, 1 in new slot, 6 uninstalls), 
Size of downloads: 174,892 kB

Conflict: 13 blocks (1 unsatisfied)
Portage tree and overlays:
 [0] /usr/portage
 [?] indicates that the source repository could not be determined

 * Error: The above package list contains packages which cannot be
 * installed at the same time on the same system.

  ('ebuild', '/', 'media-libs/libdc1394-1.2.1', 'merge') pulled in by
media-libs/libdc1394 required by ('ebuild', '/', 
'media-video/ffmpeg-0.5_p20373', 'merge')


  ('ebuild', '/', 'sys-libs/libraw1394-2.0.4', 'merge') pulled in by
sys-libs/libraw1394 required by ('ebuild', '/', 
'media-video/ffmpeg-0.5_p20373', 'merge')
=sys-libs/libraw1394-0.9.0 required by ('ebuild', '/', 
'media-libs/libdc1394-1.2.1', 'merge')





--




Re: [gentoo-user] maintaining clones

2009-08-02 Thread Ajai Khattri

On Fri, 31 Jul 2009, Dan Farrell wrote:


hmm... network booting?  network mounting?  install packages once on
one system, share them with everyone.  Share passwd/shadow files and
the like manually, or symlink them to skeletal versions symlinked to
somewhere that can be obscured and replaced by a network boot.  you
could even boot them from thumb drives or cds.

of course, it would be a good bit of work to configure initially,
and might not go whithout a hitch.


For configuration, you may want to look at something like puppet to manage 
that. Your build machine would the puppetmaster and keep the other 
machines' configs up-to-date.




--
A



Re: [gentoo-user] Latest X on G3 PPC?

2009-06-09 Thread Ajai Khattri

On Wed, 27 May 2009, Saphirus Sage wrote:


I've attached my xorg from my G4 eMac, hopefully it will be of some help.


Actually, that config works without any changes!

I merged in the monitor and screens config from my old config and I have 
my desktop back again. The only difference as far as I can tell is that my 
old config specified at ATI device and yours specifies a Radeon device.



Anyway, thanks very much!


--
A



Re: [gentoo-user] OT: buying a keyboard

2009-06-04 Thread Ajai Khattri

On Sun, 31 May 2009, Adrian wrote:


It's finally getting worn out, keys are sticking pretty bad.  I would
like to get a new one, but the company I purchased it from (via the
internet) seems to not exist any more.  Some google action has not
resulted in locating any similar keyboards.


About once a year, I wash all my keyboards (no, seriously). Dishwasher, 
quick wash, cold, then leave somewhere warm to dry for a couple days.


Afterwards, the tactile response feels like new :-)


--
A



Re: [gentoo-user] [OT] Running two apaches and MySQLs on the same server

2009-06-04 Thread Ajai Khattri

On Thu, 28 May 2009, Alan McKinnon wrote:


It' sin the apache docs, called IP based virtual hosts if memory serves.


If you want to run SSL, then IP vhosts is the only way to go.



--
A



Re: [gentoo-ppc-user] X on an older PPC-based Mac Mini?

2009-05-27 Thread Ajai Khattri

On Fri, 22 May 2009, Mark Knecht wrote:


  Are there any known issues setting up X with xorgconfig on a older
Mac Mini? I've done it more or less like I do on my x86 machines. I
can use startx and see things (xterm, xclock, etc.) in 'top' but I
only get a black screen. There are no error messages in the X log
file. I've tried two monitors. Same results on both.

  In make.cong I've got VIDEO_CARDS=radeon fbdev.

  What about hal? Is that only x86?

  Maybe someone with a similar first round Mac Mini has a known-good
config file?

  I'm really a noob on this platform, but have used Gentoo for quite
awhile. I'm not sure what info to provide so let me know what you need
and I'll get it quickly.


I have a similar problem.

I did have XFCE running quite happily on an old G3 (BlueWhite) PowerMac, 
but the recent X server upgrades have borked that up completely. Ive 
followed the upgrade guides without getting anywhere. Im looking for a X 
config file too.


Doesn't seem to be much traffic on this list though...



--
A



[gentoo-user] Latest X on G3 PPC?

2009-05-27 Thread Ajai Khattri


Anyone have a working xorg config file for an Apple G3 machine? I upgraded 
to the latest X and the desktop no longer works...



(Yes, Ive already asked on the PPC list too).




--
A



Re: [gentoo-user] Web based ftp alternative

2008-10-29 Thread Ajai Khattri

On Wed, 29 Oct 2008, Stroller wrote:

One simply uses Go then Connect to server - the menus indicate that the 
shortcut for this is Apple-K - and then types ftp://site.example.com in order 
to achieve an FTP connection. In the window displayed there is a + button 
allowing users to save favourite servers.


True but its a read-only view...


--
A



Re: [gentoo-user] user command auditing

2008-07-16 Thread A. Khattri

On Wed, 16 Jul 2008, Richard Marzan wrote:


Is there a tool or a way of keeping track of which commands user's are
executing on a system? I understand that history files can be wiped out
and they don't really contain the time at which a command and it's
arguments were run so I refrain from relying on it.


On traditional UNIX systems, system accounting logs (usually called 
acct) can be read via the lastcomm command. Im guessing that the 
sys-process/acct ebuild will give you those commands.


NOTE: You will also need kernel support for process/login accounting - 
look for process accounting in your kernel config and make sure it is 
switched on. (Natrually, you will need to rebuild your kernel / modules if 
it isn't switched on and reboot to activate it).



UPDATE: I just checked one of my kernels and the config option is called 
BSD-style process accouting - it lives in General Setup when configuring 
a kernel.



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



Re: [gentoo-user] [OT] Online bookmark keeper with good merge routine

2008-01-18 Thread A. Khattri

On Wed, 16 Jan 2008, [EMAIL PROTECTED] wrote:


I've been using sitebar as my online bookmark keeper for quite a while
but seem to have trouble merging in new bookmarks from multiple
machines ... what is supposed to be a merge turns into a replace
operation or so it seems .. but not always.


What about Google Browser Sync?

http://www.google.com/tools/firefox/browsersync/


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



[gentoo-user] PHP and glsa

2007-08-31 Thread A. Khattri


glas-check shows that PHP on one of my servers is vulnerable but in 
examining the GLSA and comparing my version against it I see I am running 
a version that is unaffected by this GLSA - so do I need to tell GLSA to 
ignore that package or is there something else Ive missed?


root# glsa-check -l | egrep '\[N\]'
[A] means this GLSA was already applied,
[U] means the system is not affected and
[N] indicates that the system might be affected.

200705-19 [N] PHP: Multiple vulnerabilities ( dev-lang/php )
200708-10 [N] MySQL: Denial of Service and information leakage ( 
dev-db/mysql )


root # glsa-check -d 200705-19 | grep Unaffected
Unaffected:=~4.4.7 =5.2.2

root# eix ^php$
[I] dev-lang/php
 Available versions:
(4) 4.4.7 4.4.8_pre20070816
(5) [m]5.1.6-r11 [m]5.2.2-r1 [m]5.2.3-r3 [m]5.2.4_pre200708051230-r2
 Installed versions:  4.4.8_pre20070816(4)(16:56:39 08/28/07)
 Description: The PHP language runtime engine: CLI, CGI and Apache2 
SAPIs.


Huh?

--
A
--
[EMAIL PROTECTED] mailing list



Re: [gentoo-ppc-user] Xorg + DRI on G3?

2007-06-12 Thread A. Khattri
On Mon, 28 May 2007, David Gurvich wrote:

 The end of block range error is trivial and happens on most ppc macs.  The
 real problem is the XIO error.  That usually happens when there is no driver
 in the kernel for your video card, the driver is misconfigured, or the wrong
 driver is used in xorg.conf.  If the driver is fine, I would suggest trying
 the following options in xorg.conf:

 *Confirm that the driver name is correct
 *Use DefaultDepth max of 16, you might try less
 *Try lower resolutions ie 800x600 instead of 1024x768
 *You might try turning drm off entirely

Yes, the driver was the problem after all.

I have the basic stuff working now and wanted to report back here.

It turns out that I had Apple UniNorth  U3 AGP support configured as a
MODULE instead of built-in. Loading the module manually and running X got
the basic stuff working.

After more tweaking I now have 24bit color running at 1600x1200 ;-)



-- 
A
-- 
[EMAIL PROTECTED] mailing list



Re: [gentoo-user] Best language for Ajax Web Developping

2006-12-28 Thread A. Khattri
On Thu, 28 Dec 2006, Strong Cypher wrote:

 I'm looking for a language really great for ajax web developping

 I really want a list of advantage a disadvantage, like

 Developper available who know well the language
 Ajax integration
 Framework object oriented ...

 Easy plugins install ...

 I'm searching and searching, I found 2 one

 Ruby, really beautifull, but lake of developper who know it are really a bad
 pointed, I can do a mistake perhaps
 And so PHP, lot's of people know it, smarty + adodb or pear, and object are
 fine, but does exist an alternative ?

There isn't a language specifically geared to doing AJAX stuff (AJAX is
usually Javascript anyway).

There are a lot of frameworks out there that might make it easier to
_generate_ AJAX code and/or work with specific AJAX libraries like
Prototype, Scriptaculous, Dojo, etc.

Some of the better frameworks:

Ruby on Rails: based on Ruby; comes with Prototype and helpers to work
with it. Ive found the Ruby folks to be very helpful - the Rails list is a
very high volume list! Very nice framework.

Symfony: PHP5 object-based; comes with Prototype and helpers; there is a
Dojo plugin; Yahoo used this framework to develop their new bookmarks
service (http://beta.bookmarks.yahoo.com/); Im using this at work
currently and have found it fairly easy to use.

If you like Python, you might want to check out Django or TurboGears (I
dont know much about them since I dont know Python but they have receieved
a lot of positive press).



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



RE: [gentoo-user] Apple keyboards with Gentoo

2006-12-22 Thread A. Khattri
On Thu, 21 Dec 2006, Nelson, David \(ED, PARD\) wrote:

 I may be preaching to the converted, but have you tried Ctrl-Alt-Fx keys
 to try and get a console? Does the keyboard have any odd switches to
 turn the F keys on? My logitech keyboard does - to switch between
 hotkeys and Fx keys.

Basically, Im using an Apple USB keyboard on an amd64 box. The Option
key (which has the word Alt written above it) does not function as an
ALT key at all (even on the console it doesn't work). So this tells me
that I need to set my keyboard map in the console and get that working
first (hopefully, the key will work in X too when I solve this).

Of course, I could just use a regular PC keyboard (though this Apple
keyboard was a spare I had lying around and Ive grown fond of it).

So... how do we play with the keyboard mapping in the console?


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



[gentoo-user] Unicode fonts

2006-12-22 Thread A. Khattri

Does anyone know of a good all-round font to use for a unicode console?
Ideally, I want to be able to display mostly European languages (though,
if there is a font out there that can deal with Asian languages too, that
would be great ;-)


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



Re: [gentoo-user] CFLAGS Core2Duo

2006-12-20 Thread A. Khattri
On Tue, 19 Dec 2006, Jakob wrote:

  Its funny till yesterday I didnt even know It supports 64bit ;-)

Any Pentium D (or higher) CPU supports 64bit.

 for now I will stick with 32bit, I think I will Install 64bit to
 another partition in some weeks

The other option is to have a pure 64bit system and have a 32bit chroot
inside it for those few apps that need to stay 32bit (running Flash
plugins with Firefox spring to mind).

My pure 64bit Gentoo box seems much faster to me...


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



[gentoo-user] Apple keyboards with Gentoo

2006-12-19 Thread A. Khattri

Anyone using an Apple USB keyboard with Gentoo Linux?

Specifically, Im running XFCE4 and want to figure out how to map some
keys and get some missing functionality. How can I set these up with
X11/XFCE? Also, I can't seem to switch between X11 and the console (I
think I can't even switch consoles outside of X11)

Anyone have any pointers / FAQs?

(I already Googled and an archive search proved fruitless).


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



Re: [gentoo-user] Gentoo apache2 VirtualHost :443 config

2006-12-08 Thread A. Khattri
On Thu, 7 Dec 2006, Grant wrote:

 Ok, knowing that others like it I'm more comfortable trying to get
 used to it.  It's all the IfDefine stuff I don't like.

Actually that makes it super flexible.

 What would you do if you needed a certain Location block for one
 domain but not for another, and you need both of the domains to
 function under SSL?  Is multiple IPs the only way?

YES.


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



Re: [gentoo-user] mysql-5.* unmasked

2006-11-25 Thread Ajai Khattri

On Thu, November 23, 2006 2:20 pm, Markus Schönhaber wrote:

 To me, this seems to indicate that masking virtual/mysql-5.0 too might
 help.

So, does this mean I can no longer get any updates for dev-perl/DBD-mysql
without upgrading to MySQL 5?


-- 
Aj.
Sys. Admin / Developer

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql-5.* unmasked

2006-11-25 Thread Ajai Khattri

On Thu, November 23, 2006 4:22 pm, Ryan Tandy wrote:

 You need to mask the virtual package that's depending on that, not the
 mysql package itself.

 $ sudo sed -i -e 's,dev-db/mysql,virtual/mysql,g'
 /etc/portage/package.mask

Looks like DBD-mysql depends on that virtual but I do not wish to upgrade
(I already have DBD-mysql installed and working with MySQL 4.1.



-- 
Aj.
Sys. Admin / Developer

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] mysql-5.* unmasked

2006-11-23 Thread A. Khattri
On Tue, 7 Nov 2006, Grant wrote:

 emerge world wants to update mysql from 4.1.21 to 5.0.26-r1 on my
 server this morning.  Has anyone made a similar upgrade?

More importantly, I would like to know why MUST I update to MySQL 5?

Im running 4.1 quite happily and have mysql-5 masked out in
/etc/portage/package.mask.


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



Re: [gentoo-user] mysql-5.* unmasked

2006-11-23 Thread A. Khattri
On Thu, 23 Nov 2006, Markus Schönhaber wrote:

 A. Khattri wrote:
  On Tue, 7 Nov 2006, Grant wrote:
   emerge world wants to update mysql from 4.1.21 to 5.0.26-r1 on my
   server this morning.  Has anyone made a similar upgrade?
 
  More importantly, I would like to know why MUST I update to MySQL 5?

 Why do you think you MUST? I doubt that there exists a law that says that
 you have to upgrade or you will be sent to jail if you don't.

  Im running 4.1 quite happily and have mysql-5 masked out in
  /etc/portage/package.mask.

 What's the problem then?

Nothing - apart from not being to *any* updates:

# emerge -uDtav world

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

Calculating world dependencies |
!!! All ebuilds that could satisfy =dev-db/mysql-5.0* have been masked.
!!! One of the following masked packages is required to complete your
request:
- dev-db/mysql-5.0.26-r1 (masked by: package.mask)


For more information, see MASKED PACKAGES section in the emerge man page
or
refer to the Gentoo Handbook.
(dependency required by virtual/mysql-5.0 [ebuild])



!!! Problem resolving dependencies for dev-db/mysql
!!! Depgraph creation failed.





Nice.



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



Re: [gentoo-user] Re: Exchange compatibility with MTAs (not evolution)

2006-10-20 Thread A. Khattri
On Fri, 18 Aug 2006, Jim Ramsay wrote:

 Sylpheed-claws has a 'vcalendar' plugin which reports to be compatible
 with Exchange calendar events.  I've never tried it, though.

 'emerge sylpheed-claws-vcalendar'


Maybe you can persuade them to use this drop-in replacement for Exchange:
http://www.postpath.com/

;-)


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



[gentoo-user] Mac k/b on PC?

2006-10-15 Thread A. Khattri

Im using a USB Mac keyboard on a regular (Intel) PC.
Works fine apart from the lack of a working ALT key (so I can't switch to
another virtual console).

I tried playing loading different keymaps using loadkeys but have not
found a working setup. Anyone got this working? Or can point me to some
docs?


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



Re: [gentoo-user] etc-update

2006-06-29 Thread A. Khattri
On Mon, 26 Jun 2006, Alexander Skwar wrote:

 A. Khattri wrote:

  For example, looking at diffs using vim via etc-update is easier to read
  than dispatch-conf. The fact that dispatch-conf can use archiving is nice
  but it uses the (archaic) rcs tool to do it.
 
  For me, seeing the diffs clearly is more important...

 ACK

 But dispatch-conf uses diff as well, so that's no advantage of etc-update
 over dispatch-conf.

Sorry the emphasis should have been on the word CLEARLY.

diff output is hard to read so I use vim (which is easy to configure and
use i etc-update).

(Bo pointed out that he's used vim to show diffs with dispathc-conf too).


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



Re: [gentoo-user] etc-update

2006-06-29 Thread A. Khattri
On Mon, 26 Jun 2006, David Corbin wrote:

 
  I don't see why use other tool. Etc-update works great...

 It works great,  But the interface sucks.

What exactly sucks? Be specific rather than making some vague sweeping
statement.


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



Re: [gentoo-user] etc-update

2006-06-29 Thread A. Khattri
On Mon, 26 Jun 2006, Philip Webb wrote:

 Even if you're not normally a Vim user, this shows the diffs very clearly
  allows you to copy your personal changes from old to new versions.

Vim is great for looking at diffs and copying between config files.

Anyone hacked dispath-conf to use cvs/svn (if I wanted to use rcs Id still
be using BSD ;-)

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



Re: [gentoo-user] etc-update

2006-06-26 Thread A. Khattri
On Mon, 26 Jun 2006, Bo Ørsted Andresen wrote:

 There are three competing utilities for this purpose. The official etc-update
 (which sucks and should have been deprecated a long time ago... ;) ),
 dispatch-conf and cfg-update.

Actually all the update tools have pros and cons.

For example, looking at diffs using vim via etc-update is easier to read
than dispatch-conf. The fact that dispatch-conf can use archiving is nice
but it uses the (archaic) rcs tool to do it.

For me, seeing the diffs clearly is more important...


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



Re: [gentoo-user] etc-update

2006-06-26 Thread A. Khattri
On Mon, 26 Jun 2006, Bo Ørsted Andresen wrote:

 On Monday 26 June 2006 16:29, A. Khattri wrote:
  For example, looking at diffs using vim via etc-update is easier to read
  than dispatch-conf. The fact that dispatch-conf can use archiving is nice
  but it uses the (archaic) rcs tool to do it.
 
  For me, seeing the diffs clearly is more important...

 Why would you think that cfg-update and dispatch-conf cannot show you the
 diffs?

Vim diff?

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



Re: [gentoo-user] etc-update

2006-06-26 Thread A. Khattri
On Mon, 26 Jun 2006, Teresa and Dale wrote:

 I also seem to recall that dispatch-conf didn't keep back-ups on mine.
 I had the directory but it was always empty even after a lot of
 updates.  You know of any reason for that?

Is use-rcs=yes in /etc/dispath-conf.conf ?



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



Re: [gentoo-user] [OT] which forum app to use?

2006-06-05 Thread A. Khattri
On Mon, 5 Jun 2006, Andrew Gaydenko wrote:

 The question is: which forum app to use??

I dont think this is in Portage:
http://getvanilla.com/


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



Re: [gentoo-user] email netiquette

2006-04-26 Thread A. Khattri
On Wed, 26 Apr 2006, Richard Fish wrote:

 Guys, I think most of this advice is going to be wasted on Windows
 users.  Outlook makes it damn near impossible to properly quote and
 trim a message when replying.  Be thankful if you never have to use
 that piece of .

Yeah, but we're not going down without a fight DAMN IT!


;-)

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



Re: [gentoo-user] bindkey

2006-04-25 Thread A. Khattri
On Tue, 25 Apr 2006, Glenn Enright wrote:

 Does anyone know which package supplies this function.

Its builtin to tcsh.


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



RE: [gentoo-user] Hotpluggable SATA question...

2006-04-21 Thread A. Khattri
On Fri, 21 Apr 2006, Sieb, Glenn E (Glenn) wrote:

 Brett,

  Will the hotplug package work on these drives?

 Hmm. (checks) Well, it appears to be installed.

 # equery list hotplug
 [ Searching for package 'hotplug' in all categories among: ]
  * installed packages
 [I--] [  ] sys-apps/hotplug-20040923-r1 (0)
 [I--] [  ] sys-apps/hotplug-base-20040401 (0)

 Further checking:

 There's a scsi.agent in /etc/hotplug/

 So now I've tried:

 hotplug scsi add sdb
 (which sounded like the right thing to do after looking at 
 /etc/hotplug/scsi.agent)

 Doing that command didn't give any feedback. dmesg hasn't changed... heck 
 doing hotplug scsi blah didn't give any feedback either.

 Thanks for the reply :) I'm hoping I can do this.

Please post back here if you get anywhere - I have the same hotswap
chassis (Im using software RAID 1 though).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Udev (?) oddity

2006-04-10 Thread A. Khattri
On Sun, 9 Apr 2006, Meino Christian Cramer wrote:


 Hi,

  the basic question is: Where should I start ?

  The problem: I updated several programs via emerge after they where
  flagged by the emerge -up world command.

Probably emerge -uDp would be better...

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] SSH + Keys

2006-03-08 Thread A. Khattri
On Wed, 8 Mar 2006, John Jolet wrote:

 I've had NO ssh portscans on my boxes since I moved them off of port
 22.  for security's sake, i won't tell you where I moved them to :)

I dont think moving ssh from port 22 will stop portscans but it will stop
brute force attacks directly on port 22.

I prefer to just run denyhosts on my servers instead:

# eix denyhosts
* app-admin/denyhosts
 Available versions:  1.1.2 1.1.2-r1 2.1
 Installed:   2.1
 Homepage:http://www.denyhosts.net
 Description: DenyHosts is a utility to help sys admins thwart ssh 
hackers


Found 1 matches

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Ebuild for net-mail/mailman

2006-02-20 Thread A. Khattri
On Mon, 20 Feb 2006, Jonatan Antoni wrote:

 I've just emerged mailman-2.1.7 and noticed that it is installed to
 /usr/local/mailman.

 IMHO the /usr/local-directory is not the right place for installing
 software by a package-management. I think it would be much better to
 place it to /opt or split the package up into the existing /usr-directory.

Generally, /opt in Gentoo is for binary-only or commercial packages.

Its perfectly reasonable to have local stuff under /usr/local (see FHS:
http://www.pathname.com/fhs/2.2/fhs-4.9.html).

Of course, you can change where stuff gets installed too.

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php5 upgrade instruction

2006-02-17 Thread A. Khattri
On Thu, 16 Feb 2006, Roy Wright wrote:

 

 http://www.gentoo.org/proj/en/php/php-upgrading.xml



And what if you dont want to upgrade?!


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] php5 upgrade instruction

2006-02-17 Thread A. Khattri
On Fri, 17 Feb 2006, A. Khattri wrote:

 On Thu, 16 Feb 2006, Roy Wright wrote:

  
 
  http://www.gentoo.org/proj/en/php/php-upgrading.xml
 


 And what if you dont want to upgrade?!

Never mind, I figured it out.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] DNS lookup fails on a server; no changes since it worked

2005-11-21 Thread A. Khattri
On Sun, 20 Nov 2005, Micah R Ledbetter wrote:

 I have a server out on the net, and it's been up for a week or two.
 I've been on and off it all week long, but as of last night, DNS
 didn't seem to work for it. Network connectivity worked, because not
 only could I ssh *in*, but I could also contact the outside network
 as long as I used something in the hosts file or an IP address.
 Adding more (known good) DNS servers to /etc/resolv.conf doesn't seem
 to help. DNS was working recently, and I haven't changed anything
 since then. A reboot didn't help (I would have just stopped 
 started networking... but, well, all I have is ssh, so...).

 One very weird thing is that it can apparently send mail to outside
 network addresses. It could send to my gmail account fine last night,
 though it seemed to take a while (20 minutes or so, when normally
 it's instantaneous). I don't have gmail or google in my /etc/hosts.

 I've seen elsewhere to look at the output of iptables, but it has
 never been installed.
 The contents of /etc/nsswitch.conf are at http://vlack.com/vlack/lol/
 nsswitch.conf. I'm getting nowhere, and I have no idea why.

What is /etc/resolv.conf?

Are you running a local name server or uses someone else's?

If you are using someone else's can you ping them?

If you can ping them, install bind-tools and see if you can run direct
queries against them with dig or host, something like:

dig @xxx.xxx.xxx.xxx -t mx gentoo.org

where xxx.xxx.xxx.xxx is the IP of the DNS server you are checking.

Lots of troubleshooting options here.



-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - SSL certificate authorities

2005-11-21 Thread A. Khattri
On Sat, 19 Nov 2005, kashani wrote:

 A. Khattri wrote:
  GeoTrust claim to have their root cert in 99% of the browsers out there...

 Claims and actually works are two different things.

   For the record IE 5 on the Mac is your big problem child.

IE 5 on Mac is a strange beast in many many ways (wearing my web developer
hat now ;-)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Is Gentoo still on the right path?

2005-11-19 Thread A. Khattri
On Wed, 16 Nov 2005, Mark Knecht wrote:

 I will admit that I have a big concern about an upcoming MySQL update
 that is probably going to break my whole TV network here. Due to my
 fear I haven't upgraded MySQL and will likely come back ranting myself
 sometime in December when I'm probably forced to do it. We'll see...

I have upgraded MySQL on several servers (two in production) without any
problems whatsoever...


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - SSL certificate authorities

2005-11-19 Thread A. Khattri
On Wed, 16 Nov 2005, kashani wrote:

   We've got a number of customers that use Geotrust which is
 significantly cheaper than Verisign/Thwate. Someone also uses Starfield
 which is dirt cheap.

   There is a technical issue when using certs no one has ever heard of
 before. Many times their cert company's root certs or whatever are not
 in the user's browser.

GeoTrust claim to have their root cert in 99% of the browsers out there...



-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Creating RAID devices - udev question

2005-11-19 Thread A. Khattri
On Sun, 20 Nov 2005, Brian Parish wrote:

 I have now implemented a smooth work-around by:

 1. Setting the RAID in fstab to noauto and no checking
 2. Creating a script in /etc/init.d which assembles and mounts the RAID set
 3. Adding this script to the default group using rc-update

Yes, this seems like an unnecessary kludge to me.

I have several servers all using software RAID, udev and 2.6 kernels (all
are SCSI, one is SATA) without any problems.



-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] [Iptables related] How to make one machine only talk on loc lan

2005-11-19 Thread A. Khattri
On Sat, 12 Nov 2005, Harry Putnam wrote:

 Machines 3-5 are heavy hitters for graphics work and are heavily
 loaded with such things as Photoshop, vegas, canopus Edius, Adobe
 Illustrator and the like.

 I don't want to have to worry about spyware,adware,virus prevention
 firewall stuff competing for resources with the graphics tools.
 Instead I'd like to prevent those three from contacting the internet.

 I want to isolate mch3-5 to only the local network.

Any simple off-the-shelf NAT router will do that.

But preventing updates (espec. if they're Windoze boxes) seems like a bad
idea to me.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] OT - SSL certificate authorities

2005-11-15 Thread A. Khattri
On Tue, 15 Nov 2005, Antoine wrote:

 We are going to set up ssl on a webserver at work and I guess that means
 we need a certificate... does anyone have any useful alternatives to
 Verisign? Are they really worth the name?
 We are not going to be doing any monetary transactions but our clients
 are very security conscious (who isn't!) and I have no experience in
 these matters. I am certain the boss will want verisign, as he buys a
 lot of stuff just for the name but if I can offer him a comparable
 alternative at a fraction of the cost he may go for it.

rapidssl.com

Cheap and fast.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Trying to update to 2.6.14 but I cant get x11-drm to build against it

2005-11-10 Thread A. Khattri
On Thu, 10 Nov 2005, William Kenworthy wrote:

 I fixed it, had to go ~x86

 Seems like gentoo is getting more debianish as time goes on -
 package.keywords is getting quite ridiculous in order to have a usable
 system.

I have useable machines without having and package.keywords file...



 BillK




 On Thu, 2005-11-10 at 09:16 +, Anthony Roy wrote:
  I've been having the same problem, but have ignored it for now, since
  I am setting up the box primarily as a server. So sorry - no solution!
 
  On 07/11/05, W.Kenworthy [EMAIL PROTECTED] wrote:
   Trying to update to 2.6.14 but I cant get x11-drm to build against it -
   fails with an error on I2C_ALGO_ATI.  I have copied the working 2.6.13
   config over without luck - this symbol doesnt show in it.
 
 
  --
  Ant...
 


-- 
File Attach [FidoNet]

 1. n. A file sent along with a mail
   message from one FidoNet to another.  2. vt. Sending someone a file by
   using the File Attach option in a FidoNet mailer.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Developmnet Environment for PHP and PERL

2005-11-10 Thread A. Khattri
On Wed, 9 Nov 2005, Renat Golubchyk wrote:

 syntax on within vim or in your .vimrc

That would be :syntax on (note leading colon) from inside vim.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Abysmally slow 2D performance using proprietary Nvidia driver on dual Xeon system (EMT64)

2005-11-10 Thread A. Khattri
On Thu, 10 Nov 2005, Greg Bur wrote:

 It definitely is not an issue with swapping to disk. For some reason X is
 causing a high CPU load and it acts like its only using one processor. If I
 switch back to the open source driver the load seems to be balanced across
 all 4 processors. To make things even more interesting if I open glxgears
 while using the Nvidia driver the problem can be temporarily alleviated. The
 CPU load drops back to normal and the system is much more responsive. The
 open source driver is working fine for now but I sure would like to know
 what it is that I'm doing to cause the Nvidia driver to perform so poorly.

Maybe the Nvidia drivers dont play well with threading and/or SMP?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache configuration files

2005-11-08 Thread A. Khattri
On Tue, 8 Nov 2005, James Colby wrote:

 I recently upgraded my apache2 to use the new layout. I was wondering about
 which configuration files that I now have to concern myself with. If I
 understand correctly the only configuration file is now
 /etc/apache2/httpd.conf, is this correct? Would it be safe to delete the
 configuration files located in the /etc/apache2/conf directory? Any
 assistance you can give me is greatly appreciated.

http://www.gentoo.org/doc/en/apache-upgrading.xml

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Abysmally slow 2D performance using proprietary Nvidia driver on dual Xeon system (EMT64)

2005-11-08 Thread A. Khattri
On Mon, 7 Nov 2005, Greg Bur wrote:

 Dual 3.0Ghz Xeon
 2GB RAM
 128MB GeForce 6600GT
 Audigy 2 soundcard

 free -t -o -m output:

 [EMAIL PROTECTED] ~ $ free -t -o -m
 total used free shared buffers cached
 Mem: 2009 1505 503 0 440 584
 Swap: 1953 2 1950
 Total: 3962 1508 2454

According to the output of free it looks like despite having 2Gb of RAM,
your machine is swapping to disk. That will slow down your machine too.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Developmnet Environment for PHP and PERL

2005-11-08 Thread A. Khattri
On Tue, 8 Nov 2005, Michael Shaw wrote:

 What editor do people use for PHP and Perl development.  I'm looking for
 something with syntax highlighting and such, so that rules ut vi or gedit.

Not true - maybe your terminal doesn't do color or you have it switched
off?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread A. Khattri
On Mon, 7 Nov 2005, John Jolet wrote:

 At the risk of of adding to the flames here, perhaps an example is in
 order I once worked as a sysadmin for a guy who firmly believed in
 security.  To prevent any security holes from lingering, he did an apt-get
 update out of cron every friday nighton production servers (we were
 running debian).  The instance of us having to spend monday fixing what broke
 friday was about 10%.  Unacceptable on a server.  I don't even do that on my
 test systems.

I can understand the paranoia of having your servers hacked but there is
usually a middle ground that works reasonably well. I run a script nightly
via cron but all it does is do a portage sync and then *prebuild* binary
packages for any important updates before sending an email in them
morning. I have to apply the updates manually but this gives you a chance
to test and/or rollback if need be. The only downside is that manual
intervention is required - can't have everything I suppose.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] LTSP vs. Diskless Nodes

2005-11-07 Thread A. Khattri
On Tue, 1 Nov 2005, Bob Sanders wrote:

 Why not 4P with dual cores?  While they work, the need is  i/o and memory 
 bandwidth.
 4 sockets does that while 2 sockets and 2 dual-cores cores is only half the 
 bandwidth.

Its very expensive, but you can now go up to 16 Opeteron cores in a single
machine. Meanwhile, AMD are working on quad-core processors ;-)


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage: fixed or not???

2005-11-07 Thread A. Khattri
On Mon, 7 Nov 2005, Qian Qiao wrote:

 3. Schedule maintenance slots.

That's the best way to manage updates.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Bandwidth monitor on per service/program basis

2005-11-04 Thread A. Khattri
On Fri, 4 Nov 2005, Stuart Howard wrote:

 I am looking to find a tool that will allow me to monitor which
 applications or services are utilising my network and hence bandwidth.
 Now I have found loads of useful tools that can offer me representations
 of the interface but little that breaks it down on a time basis and per
 program basis.
 If anyone has a suggestion of a ready built application it will be welcome,
 prefer it to be console based for ssh [with a nice gui at home, if I am being
 greedy ].

Most network tools know about ports and protocols so per program basis
may not be possible. However, you can monitor protocols using something
like iptraf or ntop (web-based). A quick look in
/usr/portage/net-analyzer/ will give you an idea of what's available.



-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] changing Apache installation

2005-11-04 Thread A. Khattri
On Thu, 3 Nov 2005, michael higgins wrote:

 Hello, all.

 I've tried to install Template Toolkit, Apache2::Template under Apache2, 
 mod_perl2 and am having, no suprise, issues. Though this may be possible, I'm 
 not up to it.

 So, rather than try to make this work, I just want to unmerge cleanly all 
 apache/mod_perl/TT stuff on my machine, including leftover configs. And then 
 re-install apache 1.x, or whatever.

 Any pointers to make this go smoothly? I'm thinking something like 
 CONFIG_PROTECT_MASK=-* emerge -Cv apache modperl or something similar... is 
 this possible, or do I have to hunt  peck for the old configs, particularly 
 if I've had an old apache 1.x install on here before and didn't try to clean 
 the configs?

etcat files apache will tell what files apache installed - you could
use this to make a list of where to look for manualing removing config and
doc files.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full path in apache2 access_log?

2005-11-04 Thread A. Khattri
On Thu, 3 Nov 2005, Grant wrote:

 Yeah, I wasn't very clear about that.  The problem is I can't use
 VirtualHost definitions because I don't think apache knows which
 domain is actually being served.  I don't use any apache virtual host
 stuff.  Domain identification is handled by my shopping cart software.

But presumably the shopping cart software merely looks at the URL you are
coming from right? (What software is it? Does it run locally or is it on a
remote server?).


-- 
Aj.

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Full path in apache2 access_log?

2005-11-03 Thread A. Khattri
On Wed, 2 Nov 2005, Grant wrote:

 Is there any way to get apache2 to include a full path in its
 access_log?  That would be something like this:

 domain.com/page.html

 instead of this:

 /page.html

 If I can get a full path in the log, I can have webalizer report on
 traffic per domain.  The conventional method of using the vhost log
 format for something like this won't work for me because it relies on
 defining different ServerName directives via VirtualHost definitions
 but I don't think apache knows which domain is actually being served.
 I don't use any apache virtual host stuff.  Domain identification is
 handled by my shopping cart software.

Maybe I dont understand what you mean: but since you are using
VirtualHost definitions, then perhaps you could use separate logs for
each site?

e.g.

VirtualHost site1.com
ServerName www.site1.com
ErrorLog /var/log/apache/site1_error.log
AccessLog /var/log/apache/site2_access.log
/VirtualHost

VirtualHost site2.com
ServerName www.site2.com
ErrorLog /var/log/apache/site1_error.log
AccessLog /var/log/apache/site2_access.log
/VirtualHost

I just avoid the whole logsplit issue by doing this on production servers.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Apache 1.3.34 ebuild

2005-11-02 Thread A. Khattri
On Mon, 31 Oct 2005, David Gama Rodrí­guez wrote:

 I need to update Apache 1.3.33 to Apache 1.3.34 but I cant find an
 ebuild for that version,

 Why 1.3.34 ebuild is not in portage? Is unstable??

Have you checked in bugs.gentoo.org - maybe someone submitted an ebuild?

 Is there a way to install apache 1.3.34 without and ebuild and without
 crash portage?

You can install anything you want without portage - you would have to
download the tarball from apache.org and install it by hand

 Or I have to make my own ebuild?

You could try that too if you want.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: iptables on gentoo

2005-11-02 Thread A. Khattri
On Mon, 31 Oct 2005, Joshua Schmidlkofer wrote:

 James,

 Why are you using IPtables directly? It's good for an exercise, but
 roll-your-own firewall is not really as cool as it seems. Have you looked at
 Shorewall [net-firewall/shorewall].

Its useful to know how iptables works when things go wrong...


 http://www.shorewall.net

 thanks,
 joshua


 On 10/28/05, James [EMAIL PROTECTED] wrote:
 
  A. Khattri ajai at bway.net http://bway.net writes:
 
 
/etc/init.d/firewall is the default file where where you put your
  rules you
have written or grabbed elsewhere and modified to meet your specific
  needs.
 
   Not sure where this script came from - it doesn't come with iptables.
 
  You are right, as it seems a very common name used for the rules scripts.
  Maybe it's a ipchain vestige. I'll just ignore this...
 
 
   Not much to it. Make your rules and use /etc/init.d/iptables save to
   save 'em. When you restart iptables it will automatically load them from
   /var/lib/iptables/rules-save if it finds that file.
 
  OK
 
   If you need any help, post on this list.
 
  OK thanks for the clarifications...
 
  James
 
 
 
 
 
  --
  gentoo-user@gentoo.org mailing list
 
 


-- 
hello sailor! interj.

 Occasional West Coast equivalent
   of hello world; seems to have originated at SAIL, later
   associated with the game Zork (which also included hello,
   aviator and hello, implementor).  Originally from the
   traditional hooker's greeting to a swabbie fresh off the boat, of
   course.  The standard response is Nothing happens here.; of all
   the Zork/Dungeon games, only in Infocom's Zork 3 is Hello, Sailor
   actually useful (excluding the unique situation where _knowing_
   this fact is important in Dungeon...).

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] orphaned kernel sources?

2005-10-29 Thread A. Khattri
On Sat, 29 Oct 2005, Jarry wrote:

 So, with your help I finally checked all software installed on my
 gentoo-server (thanks to everyone, who replied). There were a few
 gentoo-sources (I think 5 or 6 different versions), so I used
 emerge --prune gentoo-sources to leave only the last one.

 Then I checked /usr/src, and I see there are still 2 subdirectories:
 linux-2.6.12-gentoo-r6   (~50MB)
 linux-2.6.13-gentoo-r5   (~300MB)

Bear in mind, that if you've built kernels inside these folders then there
are object files, libraries and other debris from the build process that
portage knows nothing about - so unmerging doesn't remove the folder
completely.

The thing to do is to cd into each folder and do make clean to remove
files left over from the build process. Then run the emerge command to
remove the package.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] The Root Block Device is unspecified or not detected - PCMCIA card CD Boot on Sony Vaio

2005-10-29 Thread A. Khattri
On Sun, 30 Oct 2005, Richard Watson wrote:

 Hi - I have an old Sony Vaio I thought to run Gentoo on with X. The CD
 drive is attached to a PCMCIA card. When the LiveCD boots it seems to go
 OK up until mounting root at which point I get the error The Root Block
 Device is unspecified or not detected  and then I'm offerred to either
 shell or specify a /dev. I've tried gentoo-nofb dopcmcia ide=nodma but
 no luck. I'm a bit stuck at this point does anyone have any suggestions
 how I could make the install CD boot? Thanks, Richard

What sort of PCMCIA card? SCSI?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get debug information if system crashs randomly?

2005-10-29 Thread A. Khattri
On Sun, 30 Oct 2005, Qiangning Hong wrote:

 I know there is memtest86 to test memory.  What tool can check health of
 hard disks?

Maybe you can check with smartmontools...

-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] RAID 10 help

2005-10-29 Thread A. Khattri
On Sun, 30 Oct 2005, Qiangning Hong wrote:

 As grub cannot be setup on RAID0 (neither RAID 1+0 nor RAID 0+1), I have
 to create a four-partion RAID1 with /dev/sd[abcd]1 and mount it as /boot.

 Then I want both my / and /var are RAID10.  I use the following schema:

 /dev/sda3/dev/sdb3/dev/sdc3/dev/sdd3
 ||||
 +--(RAID1)---++---(RAID1)--+
   |  |
/dev/md3   /dev/md4
   |  |
   +-(RAID0)--+
|
 /dev/md5

 and mount /dev/md5 as /.  The same as /dev/sd[abcd]4 for a /dev/md8 as /var.

 After mkraid, I followed the Gentoo Handbook and installed system, build
 all RAID and driver mapping options into kernel.  But after reboot,
 kernel panic!  The error message says it can not mount / on /dev/md5
 because it doesn't exist.

Is RAID support in your kernel?

Did you use mdadm to make the arrays?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get debug information if system crashs randomly?

2005-10-28 Thread A. Khattri
On Fri, 28 Oct 2005, Qiangning Hong wrote:

 My gentoo system on an IBM Thinkpad R52 crashs randomly (usually when
 CPU usage is high).  When it crashs, the whole system freezes -- mouse
 point doesn't move, keyboard doesn't response, I even can't connect it
 via ssh.  I had to hard reset the machine, therefore no error message is
  left in the log files.  How can I find the reason?

Could be hardware problem. You can boot a LiveCD and run the memtest to
check your RAM. I would also check your CPU is cooled properly when under
load (check fans are working, etc).


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wearab le Gentoo Computer?

2005-10-28 Thread A. Khattri
On Thu, 27 Oct 2005, Matt Randolph wrote:

 My gosh! They've invented the world's most expensive Knoppix CD.

I forgot, the Knoppix CD is writable and comes with a fingerprint
reader...


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wearab le Gentoo Computer?

2005-10-28 Thread A. Khattri
On Fri, 28 Oct 2005, Matt Randolph wrote:

 If you must have a biometric scanner for security, there are much
 cheaper ways to do it. I just found a 512MB Sandisk Cruzer Profile for
 $55. It is a thumbdrive and a fingerprint scanner combined. Add a
 Knoppix CD and you have the same functionality as this device. Except
 the BlackDog only has a 400MHz PPC CPU and 64MB RAM. This is probably
 slower than the host computer will be and it probably has less RAM too.
 Also, everything like networking, video, and disk activity must be
 squeezed through the USB bus when you use this device. With Knoppix, you
 use the PCI and AGP busses of the host computer for these things.
 Knoppix should be much faster than this device for most purposes.

Not trying to knock what you're saying but in terms of requirements, both
a Knoppix CD and a Blackdog box require a host computer of some kind.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] MySQL 4.1 upgrade questions

2005-10-27 Thread A. Khattri
On Thu, 27 Oct 2005, Francesco R. wrote:

 For a security hardened database you should drop the test database and
 all users with % access. Also you can play with bind-address and
 skip-networking in the my.cnf

I think bind-address is 127.0.0.1 by default anyway.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] iptables on gentoo

2005-10-27 Thread A. Khattri
On Thu, 27 Oct 2005, James wrote:

 Question 1:
 I'm planning on using nmap and nessus  to test from the outside(internet)
 inward). On the inside I plan on using snort, an monitoring the various
 log files. Any further suggestions on testing?

Plain ole telnet works for testing protocols too ;-)

 /etc/init.d/firewall  is the default file where where you put your rules you
 have written or grabbed elsewhere and modified to meet your specific needs.

Not sure where this script came from - it doesn't come with iptables.

 /var/lib/iptables/rules-save is the file that will save out from kernel memory
 the actual rulesets being used. This file is also reloaded as necessary. Avoid
 direct modifications to this.

 Is this explanation correct? Did I miss something or get something confused.
 I could not really find any documentation on this, so much was inference
 from various linux sites, some very old, and a few gentoo specific sites.

Not much to it. Make your rules and use /etc/init.d/iptables save to
save 'em. When you restart iptables it will automatically load them from
/var/lib/iptables/rules-save if it finds that file.

 Assuming this is correct, I have seen many command line options and
 differing recommendations on how to modify the rules and when to save
 them out and to what file. Any details one can provide, that are gentoo
 specific, are most welcome.

None of these are Gentoo specific (there aren't any Gentoo specifics in
iptables AFAIK).

Some notes:

I wrote all the rules out by hand and tested them. Any tweaks I did
directly on the command line. Bear in mind that the order of the rules is
pretty important (I use the --line-numbers option so you know what line
numbers to insert/delete after when changing the ordering of rules, i.e.
iptables -L -n --line-numbers).

Obviously you'll be doing this from the console directly.

I broke rules down into various groups that I separated out into chains.

So the first chain (called SCRUB) gets rid of obvious bogus packets (like
packets from 192.168.x.x etc etc). Another chain is called BANNED (for
obvious reasons). And so on.

When working with chains its easier to make the chain and rules first and
then activate them by adding a rule to the INPUT chain to send
all packets through it, e.g.

iptables -A INPUT -j SCRUB

Dont forget to set default policies for your chains.

Often its better to start with a completely locked down machine and add
rules for those ports you want to open.

Make use of of the state module if you can (it understands FTP, IRC and a
few other protocols) which makes it trivial to write state tracking rules.

If you iptables extensions are built as modules (not recommended - if one
fails to load you might compromise security) then make sure they are
loaded - some rules do NOT load the corresponding modules automatically so
beware.

If you need any help, post on this list.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] portage and local mirrors

2005-10-27 Thread A. Khattri
On Thu, 27 Oct 2005, John Jolet wrote:

 Yes, I read that man page quite a bit.  I have written a script that uses from
 the command line rsync --rsh=ssh -l username server::module/files
 successfully.  However, changing the SYNC line in make.conf to
 rsync://[EMAIL PROTECTED] give me a connection refused.

Is rsyncd running at the other end?

Is there a firewall on the client machine or the local respository
machine?

On the machine running rsyncd, have you edited the config file to allow
the client machines to access the local respository?

Many many possibilities to check.


-- 


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Wearab le Gentoo Computer?

2005-10-27 Thread A. Khattri
On Thu, 27 Oct 2005, Mark Shields wrote:

 You want to be a gargoyle (
 http://tecfa.unige.ch/perso/staf/nova/blog/2003/09/23/gargoyle-and-self-gargoyle/
 )?

 Heh. I'd start with a mac mini.

Or get Gentoo running on this:
http://www.projectblackdog.com/


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] laptop

2005-10-26 Thread A. Khattri
On Wed, 26 Oct 2005, John Jolet wrote:

 I need to have my company order me a new laptop, but obviously, i'll be
 putting gentoo on it.  Does anyone have a recommendation for a very small 'n'
 light laptop known to be pretty much a slam dunk to get gentoo on (with sound
 and wireless, etc)?

 I'm currently using a dell inspiron 1100 and gentoo slid on very easily. Oh,
 and they want it a grand or under (us dollars).  Thanks.



Seems to me, very small 'n' light is mutually exclusive with grand or
under.

Unless you're interested in running GentooPPC on an iBook?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Re: laptop

2005-10-26 Thread A. Khattri
On Wed, 26 Oct 2005, James wrote:

 Warning, I'm not sure why, but some of these aforementioned diagnostic
 tools are not part of the standard gentoo install CD.

I was suprised to find lspci on the latest LiveCDs so I guess this is
improving all the time.


-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] laptop

2005-10-26 Thread A. Khattri
On Wed, 26 Oct 2005 [EMAIL PROTECTED] wrote:

 As a gross first pass, my impression is that ThinkPads and Dells seem to
 do well with Linux.

 Do your collective experiences confirm or deny this?

Yes, Thinkpads run well with Linux (there is a web site and mailing list
dedicated to Linux on TP).

However, IBM (like Sony) are a bit overpriced IMHO.


-- 

-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Anyone running a RAQ4?

2005-10-24 Thread A. Khattri

Subject says it all - anyone succeeded in installing Gentoo on a Cobalt
RAQ4 (x86) system? Is netbooting the only way to go or did you manage to
hook up a CDROM and boot a LiveCD?


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] apache log analyzer

2005-10-24 Thread A. Khattri
On Mon, 24 Oct 2005, Catalin Trifu wrote:

 I'm pretty new to log analyzers. Besides webalizer which got a
 little bit old (still usefull nonetheless) i have no other experience.
 I've googled and found awstats and analog.
 If you would care to comment on this issue I would be grateful for
 any hints.

Im using analog to produce a datafile that is then run through
reportmagic. I wrote several scripts too manage all of the different
processes. It is currently in use here for weekly reports for 200 or so
web sites.


-- 

-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] Should emerge --sync be so slow?

2005-10-19 Thread A. Khattri
On Wed, 19 Oct 2005, Richard Fish wrote:

 Well, you could try this:

 http://gentoo-wiki.com/TIP_speed_up_portage_with_cdb

 Several people here (including me) are using this without any bad effects.

I noticed this broke after the recent Python upgrade - I had to remove the
module to run emerge.


-- 

-- 
gentoo-user@gentoo.org mailing list



  1   2   3   4   5   >