[gentoo-user] problem with pam

2011-10-29 Thread co
I upgrade pad to 1.1.5 ,then openrc can't work,and can't login to system.
libpam.so.0 can't open shared object file.
please help!


Re: [gentoo-user] problem with pam

2011-10-29 Thread Adam Carter
On Sat, Oct 29, 2011 at 8:55 PM, co cui...@gmail.com wrote:
 I upgrade pad to 1.1.5 ,then openrc can't work,and can't login to system.
 libpam.so.0 can't open shared object file.
 please help!

I always run revdep-rebuild any time libs are updated, but in this
case the lib name stays the same.

What do you see if you run this command?

# ls -l /lib/libpam.so*
lrwxrwxrwx 1 root root11 Oct 29 17:49 /lib/libpam.so - libpam.so.0
lrwxrwxrwx 1 root root16 Oct 29 17:49 /lib/libpam.so.0 - libpam.so.0.83.1
-rwxr-xr-x 1 root root 55712 Oct 29 17:49 /lib/libpam.so.0.83.1



Re: [gentoo-user] Realtec 8111C LAN not detected...

2011-10-29 Thread Adam Carter
 I did one more test: I simply manually configured eth0
 no matter there was no such an interface. And suddenly
 it is up and running! Problem must be somewhere in
 communication with dhcp-server (my router).

at the start were you running ifconfig or ifconfig -a? Without -a it
will only show interfaces that are up. So since you hadn't configured
it at that stage you would not see it without the -a.



[gentoo-user] Unable to install the ffi gem.

2011-10-29 Thread Vishnupradeep
x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I.
-DRUBY_EXTCONF_H=\extconf.h\-fPIC -march=amdfam10 -O2 -pipe
-fno-strict-aliasing  -fPIC  -I/usr/lib64/libffi-3.0.10/include
-Wno-declaration-after-statement   -c Struct.c
x86_64-pc-linux-gnu-gcc -I. -I. -I/usr/lib64/ruby/1.8/x86_64-linux -I.
-DRUBY_EXTCONF_H=\extconf.h\-fPIC -march=amdfam10 -O2 -pipe
-fno-strict-aliasing  -fPIC  -I/usr/lib64/libffi-3.0.10/include
-Wno-declaration-after-statement   -c DataConverter.c
x86_64-pc-linux-gnu-gcc -shared -o ffi_c.so Function.o Pointer.o Buffer.o
AbstractMemory.o ArrayType.o ffi.o MappedType.o StructByValue.o Call.o
StructLayout.o Thread.o Platform.o Variadic.o MethodHandle.o MemoryPointer.o
Types.o DynamicLibrary.o Type.o ClosurePool.o FunctionInfo.o LastError.o
StructByReference.o Struct.o DataConverter.o -L. -L/usr/lib64
-Wl,-R/usr/lib64 -L. -Wl,-O1 -Wl,--as-needed -rdynamic -Wl,-export-dynamic
-Wl,--no-undefined -Wl,-R -Wl,/usr/lib64 -L/usr/lib64 -lruby18 -lffi
 -lffi   -lrt -ldl -lcrypt -lm   -lc
Thread.o: In function `cleanup_blocking_thread':
Thread.c:(.text+0x29): undefined reference to `pthread_kill'
Thread.o: In function `rbffi_blocking_thread':
Thread.c:(.text+0xd9): undefined reference to `pthread_testcancel'
Thread.o: In function `rbffi_thread_blocking_region':
Thread.c:(.text+0x1ef): undefined reference to `pthread_create'
Thread.c:(.text+0x225): undefined reference to `pthread_join'
collect2: ld returned 1 exit status
make: *** [ffi_c.so] Error 1


Gem files will remain installed in /usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9
for inspection.
Results logged to
/usr/lib64/ruby/gems/1.8/gems/ffi-1.0.9/ext/ffi_c/gem_make.out
tux diaspora #


Re: [gentoo-user] problem with pam

2011-10-29 Thread co
lrwxrwxrwx 1 root root11 Oct 21 23:47 /lib32/libpam.so - libpam.so.0
lrwxrwxrwx 1 root root16 Oct 21 23:48 /lib32/libpam.so.0 -
libpam.so.0.83.0
-rwxr-xr-x 1 root root 46520 Sep 28 19:37 /lib32/libpam.so.0.83.0

2011/10/29 Adam Carter adamcart...@gmail.com

 On Sat, Oct 29, 2011 at 8:55 PM, co cui...@gmail.com wrote:
  I upgrade pad to 1.1.5 ,then openrc can't work,and can't login to system.
  libpam.so.0 can't open shared object file.
  please help!

 I always run revdep-rebuild any time libs are updated, but in this
 case the lib name stays the same.

 What do you see if you run this command?

 # ls -l /lib/libpam.so*
 lrwxrwxrwx 1 root root11 Oct 29 17:49 /lib/libpam.so - libpam.so.0
 lrwxrwxrwx 1 root root16 Oct 29 17:49 /lib/libpam.so.0 -
 libpam.so.0.83.1
 -rwxr-xr-x 1 root root 55712 Oct 29 17:49 /lib/libpam.so.0.83.1




Re: [gentoo-user] problem with pam

2011-10-29 Thread co
And when i revdep-rebuild ,it still warning libpam.so.0,when finished ,it
still can't work.
And i try to re-emerge pam,but i can't

2011/10/29 co cui...@gmail.com

 lrwxrwxrwx 1 root root11 Oct 21 23:47 /lib32/libpam.so - libpam.so.0
 lrwxrwxrwx 1 root root16 Oct 21 23:48 /lib32/libpam.so.0 -
 libpam.so.0.83.0
 -rwxr-xr-x 1 root root 46520 Sep 28 19:37 /lib32/libpam.so.0.83.0

 2011/10/29 Adam Carter adamcart...@gmail.com

 On Sat, Oct 29, 2011 at 8:55 PM, co cui...@gmail.com wrote:
  I upgrade pad to 1.1.5 ,then openrc can't work,and can't login to
 system.
  libpam.so.0 can't open shared object file.
  please help!

 I always run revdep-rebuild any time libs are updated, but in this
 case the lib name stays the same.

 What do you see if you run this command?

 # ls -l /lib/libpam.so*
 lrwxrwxrwx 1 root root11 Oct 29 17:49 /lib/libpam.so - libpam.so.0
 lrwxrwxrwx 1 root root16 Oct 29 17:49 /lib/libpam.so.0 -
 libpam.so.0.83.1
 -rwxr-xr-x 1 root root 55712 Oct 29 17:49 /lib/libpam.so.0.83.1





Re: [gentoo-user] problem with pam

2011-10-29 Thread Adam Carter
 And i try to re-emerge pam,but i can't

With the old file and links there I don't understand why your system
doesn't work, but re-emerging pam it definitely worth trying. What
fails when you try to re-emerge?

Also, what about
# ldd /sbin/rc



Re: [gentoo-user] problem with pam

2011-10-29 Thread co
#ldd /sbin/rc
linux-vdso.so.1 =  (0x7fff69fff000)
libutil.so.1 = /lib64/libutil.so.1 (0x7f617f00d000)
 librc.so.1 = /lib64/librc.so.1 (0x7f617ee01000)
libeinfo.so.1 = /lib64/libeinfo.so.1 (0x7f617ebfb000)
 libdl.so.2 = /lib64/libdl.so.2 (0x7f617e9f7000)
libpam.so.0 = not found
 libc.so.6 = /lib64/libc.so.6 (0x7f617e691000)
libncurses.so.5 = /lib64/libncurses.so.5 (0x7f617e44)
 /lib64/ld-linux-x86-64.so.2 (0x7f617f21)
thank you ahead.


2011/10/29 Adam Carter adamcart...@gmail.com

  And i try to re-emerge pam,but i can't

 With the old file and links there I don't understand why your system
 doesn't work, but re-emerging pam it definitely worth trying. What
 fails when you try to re-emerge?

 Also, what about
 # ldd /sbin/rc




Re: [gentoo-user] problem with pam

2011-10-29 Thread co
These are the packages that would be merged, in order:

Calculating dependencies   done!
[ebuild   R] sys-libs/pam-1.1.5  USE=berkdb cracklib nls vim-syntax
-audit -debug -nis (-selinux) -test 0 kB

Total: 1 package (1 reinstall), Size of downloads: 0 kB


 Verifying ebuild manifests

 Emerging (1 of 1) sys-libs/pam-1.1.5
 * Linux-PAM-1.1.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...   [
ok ]
 * Linux-PAM-1.1.5-docs.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...  [
ok ]
 Unpacking source...
 Unpacking Linux-PAM-1.1.5.tar.bz2 to
/var/tmp/portage/sys-libs/pam-1.1.5/work
tar: Linux-PAM-1.1.5/INSTALL: Cannot open: Invalid argument
tar: Linux-PAM-1.1.5/ABOUT-NLS: Cannot open: Invalid argument
tar: Linux-PAM-1.1.5/ChangeLog: Cannot open: Invalid argument
tar: Linux-PAM-1.1.5/COPYING: Cannot open: Invalid argument
tar: Linux-PAM-1.1.5/Make.xml.rules: Cannot open: Invalid argument
tar: Exiting with failure status due to previous errors
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 * ERROR: sys-libs/pam-1.1.5 failed (unpack phase):
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 *   failure unpacking Linux-PAM-1.1.5.tar.bz2
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 *
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 * Call stack:
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 *   ebuild.sh, line   56:  Called src_unpack
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 * environment, line 3487:  Called _eapi0_src_unpack
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 *   ebuild.sh, line  622:  Called unpack
'Linux-PAM-1.1.5.tar.bz2' 'Linux-PAM-1.1.5-docs.tar.bz2'
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 *   ebuild.sh, line  401:  Called _unpack_tar 'bzip2 -d'
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 *   ebuild.sh, line  371:  Called assert_sigpipe_ok 'failure
unpacking Linux-PAM-1.1.5.tar.bz2'
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 *   isolated-functions.sh, line   37:  Called die
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 * The specific snippet of code:
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 *   [[ $x -ne 0  $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]]  die $@
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 *
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 * If you need support, post the output of 'emerge --info
=sys-libs/pam-1.1.5',
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 * the complete build log and the output of 'emerge -pqv
=sys-libs/pam-1.1.5'.
/usr/lib64/portage/bin/isolated-functions.sh: line 211:
/var/tmp/portage/sys-libs/pam-1.1.5/.die_hooks: Invalid argument
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 * The complete build log is located at
'/var/tmp/portage/sys-libs/pam-1.1.5/temp/build.log'.
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 * The ebuild environment file is located at
'/var/tmp/portage/sys-libs/pam-1.1.5/temp/environment'.
/usr/lib64/portage/bin/isolated-functions.sh: line 264:
/var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
 * S: '/var/tmp/portage/sys-libs/pam-1.1.5/work/Linux-PAM-1.1.5'
Traceback (most recent call last):
  File /usr/lib64/portage/bin/ebuild-ipc.py, line 276, in module
sys.exit(ebuild_ipc_main(sys.argv[1:]))
  File /usr/lib64/portage/bin/ebuild-ipc.py, line 273, in ebuild_ipc_main
return ebuild_ipc.communicate(args)
  File /usr/lib64/portage/bin/ebuild-ipc.py, line 63, in communicate
lock_obj = portage.locks.lockfile(self.ipc_lock_file, unlinkfile=True)
  File /usr/lib64/portage/pym/portage/locks.py, line 73, in lockfile

Re: [gentoo-user] Which desktop antivirus?

2011-10-29 Thread Mick
On Sunday 23 Oct 2011 12:01:32 Volker Armin Hemmann wrote:
 Am Samstag 22 Oktober 2011, 19:46:59 schrieb Mick:
  On Saturday 22 Oct 2011 18:27:02 Dale wrote:
   Mick wrote:
Hi All,

I'm asked for a desktop antivirus (the box is running KDE) but I
have
never used an antivirus on Linux.  This page that I googled up shows
a
number of

them:
   http://www.makeuseof.com/tag/free-linux-antivirus-programs/

Meanwhile, portage only lists clamav under app-antivirus/.

The machine in question is running kmail to receive/send messages
from
ISP mail servers and ssmtp to send log messages for relaying via
said
ISP.

What have you tried and what would you recommend for such a desktop
setup?
   
   I have to agree with most everyone else on this one.  You don't really
   need a anit-virus software to protect yourself.  I do think it is good
   that you want to protect others by catching them while on your machine
   and then you know not to spread them around to others who can be
   infected.  I used to do this a long time ago but I have policies here
   about sending messages to others.  Mostly, I don't do it unless I know
   it is virus free.  If I get a video that is funny or something, I find
   it on youtube and just forward a link to that.  I'm sure youtube checks
   its stuff to be sure it is clean.
   
   If you set up a process like this, you shouldn't spread anything but
   you do have to think before hitting forward too.  I think people have
   figured out I don't forward just anything so I don't get a lot of
   junk anymore.
   
   I do agree on using AVG as someone else posted.  I have that on my
   brothers XP box.  He likes it better than Norton that he used to pay
   for.  If you can get that running on Linux, then that would be great.
   Another pretty good one that I used to use was f-prot but I think AVG
   would be better still.
   
   Dale
  
  Is there an overlay that offers AVG or bitdefender?
 
 looks like - but I just run the bitdefender script to extract, than used
 dpkg --force-all to install. Works well so far.
 
 You can get a free personal use licence on their web site.

I am getting confused ...

Just looked at the ebuild for app-antivirus/bitdefender-scanner-7.6.4-r1 and 
it seems that the user has to fill in a form for an evaluation license only:

  http://www.bitdefender.com/site/Downloads/browseEvaluationVersion/2/80/

The free bitdefender only offers MSWindows downloads:

  http://www.bitdefender.com/solutions/free.html#System Requirements

To use bitdefender for good on a *nix it seems that you have to pay ...  :(

Have I got this wrong?
-- 
Regards,
Mick


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


Re: [gentoo-user] problem with pam

2011-10-29 Thread co
emerge --info
Traceback (most recent call last):
  File /usr/bin/emerge, line 43, in module
retval = emerge_main()
  File /usr/lib64/portage/pym/_emerge/main.py, line 1879, in emerge_main
return action_info(settings, trees, myopts, valid_atoms)
  File /usr/lib64/portage/pym/_emerge/actions.py, line 1407, in
action_info
repo = vardb.aux_get(cpv, [repository])[0]
  File /usr/lib64/portage/pym/portage/dbapi/vartree.py, line 659, in
aux_get
self._aux_get(mycpv, aux_keys, st=mydir_stat)):
  File /usr/lib64/portage/pym/portage/dbapi/vartree.py, line 690, in
_aux_get
raise KeyError(mycpv)
KeyError: u'dev-lang/python-3.1.4-r3'

2011/10/29 co cui...@gmail.com



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

 Calculating dependencies   done!
 [ebuild   R] sys-libs/pam-1.1.5  USE=berkdb cracklib nls vim-syntax
 -audit -debug -nis (-selinux) -test 0 kB

 Total: 1 package (1 reinstall), Size of downloads: 0 kB


  Verifying ebuild manifests

  Emerging (1 of 1) sys-libs/pam-1.1.5
  * Linux-PAM-1.1.5.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...   [
 ok ]
  * Linux-PAM-1.1.5-docs.tar.bz2 RMD160 SHA1 SHA256 size ;-) ...  [
 ok ]
  Unpacking source...
  Unpacking Linux-PAM-1.1.5.tar.bz2 to
 /var/tmp/portage/sys-libs/pam-1.1.5/work
 tar: Linux-PAM-1.1.5/INSTALL: Cannot open: Invalid argument
 tar: Linux-PAM-1.1.5/ABOUT-NLS: Cannot open: Invalid argument
 tar: Linux-PAM-1.1.5/ChangeLog: Cannot open: Invalid argument
 tar: Linux-PAM-1.1.5/COPYING: Cannot open: Invalid argument
 tar: Linux-PAM-1.1.5/Make.xml.rules: Cannot open: Invalid argument
 tar: Exiting with failure status due to previous errors
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  * ERROR: sys-libs/pam-1.1.5 failed (unpack phase):
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  *   failure unpacking Linux-PAM-1.1.5.tar.bz2
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  *
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  * Call stack:
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  *   ebuild.sh, line   56:  Called src_unpack
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  * environment, line 3487:  Called _eapi0_src_unpack
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  *   ebuild.sh, line  622:  Called unpack
 'Linux-PAM-1.1.5.tar.bz2' 'Linux-PAM-1.1.5-docs.tar.bz2'
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  *   ebuild.sh, line  401:  Called _unpack_tar 'bzip2 -d'
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  *   ebuild.sh, line  371:  Called assert_sigpipe_ok 'failure
 unpacking Linux-PAM-1.1.5.tar.bz2'
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  *   isolated-functions.sh, line   37:  Called die
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  * The specific snippet of code:
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  *   [[ $x -ne 0  $x -ne ${PORTAGE_SIGPIPE_STATUS:-141} ]]  die $@
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  *
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  * If you need support, post the output of 'emerge --info
 =sys-libs/pam-1.1.5',
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  * the complete build log and the output of 'emerge -pqv
 =sys-libs/pam-1.1.5'.
 /usr/lib64/portage/bin/isolated-functions.sh: line 211:
 /var/tmp/portage/sys-libs/pam-1.1.5/.die_hooks: Invalid argument
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  * The complete build log is located at
 '/var/tmp/portage/sys-libs/pam-1.1.5/temp/build.log'.
 /usr/lib64/portage/bin/isolated-functions.sh: line 264:
 /var/tmp/portage/sys-libs/pam-1.1.5/temp/logging/unpack: Invalid argument
  * The 

Re: [gentoo-user] problem with pam

2011-10-29 Thread Andrea Conti
On 29/10/11 13.10, co wrote:

 # ls -l /lib/libpam.so*

 lrwxrwxrwx 1 root root11 Oct 21 23:47 /lib32/libpam.so - libpam.so.0
 lrwxrwxrwx 1 root root16 Oct 21 23:48 /lib32/libpam.so.0 -
 libpam.so.0.83.0
 -rwxr-xr-x 1 root root 46520 Sep 28 19:37 /lib32/libpam.so.0.83.0

That's not what you were asked for (ie /lib32 != /lib, as you seem to be
on amd64).
Are you by any chance trying to rescue your system by booting from an
install cd? If so, make sure you use an amd64 ISO, and don't forget to
chroot to your system installation.

 Unpacking Linux-PAM-1.1.5.tar.bz2 to 
 /var/tmp/portage/sys-libs/pam-1.1.5/work
 tar: Linux-PAM-1.1.5/INSTALL: Cannot open: Invalid argument
 tar: Linux-PAM-1.1.5/ABOUT-NLS: Cannot open: Invalid argument

I think this is the real problem. Whatever is causing this also has
probably something to do with your openrc issues. What kind of
filesystem is your /var/tmp/portage directory on? Is it free of errors?
Is there any free space left?

Can you create a new file on it? Try
# echo test /var/tmp/portage/test

andrea



Re: [gentoo-user] problem with pam

2011-10-29 Thread co
My system is amd64,and livecd is amd64 too. I always chroot.And it's exf4.
Wait a second,I will try it now.Thank you so much.

2011/10/30 Andrea Conti a...@alyf.net

 On 29/10/11 13.10, co wrote:

  # ls -l /lib/libpam.so*

  lrwxrwxrwx 1 root root11 Oct 21 23:47 /lib32/libpam.so - libpam.so.0
  lrwxrwxrwx 1 root root16 Oct 21 23:48 /lib32/libpam.so.0 -
  libpam.so.0.83.0
  -rwxr-xr-x 1 root root 46520 Sep 28 19:37 /lib32/libpam.so.0.83.0

 That's not what you were asked for (ie /lib32 != /lib, as you seem to be
 on amd64).
 Are you by any chance trying to rescue your system by booting from an
 install cd? If so, make sure you use an amd64 ISO, and don't forget to
 chroot to your system installation.

  Unpacking Linux-PAM-1.1.5.tar.bz2 to
 /var/tmp/portage/sys-libs/pam-1.1.5/work
  tar: Linux-PAM-1.1.5/INSTALL: Cannot open: Invalid argument
  tar: Linux-PAM-1.1.5/ABOUT-NLS: Cannot open: Invalid argument

 I think this is the real problem. Whatever is causing this also has
 probably something to do with your openrc issues. What kind of
 filesystem is your /var/tmp/portage directory on? Is it free of errors?
 Is there any free space left?

 Can you create a new file on it? Try
 # echo test /var/tmp/portage/test

 andrea




Re: [gentoo-user] Which desktop antivirus?

2011-10-29 Thread Mark Knecht
On Sat, Oct 29, 2011 at 8:39 AM, Mick michaelkintz...@gmail.com wrote:
SNIP

 The free bitdefender only offers MSWindows downloads:

  http://www.bitdefender.com/solutions/free.html#System Requirements

 To use bitdefender for good on a *nix it seems that you have to pay ...  :(

 Have I got this wrong?
 --
 Regards,
 Mick


Mick,
   At the upper left of the page you linked to there was a link to ask
for a free license for personal use:

http://www.bitdefender.com/site/Products/ScannerLicense/

   Do any folks here regularly run virus scanning on Gentoo boxes?
Reading through the reasons you might want to I still see lack of root
access and quick fixes for security problems at Linux advantages. Only
the fact that Linux is more widely used every day is a reason to be
concerned about anyone trying to attack. (I think.)

   Do good backups of /home.

HTH,
Mark



Re: [gentoo-user] problem with pam

2011-10-29 Thread co
After I run e2fsck -c on /var partition.I have re-emerged pam. So I think
there is something wrong with my hard disc. And there is still something
Error and Warning on boot time,and after startx mouse can't move. So how to
fix the hard disc now? Forgive my poor EnglishThank you again

2011/10/30 Andrea Conti a...@alyf.net

 On 29/10/11 13.10, co wrote:

  # ls -l /lib/libpam.so*

  lrwxrwxrwx 1 root root11 Oct 21 23:47 /lib32/libpam.so - libpam.so.0
  lrwxrwxrwx 1 root root16 Oct 21 23:48 /lib32/libpam.so.0 -
  libpam.so.0.83.0
  -rwxr-xr-x 1 root root 46520 Sep 28 19:37 /lib32/libpam.so.0.83.0

 That's not what you were asked for (ie /lib32 != /lib, as you seem to be
 on amd64).
 Are you by any chance trying to rescue your system by booting from an
 install cd? If so, make sure you use an amd64 ISO, and don't forget to
 chroot to your system installation.

  Unpacking Linux-PAM-1.1.5.tar.bz2 to
 /var/tmp/portage/sys-libs/pam-1.1.5/work
  tar: Linux-PAM-1.1.5/INSTALL: Cannot open: Invalid argument
  tar: Linux-PAM-1.1.5/ABOUT-NLS: Cannot open: Invalid argument

 I think this is the real problem. Whatever is causing this also has
 probably something to do with your openrc issues. What kind of
 filesystem is your /var/tmp/portage directory on? Is it free of errors?
 Is there any free space left?

 Can you create a new file on it? Try
 # echo test /var/tmp/portage/test

 andrea




Re: [gentoo-user] Which desktop antivirus?

2011-10-29 Thread Mick
On Saturday 29 Oct 2011 18:26:45 Mark Knecht wrote:
 On Sat, Oct 29, 2011 at 8:39 AM, Mick michaelkintz...@gmail.com wrote:
 SNIP
 
  The free bitdefender only offers MSWindows downloads:
  
   http://www.bitdefender.com/solutions/free.html#System Requirements
  
  To use bitdefender for good on a *nix it seems that you have to pay ...
   :(
  
  Have I got this wrong?
  --
  Regards,
  Mick
 
 Mick,
At the upper left of the page you linked to there was a link to ask
 for a free license for personal use:
 
 http://www.bitdefender.com/site/Products/ScannerLicense/

Nice!  Thanks, I missed that!


Do any folks here regularly run virus scanning on Gentoo boxes?
 Reading through the reasons you might want to I still see lack of root
 access and quick fixes for security problems at Linux advantages. Only
 the fact that Linux is more widely used every day is a reason to be
 concerned about anyone trying to attack. (I think.)
 
Do good backups of /home.

I have never run an antivirus apps on any of my boxen.  Only rkhunter and 
chkrootkit.

However, my other half deals with clients who sent and receive messages from 
their MSWindows machines that are occasionally infected with malicious 
MSWindows executables.  She wants to be able to check attachments in such a 
case, advise them and not forward further.

Meanwhile, I've installed avast! and I'm now running a mammoth scan on an ntfs 
partition.  It picked up two trojans.  I suspect that they are false 
positives, but will investigate further.  One of the files it picked up is the 
pagefile.sys of a WinXP OS and it thinks it is a Win32:Patched-HO.

Hmm  it also thinks that some Batman Begins TS_01_0.VOB files (a back up I 
made of a legit DVD) are ... a decompression bomb!  Puleze!  o_O
-- 
Regards,
Mick


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


Re: [gentoo-user] Which desktop antivirus?

2011-10-29 Thread Pandu Poluan
On Oct 30, 2011 1:15 AM, Mick michaelkintz...@gmail.com wrote:

 On Saturday 29 Oct 2011 18:26:45 Mark Knecht wrote:
  On Sat, Oct 29, 2011 at 8:39 AM, Mick michaelkintz...@gmail.com wrote:
  SNIP
 
   The free bitdefender only offers MSWindows downloads:
  
http://www.bitdefender.com/solutions/free.html#System Requirements
  
   To use bitdefender for good on a *nix it seems that you have to pay
...
:(
  
   Have I got this wrong?
   --
   Regards,
   Mick
 
  Mick,
 At the upper left of the page you linked to there was a link to ask
  for a free license for personal use:
 
  http://www.bitdefender.com/site/Products/ScannerLicense/

 Nice!  Thanks, I missed that!


 Do any folks here regularly run virus scanning on Gentoo boxes?
  Reading through the reasons you might want to I still see lack of root
  access and quick fixes for security problems at Linux advantages. Only
  the fact that Linux is more widely used every day is a reason to be
  concerned about anyone trying to attack. (I think.)
 
 Do good backups of /home.

 I have never run an antivirus apps on any of my boxen.  Only rkhunter and
 chkrootkit.

 However, my other half deals with clients who sent and receive messages
from
 their MSWindows machines that are occasionally infected with malicious
 MSWindows executables.  She wants to be able to check attachments in such
a
 case, advise them and not forward further.

 Meanwhile, I've installed avast! and I'm now running a mammoth scan on an
ntfs
 partition.  It picked up two trojans.  I suspect that they are false
 positives, but will investigate further.  One of the files it picked up is
the
 pagefile.sys of a WinXP OS and it thinks it is a Win32:Patched-HO.


If pagefile.sys is detected as a malware, most likely the actual malware was
once loaded into (Windows XP's) memory got swapped, and avast! picked up its
remnant. Loaded into memory doesn't mean that the malware was active, if the
Windows XP was equipped with a good antivirus.

 Hmm  it also thinks that some Batman Begins TS_01_0.VOB files (a back
up I
 made of a legit DVD) are ... a decompression bomb!  Puleze!  o_O

AFAIK decompression bomb is just avast!'s colorful way of saying that
this file is compressed, and I can't uncompress it to scan its contents,
because there's not enough RAM to do a decompression.

Rgds,


Re: [gentoo-user] problem with pam

2011-10-29 Thread Mick
On Saturday 29 Oct 2011 18:47:58 co wrote:
 After I run e2fsck -c on /var partition.I have re-emerged pam. So I think
 there is something wrong with my hard disc. 

This looks like a fs corruption.  It may be a disk problem, or a memory 
problem.

To check for the former you better install smartmontools and run the necessary 
tests (look at the man page and google for details).

To check the latter you can run memtest86+ from a LiveCD overnight, or for a 
few hours.


 And there is still something
 Error and Warning on boot time,and after startx mouse can't move. So how to
 fix the hard disc now? 

You cannot fix a hard disk.  If it is broken you better replace it before it 
breaks completely.

You can fix a file system (if you're lucky) or the installation on it.  You've 
already run the e2fsck command, so there's not much more you can do to fix the 
fs.  All that is left is to reinstall the OS:

emerge -eDNva world

Of course you would not need to do this, if you had a back up?


 Forgive my poor EnglishThank you again

There's nothing wrong with your English ... the problem seems to be with your 
netiquette!  Please do not top post, trim and thread your responses and add 
error messages when things fail to work.

-- 
Regards,
Mick


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


Re: [gentoo-user] Which desktop antivirus?

2011-10-29 Thread Mick
On Saturday 29 Oct 2011 19:25:00 Pandu Poluan wrote:
 On Oct 30, 2011 1:15 AM, Mick michaelkintz...@gmail.com wrote:

  pagefile.sys of a WinXP OS and it thinks it is a Win32:Patched-HO.
 
 If pagefile.sys is detected as a malware, most likely the actual malware
 was once loaded into (Windows XP's) memory got swapped, and avast! picked
 up its remnant. Loaded into memory doesn't mean that the malware was
 active, if the Windows XP was equipped with a good antivirus.

Interesting!  The WinXP has Microsoft Security Essentials on it.  I'll ask my 
wife if it picked up anything lately.

  Hmm  it also thinks that some Batman Begins TS_01_0.VOB files (a back
 
 up I
 
  made of a legit DVD) are ... a decompression bomb!  Puleze!  o_O
 
 AFAIK decompression bomb is just avast!'s colorful way of saying that
 this file is compressed, and I can't uncompress it to scan its contents,
 because there's not enough RAM to do a decompression.

Oh!  I see ...

(I was in close proximity when bombs were going off in London and I get a bit 
jumpy unnecessarily it seems! :))

-- 
Regards,
Mick


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


Re: [gentoo-user] problem with pam

2011-10-29 Thread Andrea Conti
On 29/10/11 19.47, co wrote:
 After I run e2fsck -c on /var partition.I have re-emerged pam. So I 
 think there is something wrong with my hard disc.

Why do you think that? Did badblocks identify any specific problems?

A failing hard disk generally shows very obvious symptoms (noises,
periodic system lockups due to read retries, I/O errors in the kernel
log) before getting to the point of causing the widespread filesystem
corruption you seem to be experiencing.

Ext4 is generally quite resilient even when handled roughly, so I would
tend to suspect a memory issue. That's just a guess, though, since you
didn't provide much information.

 something Error and Warning on boot time,and after startx mouse can't
 move. So how to fix the hard disc now?

As Mick said, you don't fix a hard disk, you try to salvage whatever is
on it and then you go for a replacement.

However, your first priority should be to rule out memory issues: doing
any kind of data recovery operation on a machine with defective memory
is a recipe for disaster.

andrea



Re: [gentoo-user] Re: Hard drive RPMs and data speed.

2011-10-29 Thread daid kahl
Lots of HDD RPMs and company suggestions, but to the point...

My two cents are: ESATA.  I have multi TB external disks which I have
physics data stored on and needs to be analyzed.  USB might be as fast
(in the best case), but it uses processor overhead.

Not that a lot of machines support that kind of input.  I picked up a
decent laptop for cheap that also supports ESATA.  I didn't do
benchmarks or anything, but it's really insane IMO.

~daid

PS Sorry I deleted all the reply text.  I didn't want to copy/paste
individual references to different company external drives and so on,
just to not really care.  Mine is something by Buffalo, but I care
because it has ESATA.

PPS Or you could be my friends using USB formated NTFS and I can use
top to see how much processor power is used by ntfs-3g just to read
the data.  Ugh!




Re: [gentoo-user] [OT] How fast was ... ?

2011-10-29 Thread daid kahl
 Thank you very much for any nice idea, story or of course comparison
 in advance!i :)

Well, I still have a TI-86 calculator with a Z80 processor.  Of
course, even these are extremely mocked these days (eg
http://xkcd.com/768/)

My best friend in high school had programmer parents, and lots of
computer magazines from the 80s.  I know we found some computer with a
Z80 processor from 1980 for $2000.  I bought my calculator in 1998 for
about $100.  Using a random inflation calculator, the same computer
would have cost $4000 at that time.

Who knows about specs and other stuff, but you said you wanted
stories, not science.

~daid

PS Actually my calculator is MIA right now.  Maybe I left it in the US
or Canada...or it's packed in some bag in Japan?  Whatever people can
say, I miss my calculator.