Re: [gentoo-user] Information request: root directory not listed by df

2009-09-20 Thread Alan E. Davis
No this was not the full output from df.  There was nowhere, however, any
reference to /dev/sdc1, the filesystem where  the root filesystem / is
located.  Only the lines in my earlier message:

rootfs29694968   2877284  25309184  11% /
/dev/root 29694968   2877284  25309184  11% /

In /boot/grub/grub.conf the third line in the following specifies the /
directory as /dev/sdc1, while /boot is in /dev/sda1.

title Gentoo Linux 2.6.30-r4.02
root (hd0,0)
kernel /kernel-2.6.30-gentoo-r4.02 root=/dev/sdc1

Thank you for earlier remarks that clarified this issue to a satisfactory
extent.

Alan





Re: [gentoo-user] Where is mplayer?

2009-09-20 Thread Neil Bothwick
On Sat, 19 Sep 2009 16:48:05 -0500, Harry Putnam wrote:

 The newest version of mplayer offered in todays sync is:
media-video/mplayer-1.0_rc4_p20090919-r1
 
 It cannot be found in any of around a dozen repos that emerge tries

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


-- 
Neil Bothwick

What I need is a list of specific unknown problems we will encounter.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: USB drive dead? (Commands to check?)

2009-09-20 Thread Stroller


On 20 Sep 2009, at 01:01, Mark Knecht wrote:


On Sat, Sep 19, 2009 at 4:48 PM, Volker Armin Hemmann
volkerar...@googlemail.com wrote:
SNIP




seriously, I think you should try to get off everything you want to  
keep - and
then replace the disk with a new one. If a disk starts throwing  
block errors
it will only become worse. Don't worry about 'repairing' the file  
system as
long as there is hardware damage. Try to get off the disk as much  
as possible -

and then scrap it.


I suspect you're right. It's just another $100 to go buy a new one

Anyway, I'll see what I can set up to save the files that are still  
there.



Although he seems to be demonstrating in this thread an inability to  
snip long sections of quoted text, leaving the reader with many lines  
of irrelevance to scroll through, I agree with Volker.


If the drive fails you're going to be spending $100, anyway. If it  
fails without having been replaced  your data pulled off it then you  
could find yourself floating down Effluent River and unable to start  
your outboard.


I think this drive is quite likely to fail catastrophically, from my  
experience of having seen similar errors in the past. I really  
wouldn't trust this drive with important data right now. If you get  
your data off it and replace it in it's current capacity, there's  
nothing stopping you using it as a secondary drive in the future; I  
wouldn't trust it with important data right now, but if it's still  
chugging away in 6 months time then you can probably begin to have  
faith in it. Once you've gotten your data off the drive it wouldn't do  
any harm to format it nice with a clean filesystem; and writing a  
bunch of big unimportant files on the drive (e.g. `dd if=/dev/zero of=/ 
mnt/sda1/foo`) might allow it to map away a bunch of bad sectors.


But right now you should probably act like the drive is definitely  
hosed. I don't think you should be saying oh, this might cost me  
$100, I hope it doesn't - you should be saying s#!t d...@mn! I had to  
buy a new hard-drive. But at least my data's ok.


But maybe data isn't as important to you as it is to me. Relying on  
this drive for the backups of your Windows machines right now would be  
a mockery; around here sod's law would conspire for me to need one of  
those backups, were I to continue using a drive showing errors like  
this. I write as a guy you just bought yet another 500gb drive on  
Friday; I would too have preferred not to spend that money, but  
experience shows that frugality can sometimes be a mistake.


Stroller.



[gentoo-user] zsh users, please vote for this bug

2009-09-20 Thread Dirk Heinrichs
Hi,

this is for all (wannabe) zsh users:

Please vote for the following bug so that we can safely use zsh as root's 
login shell in the future.

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

Thanks...

Dirk



[gentoo-user] tellico fails to build

2009-09-20 Thread luis jure


hello list, i'm having problems with tellico.

tellico-1* are masked, because they fail to compile with newer versions
of gcc and glib.

but 2.0_pre2 also fails to build while linking, thus:

[...]
[ 99%] Building CXX object src/CMakeFiles/tellico.dir/reportdialog.o
[ 99%] Building CXX object src/CMakeFiles/tellico.dir/tellico_kernel.o
[100%] Building CXX object src/CMakeFiles/tellico.dir/tellico_utils.o
[100%] Building CXX object src/CMakeFiles/tellico.dir/viewstack.o
Linking CXX executable tellico
/usr/lib/libpoppler-qt4.so: undefined reference to
`GfxColorSpace::setDisplayProfile(void*)' 
/usr/lib/libpoppler-qt4.so: undefined reference to
`GfxColorSpace::setDisplayProfileName(GooString*)' 
/usr/lib/libpoppler-qt4.so: undefined reference to
`GfxColorSpace::getRGBProfile()' 
/usr/lib/libpoppler-qt4.so: undefined reference to 
`GfxColorSpace::getDisplayProfile()'
collect2: ld devolvió el estado de salida 1 
make[2]: *** [src/tellico] Error 1 
make[1]: *** [src/CMakeFiles/tellico.dir/all] Error 2 
make: *** [all] Error 2

this happens to me on my two gentoo machines, but i haven't been able
to find any reference to this problem on the web. 

anyone using tellico here? does it build OK for you? any idea of how to
solve this?

thank you as always,

lj



[gentoo-user] [OT] Setting up correct domainname

2009-09-20 Thread Mick
Hi All,

Up until a few months ago the ISP of the network in question was happy to 
accept and relay messages from my server myserver.mydomain.com which runs 
nagios.  My server gets its IP address from the ISP in question dynamically 
so I use DynDNS to map the subdomain.domain name to it.

To be able to relay messages I of course have set up sendmail to authenticate 
using email_acco...@isp.com/passwd_on_ISP.

When the ISP stopped accepting messages I started getting this error message:


-The following addresses had permanent fatal errors-
email_acco...@isp.com
  (reason: 550 5.1.0 nag...@myserver.mydomain.com sender rejected : invalid 
sender domain)

-Transcript of session follows -
... while talking to smtp.ISP.com:
 MAIL From:nag...@myserver.mydomain.com SIZE=745 AUTH=
 550 5.1.0 nag...@myserver.mydomain.com sender rejected : invalid sender
domain
554 5.0.0 Service unavailable


Does this fail because the ISP's reverse DNS on my dynamically allocated IP 
address resolves to an ISP domain instead of myserver.mydomain.com?

Is there something I could change in the configuration of my server to make 
this work again?
-- 
Regards,
Mick


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


[gentoo-user] runlevels and service list

2009-09-20 Thread William Kenworthy
Is there a reference list of what services should be started in which
runlevels?  I am interested in hald and dbus in particular.

Googling shows mostly people set them to the default runlevel, but I
would like a reference or reason ...

BillK



-- 
William Kenworthy bi...@iinet.net.au
Home in Perth!




[gentoo-user] Re: runlevels and service list

2009-09-20 Thread Nikos Chantziaras

On 09/20/2009 03:34 PM, William Kenworthy wrote:

Is there a reference list of what services should be started in which
runlevels?  I am interested in hald and dbus in particular.

Googling shows mostly people set them to the default runlevel, but I
would like a reference or reason ...


The reason is that they are used by X, and since X is in the default 
runlevel, hal and dbus go there too.





Re: [gentoo-user] tellico fails to build

2009-09-20 Thread Arttu V.
On 9/20/09, luis jure l...@internet.com.uy wrote:
 Linking CXX executable tellico
 /usr/lib/libpoppler-qt4.so: undefined reference to
 `GfxColorSpace::setDisplayProfile(void*)'
 /usr/lib/libpoppler-qt4.so: undefined reference to
 `GfxColorSpace::setDisplayProfileName(GooString*)'
 /usr/lib/libpoppler-qt4.so: undefined reference to
 `GfxColorSpace::getRGBProfile()'
 /usr/lib/libpoppler-qt4.so: undefined reference to
 `GfxColorSpace::getDisplayProfile()'

I don't use tellico, but doesn't that error message mean that your
system's current libpoppler-qt.so is broken?

Run revdep-rebuild, or just emerge -1 poppler-qt4 for poppler's qt4
bindings. Then retry emerging tellico.

-- 
Arttu V.



[gentoo-user] [OT] Conrad SATA-II PCI Controller

2009-09-20 Thread Dan Johansson
[OT] Does anybody know if the 4 PORT SATA II RAID PCI-KARTE 
http://www.conrad.ch/goto.php?artikel=973451 works with (Gentoo-) Linux. On 
the product description page it only lists Wintendo.
And if yes, which kernel driver?

-- 
Dan Johansson, http://www.dmj.nu
***
This message is printed on 100% recycled electrons!
***



Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread William Kenworthy
On Sun, 2009-09-20 at 15:40 +0300, Nikos Chantziaras wrote:
 On 09/20/2009 03:34 PM, William Kenworthy wrote:
  Is there a reference list of what services should be started in which
  runlevels?  I am interested in hald and dbus in particular.
 
  Googling shows mostly people set them to the default runlevel, but I
  would like a reference or reason ...
 
 The reason is that they are used by X, and since X is in the default 
 runlevel, hal and dbus go there too.
 
 

Lots of other things use them as well - not just X, so thats not a
reason (and lots of systems that dont have X but need dbus and hal).  I
would like to know why they are started in the default run-level, not at
boot which seems more reasonable for low level hardware support.

BillK





Re: [gentoo-user] [OT] Setting up correct domainname

2009-09-20 Thread Stroller


On 20 Sep 2009, at 12:30, Mick wrote:

...
-The following addresses had permanent fatal errors-
email_acco...@isp.com
 (reason: 550 5.1.0 nag...@myserver.mydomain.com sender rejected :  
invalid

sender domain)

-Transcript of session follows -
... while talking to smtp.ISP.com:

MAIL From:nag...@myserver.mydomain.com SIZE=745 AUTH=
 550 5.1.0 nag...@myserver.mydomain.com sender rejected :  
invalid sender

domain
554 5.0.0 Service unavailable


Does this fail because the ISP's reverse DNS on my dynamically  
allocated IP

address resolves to an ISP domain instead of myserver.mydomain.com?


I'm not quite clear. Does the myserver.mydomain.com resolve to the  
server actually sending the mail? I think that may be what they're  
asking for.


Stroller.




Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Alan McKinnon
On Sunday 20 September 2009 14:50:02 William Kenworthy wrote:
 On Sun, 2009-09-20 at 15:40 +0300, Nikos Chantziaras wrote:
  On 09/20/2009 03:34 PM, William Kenworthy wrote:
   Is there a reference list of what services should be started in which
   runlevels?  I am interested in hald and dbus in particular.
  
   Googling shows mostly people set them to the default runlevel, but I
   would like a reference or reason ...
 
  The reason is that they are used by X, and since X is in the default
  runlevel, hal and dbus go there too.
 
 Lots of other things use them as well - not just X, so thats not a
 reason (and lots of systems that dont have X but need dbus and hal).  I
 would like to know why they are started in the default run-level, not at
 boot which seems more reasonable for low level hardware support.

It comes down to personal preference. Any service in the boot runlevel will 
always be started, unlike default or other runlevels which can be run or not 
run by user choice. There's no good reason to mandate that dbus and hal will 
*always* run.

Normally, nothing in the boot runlevel uses hal or dbus as these are userspace 
daemons used by apps that run when the system is up in its normal state. The 
primary consumer of dbus is of course the desktop. When the system is in 
single user mode for maintenance, dbus and hal will not normally be required.

If it makes you feel better, start dbus and hal in the boot runlevel by all 
means. They are normally in default because everything that uses them is in 
default.

Like I said earlier, there is no good, sane, all-encompassing reason to have 
or not have them in boot. They are not there by default because the maintainer 
probably saw no good reason to do so, and for no other reason.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] tellico fails to build

2009-09-20 Thread luis jure
on 2009-09-20 at 15:44 Arttu V. wrote:

Run revdep-rebuild, or just emerge -1 poppler-qt4 for poppler's qt4
bindings. Then retry emerging tellico.

thanks for your suggestions, but i had already tried that, like i guess
i tried all these obvious bets.

anyone actually using tellico?




Re: [gentoo-user] tellico fails to build

2009-09-20 Thread luis jure
on 2009-09-20 at 11:05 luis jure wrote:

thanks for your suggestions, but i had already tried that, like i guess
i tried all these obvious bets.

just for the record, now i tried something else: i downgraded all the
poppler packages to version 0.10.7 (instead of 0.12.0) and now it
builds.




Re: [gentoo-user] tellico fails to build

2009-09-20 Thread Dale
luis jure wrote:
 on 2009-09-20 at 11:05 luis jure wrote:

   
 thanks for your suggestions, but i had already tried that, like i guess
 i tried all these obvious bets.
 

 just for the record, now i tried something else: i downgraded all the
 poppler packages to version 0.10.7 (instead of 0.12.0) and now it
 builds.



   

File a roach report maybe?  You know, bug report.  Provided all should
work together.

Dale

:-)  :-) 



[gentoo-user] [OT] Kernel 2.2.5 in VMware guest: network problems

2009-09-20 Thread Stefan G. Weichinger

Sorry for being a bit offtopic here, but I simply hope for some
experienced help in this group ...

I run VMware-Server 2.0.1 on a gentoo amd64-box.

Things work OK, I have various guests (gentoo, ubuntu, xp, solaris, ...)
and all of them work fine.

Right now I am trying to virtualize an ancient Suse Linux 6.2 box which
is running Linux 2.2.5.

It boots OK, I adjusted network-settings, chose the pcnet32-module,
attached that adapter to the bridged network and set the correct IP/netmask.

The device is found at startup, dmesg shows it and no errors.
ifconfig shows eth0 correct as well, but:

it does not ping ... I am not able to ping the guest ... the arp-cache
doesn not fill ... I simply don't know.

This is crucial as a VM without network is simply not useful.

Could this relate to some virtual hardware not yet supported by the old
kernel?

I see Unknown device 15ad:07a0 in lspci, which seems to show that I
use a VM with version 7 ... maybe that's too new for that kernel. Will
try to use an older one and compare.

I am unsure if installing vmware-tools would even work?

Does someone here have some tips for me how to get that box online?

Thank you, Stefan



[gentoo-user] fcron fetchmail procmail and the why not?

2009-09-20 Thread meino . cramer


Hi,

I have used for testing the following combo:
Configured fetchmail for my user account and configured
procmail to deliver the mail.
I called fetchmail by hand:
It works.
In my fetchmailrc there is the line 

mda /usr/bin/procmail -d %T

as said: When started by hand everything is fine.

Also fcron is installed and my personal fcrontab contains
the line:

@ 5 mrxvt -fn 10x20 -display :0.0 -g 30x5+0+0 -e dialog --yesno TEST 10 30

which also works: Every five minutes a dialog box pops up.

BUT!

When using the line:

@ 5 fetchmail -a

nothing happens: The mail remains on the server and can be downloaded
with

fetchmail -a

from the commandline.

May be I am a little overhacked today...but what the hack I am doing
wrong here?

Thank you very much for any help in advance!
mcc

-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] SOLVED [OT] Kernel 2.2.5 in VMware guest

2009-09-20 Thread Stefan G. Weichinger
Stefan G. Weichinger schrieb:

 I see Unknown device 15ad:07a0 in lspci, which seems to show that I
 use a VM with version 7 ... maybe that's too new for that kernel. Will
 try to use an older one and compare.

success! Posting here lead me to that idea and it helped. I attached the
virtual disk to a new VM, now with version 4 instead of 7 and the nic
pings now!

Sorry for the noise, Stefan



[gentoo-user] Why am I seeing only black screen in mplayer

2009-09-20 Thread Harry Putnam
Following my most recent update world of Sept. 13, mplayer only
produces a black screen when playing quicktime .mov files.

Ditto in firefox.  This was working.

But I'm not sure really what is playing the videos ... I do have gecko
installed but in the firefox settings/applications it lists:
quicktime files as being handled by `Use quicktime plugin 7.4.5

All other video formats are listed as being handled by gecko.

I'm not sure if firefox settings were changed by  update world.

Can anyone throw some light on what might be the problem here.

Does anyone know if the new version of mplayer(1.0_rc4_p20090919-r1)
offered in portage (which is not yet available in gentoo repos)...
might fix the problem?

  = * = * = * =

A list of pkgs updated on Sept 13:

qlop --list |grep 'Sep 13 '

Sun Sep 13 05:52:10 2009  dev-libs/expat-2.0.1-r2
Sun Sep 13 05:53:55 2009  media-libs/jpeg-7
Sun Sep 13 05:54:26 2009  sys-devel/gnuconfig-20090819
Sun Sep 13 05:55:10 2009  sys-libs/timezone-data-2009m
Sun Sep 13 05:56:53 2009  app-arch/xz-utils-4.999.9_beta
Sun Sep 13 05:57:25 2009  app-portage/portage-utils-0.2.1
Sun Sep 13 06:00:17 2009  dev-lang/swig-1.3.40
Sun Sep 13 06:01:51 2009  sys-apps/sandbox-2.1
Sun Sep 13 06:02:29 2009  app-arch/unzip-6.0-r1
Sun Sep 13 06:02:55 2009  sys-apps/pciutils-3.1.4
Sun Sep 13 06:06:04 2009  app-shells/bash-4.0_p33
Sun Sep 13 06:07:05 2009  mail-filter/bogofilter-1.2.1
Sun Sep 13 06:08:23 2009  media-libs/fontconfig-2.7.2
Sun Sep 13 06:08:38 2009  sys-apps/debianutils-3.2.1-r1
Sun Sep 13 06:08:54 2009  perl-core/Compress-Raw-Bzip2-2.021
Sun Sep 13 06:09:11 2009  perl-core/Storable-2.21
Sun Sep 13 06:09:27 2009  perl-core/Compress-Raw-Zlib-2.021
Sun Sep 13 06:09:40 2009  dev-perl/yaml-0.70
Sun Sep 13 06:09:54 2009  dev-util/intltool-0.40.6-r1
Sun Sep 13 06:10:10 2009  dev-perl/HTML-Parser-3.62
Sun Sep 13 06:10:18 2009  virtual/perl-Compress-Raw-Bzip2-2.021
Sun Sep 13 06:10:26 2009  virtual/perl-Compress-Raw-Zlib-2.021
Sun Sep 13 06:10:33 2009  virtual/perl-Package-Constants-0.02
Sun Sep 13 06:10:40 2009  virtual/perl-Storable-2.21
Sun Sep 13 06:10:55 2009  perl-core/IO-Compress-2.021
Sun Sep 13 06:11:08 2009  dev-perl/IO-Socket-SSL-1.30
Sun Sep 13 06:11:16 2009  virtual/perl-IO-Compress-2.021
Sun Sep 13 06:11:29 2009  perl-core/Archive-Tar-1.54
Sun Sep 13 06:11:37 2009  virtual/perl-Archive-Tar-1.54
Sun Sep 13 06:11:55 2009  perl-core/Module-Build-0.35
Sun Sep 13 06:12:02 2009  virtual/perl-Module-Build-0.35
Sun Sep 13 06:13:01 2009  sys-libs/readline-6.0_p4
Sun Sep 13 06:15:11 2009  dev-libs/apr-1.3.8
Sun Sep 13 06:16:08 2009  media-libs/libtheora-1.1_beta3
Sun Sep 13 06:16:50 2009  net-libs/libpcap-1.0.1_pre20090812
Sun Sep 13 06:18:32 2009  dev-db/sqlite-3.6.18
Sun Sep 13 06:18:45 2009  app-emacs/emacs-common-gentoo-1.2
Sun Sep 13 06:38:56 2009  dev-db/mysql-5.0.84-r1
Sun Sep 13 06:39:46 2009  dev-libs/apr-util-1.3.9
Sun Sep 13 06:40:10 2009  dev-perl/DBD-mysql-4.01.2
Sun Sep 13 06:41:33 2009  app-admin/rsyslog-3.22.1
Sun Sep 13 06:42:16 2009  app-admin/apache-tools-2.2.13
Sun Sep 13 06:45:28 2009  www-servers/apache-2.2.13
Sun Sep 13 06:45:35 2009  x11-base/xorg-drivers-1.6
Sun Sep 13 06:46:57 2009  x11-libs/pixman-0.16.0
Sun Sep 13 06:47:32 2009  x11-libs/libdrm-2.4.13
Sun Sep 13 06:47:57 2009  x11-apps/xkbcomp-1.1.0
Sun Sep 13 06:48:15 2009  x11-apps/mkfontscale-1.0.6
Sun Sep 13 06:48:55 2009  x11-libs/libFS-1.0.2
Sun Sep 13 06:49:24 2009  media-fonts/encodings-1.0.2-r1
Sun Sep 13 06:53:39 2009  sys-apps/coreutils-7.5
Sun Sep 13 06:55:54 2009  sys-apps/util-linux-2.16.1
Sun Sep 13 06:57:18 2009  sys-apps/findutils-4.5.5
Sun Sep 13 06:58:22 2009  sys-apps/gawk-3.1.7
Sun Sep 13 06:58:53 2009  sys-apps/net-tools-1.60_p20090728014017-r1
Sun Sep 13 07:00:44 2009  dev-libs/libcdio-0.80-r1
Sun Sep 13 07:05:24 2009  app-portage/eix-0.17.1
Sun Sep 13 07:06:34 2009  app-editors/nano-2.1.10
Sun Sep 13 07:07:22 2009  x11-libs/libSM-1.1.1
Sun Sep 13 07:07:49 2009  sys-apps/help2man-1.36.4-r1
Sun Sep 13 07:09:05 2009  app-i18n/enca-1.10
Sun Sep 13 07:12:17 2009  x11-libs/libXt-1.0.6
Sun Sep 13 07:16:42 2009  net-misc/curl-7.19.6
Sun Sep 13 07:20:33 2009  sys-apps/dbus-1.3.0
Sun Sep 13 07:23:01 2009  x11-misc/x11vnc-0.9.8
Sun Sep 13 07:24:55 2009  x11-libs/libXaw-1.0.6
Sun Sep 13 07:30:42 2009  dev-libs/glib-2.20.5
Sun Sep 13 07:31:37 2009  sys-libs/e2fsprogs-libs-1.41.9
Sun Sep 13 07:31:46 2009  app-arch/rar-3.9.0
Sun Sep 13 07:32:54 2009  media-libs/babl-0.1.0
Sun Sep 13 07:34:39 2009  sys-fs/e2fsprogs-1.41.9
Sun Sep 13 07:35:14 2009  dev-perl/glib-perl-1.222
Sun Sep 13 07:37:19 2009  media-libs/schroedinger-1.0.7-r2
Sun Sep 13 07:37:31 2009  sys-kernel/genkernel-3.4.10.906
Sun Sep 13 07:37:50 2009  dev-perl/libwww-perl-5.831
Sun Sep 13 07:38:03 2009  sys-auth/pambase-20090620.1-r1
Sun Sep 13 07:40:05 2009  dev-libs/cyrus-sasl-2.1.23-r1
Sun Sep 13 07:42:03 2009  mail-client/mutt-1.5.20-r5
Sun Sep 13 07:43:41 2009  mail-mta/sendmail-8.14.3-r1
Sun Sep 13 07:52:10 2009  

[gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-20 Thread walt

On 09/19/2009 07:17 PM, meino.cra...@gmx.de wrote:

waltw41...@gmail.com  [09-09-20 04:13]:

On 09/19/2009 05:07 PM, meino.cra...@gmx.de wrote:

waltw41...@gmail.com   [09-09-20 02:03]:

On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:


Nonetheless I added the UNLOAD_ON_STOP=no to /etc/conf.d/alsasound
and we will see what happens.


Did you try stopping the alsa service manually?

#/etc/init.d/alsasound stop



This gave me errors, since my Webcam's audio part isn't implemented as
full audio device, but it does not hang:



...but this problem was there long before the system cannot be
shutdown anymore and I think it is not clean but the root of all
evil


Well, in any case you should be able to eliminate those error messages
if you delete /etc/asound.* and then repeat the alsactl store.




[gentoo-user] Re: [OT] Setting up correct domainname

2009-09-20 Thread Harry Putnam
Mick michaelkintz...@gmail.com writes:

 -The following addresses had permanent fatal errors-
 email_acco...@isp.com
   (reason: 550 5.1.0 nag...@myserver.mydomain.com sender rejected : invalid 
 sender domain)

 -Transcript of session follows -
 ... while talking to smtp.ISP.com:
 MAIL From:nag...@myserver.mydomain.com SIZE=745 AUTH=
  550 5.1.0 nag...@myserver.mydomain.com sender rejected : invalid sender
 domain
 554 5.0.0 Service unavailable
 

 Does this fail because the ISP's reverse DNS on my dynamically allocated IP 
 address resolves to an ISP domain instead of myserver.mydomain.com?

 Is there something I could change in the configuration of my server to make 
 this work again?

I think you might avoid the problem by making sendmail Impersonate your
isps domain.

Using some or all of these settings in sendmail.mc
 MASQUERADE_AS(`yourISP.domain')dnl
 MASQUERADE_DOMAIN(`youractual.domain')dnl
 FEATURE(masquerade_entire_domain)dnl
 FEATURE(masquerade_envelope)dnl




Re: [gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-20 Thread meino . cramer
walt w41...@gmail.com [09-09-20 18:14]:
 On 09/19/2009 07:17 PM, meino.cra...@gmx.de wrote:
 waltw41...@gmail.com  [09-09-20 04:13]:
 On 09/19/2009 05:07 PM, meino.cra...@gmx.de wrote:
 waltw41...@gmail.com   [09-09-20 02:03]:
 On 09/19/2009 05:31 AM, meino.cra...@gmx.de wrote:
 
 Nonetheless I added the UNLOAD_ON_STOP=no to 
 /etc/conf.d/alsasound
 and we will see what happens.
 
 Did you try stopping the alsa service manually?
 
 #/etc/init.d/alsasound stop
 
 
 This gave me errors, since my Webcam's audio part isn't implemented 
 as
 full audio device, but it does not hang:
 
 ...but this problem was there long before the system cannot be
 shutdown anymore and I think it is not clean but the root of all
 evil
 
 Well, in any case you should be able to eliminate those error messages
 if you delete /etc/asound.* and then repeat the alsactl store.
 

solfire:/home/mccramerl /etc/asound.state
-rw-r--r-- 1 root root 10122 2009-08-06 18:05 /etc/asound.state
solfire:/home/mccramersudo rm -f /etc/asound.state
solfire:/home/mccramersudo alsactl store
alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument
solfire:/home/mccramer


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-20 Thread meino . cramer
cov...@ccs.covici.com cov...@ccs.covici.com [09-09-19 15:19]:
 Mick michaelkintz...@gmail.com wrote:
 
  On Saturday 19 September 2009, meino.cra...@gmx.de wrote:
cleaner shutdown.  This is taken from a email that was sent to me during
that horrible xorg-server and hal upgrade.
   
 Hold down Atl, hold down SysRq, press each of the keys in turn. The
 usual full sequence is R-E-I-S-U-B Reboot Even If System Utterly
 Broken By ${DEITY} - this tagline picker is spooky at times :-O
 -- Neil Bothwick
   
I tried this once when I was unable to get my keyboard to respond to
anything else.  I made it through the first three or four and was
returned to a console with a working keyboard.  Since you are shutting
down, you may want to go through them all to be safe.  I think the last
one does a reboot.
   
Hope that helps.
   
Dale
   
:-) :-)
  
   Hi Dale,
  
   thanks a lot for your help!!!  :)
  
   This will help to bring donw the machine in an more
   cleaner way as simply pressing the power switch ;-)
  
   But:
   How can I figure out, what hangs the shutdown process itsself?
  
  Last time I came across a problem like this I had forgotten to select the 
  right chipset under Graphics support/AGP Support/ in the kernel.  So I 
  suggest you revisit your kernel and xorg drivers setups for your card.
  -- 
 Hi.  I have a somewhat similar problem, when I shutdown it goes all the
 way to the end, but instead of shutting down, it says
 init: nomore processes left in this runlevel.  This is fine if I am
 here, but from a remote location it would not work, so how can I figure
 out why this is happening?  I think this started when I went to
 baselayout 2, but not certain of that.
 

I solved the problem:

/etc/slim.conf has the 

daemon = no

flag, so the boot process seems optically ok but hangs right
after slim hast started.
Shutting down the system tries to stop services/processes/action,
which never has been started...which fails in a hang.

I dont know exactly...but...if that flag is the default configuration
when installing slim I would suggest to change it to

daemon = yes

to prevent users like me to spend the weekend in searching for a 
problem in the shutdown process.

 -- 
 Your life is like a penny.  You're going to lose it.  The question is:
 How do
 you spend it?
 
  John Covici
  cov...@ccs.covici.com

Life is worth more than a penny...

   Meino Christian Cramer
   meino.cra...@gmx.de
   ;)


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Neil Bothwick
On Sun, 20 Sep 2009 20:50:02 +0800, William Kenworthy wrote:

 Lots of other things use them as well - not just X, so thats not a
 reason (and lots of systems that dont have X but need dbus and hal).  I
 would like to know why they are started in the default run-level, not at
 boot which seems more reasonable for low level hardware support.

Because they don't need to go in boot, as evidenced by the successful
booting of your system. The boot runlevel is for those services that have
to be started before anything else.

Dbus doesn't need to be put in any runlevel, it will be started when hald
needs it.


-- 
Neil Bothwick

One person's error is another person's data.


signature.asc
Description: PGP signature


Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-20 Thread covici
meino.cra...@gmx.de wrote:

 cov...@ccs.covici.com cov...@ccs.covici.com [09-09-19 15:19]:
  Mick michaelkintz...@gmail.com wrote:
  
   On Saturday 19 September 2009, meino.cra...@gmx.de wrote:
 cleaner shutdown.  This is taken from a email that was sent to me 
 during
 that horrible xorg-server and hal upgrade.

  Hold down Atl, hold down SysRq, press each of the keys in turn. The
  usual full sequence is R-E-I-S-U-B Reboot Even If System Utterly
  Broken By ${DEITY} - this tagline picker is spooky at times :-O
  -- Neil Bothwick

 I tried this once when I was unable to get my keyboard to respond to
 anything else.  I made it through the first three or four and was
 returned to a console with a working keyboard.  Since you are shutting
 down, you may want to go through them all to be safe.  I think the 
 last
 one does a reboot.

 Hope that helps.

 Dale

 :-) :-)
   
Hi Dale,
   
thanks a lot for your help!!!  :)
   
This will help to bring donw the machine in an more
cleaner way as simply pressing the power switch ;-)
   
But:
How can I figure out, what hangs the shutdown process itsself?
   
   Last time I came across a problem like this I had forgotten to select the 
   right chipset under Graphics support/AGP Support/ in the kernel.  So I 
   suggest you revisit your kernel and xorg drivers setups for your card.
   -- 
  Hi.  I have a somewhat similar problem, when I shutdown it goes all the
  way to the end, but instead of shutting down, it says
  init: nomore processes left in this runlevel.  This is fine if I am
  here, but from a remote location it would not work, so how can I figure
  out why this is happening?  I think this started when I went to
  baselayout 2, but not certain of that.
  
 
 I solved the problem:
 
 /etc/slim.conf has the 
 
 daemon = no
 
 flag, so the boot process seems optically ok but hangs right
 after slim hast started.
 Shutting down the system tries to stop services/processes/action,
 which never has been started...which fails in a hang.
 
 I dont know exactly...but...if that flag is the default configuration
 when installing slim I would suggest to change it to
 
 daemon = yes
 
 to prevent users like me to spend the weekend in searching for a 
 problem in the shutdown process.
 
I don't have such a file, or as far as I know, such a package.  My
shutdown does not hang, it just says no more processes left at this run
level and sits there forever and will not restart the system.

-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-20 Thread walt

On 09/20/2009 09:15 AM, meino.cra...@gmx.de wrote:


solfire:/home/mccramerl /etc/asound.state
-rw-r--r-- 1 root root 10122 2009-08-06 18:05 /etc/asound.state
solfire:/home/mccramersudo rm -f /etc/asound.state
solfire:/home/mccramersudo alsactl store
alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture Volume,0': 
Invalid argument
solfire:/home/mccramer


I also have /etc/asound.names, which was apparently created a year ago
by alsactl names (now deprecated).  If you have that file it should
also be deleted.






Re: [gentoo-user] fcron fetchmail procmail and the why not?

2009-09-20 Thread Ward Poelmans
On Sun, Sep 20, 2009 at 17:34,  meino.cra...@gmx.de wrote:

 When using the line:

    @ 5 fetchmail -a

 nothing happens: The mail remains on the server and can be downloaded
 with

    fetchmail -a

 from the commandline.

 May be I am a little overhacked today...but what the hack I am doing
 wrong here?

Are you sure the cron job runs? Check the logs. Or try adding:
*/5 * * * * fetchmail -a
in your cron file.

Ward



Re: [gentoo-user] Re: USB drive dead? (Commands to check?)

2009-09-20 Thread Mark Knecht
On Sun, Sep 20, 2009 at 3:24 AM, Stroller
strol...@stellar.eclipse.co.uk wrote:

 On 20 Sep 2009, at 01:01, Mark Knecht wrote:

 On Sat, Sep 19, 2009 at 4:48 PM, Volker Armin Hemmann
 volkerar...@googlemail.com wrote:
 SNIP


 seriously, I think you should try to get off everything you want to keep
 - and
 then replace the disk with a new one. If a disk starts throwing block
 errors
 it will only become worse. Don't worry about 'repairing' the file system
 as
 long as there is hardware damage. Try to get off the disk as much as
 possible -
 and then scrap it.

 I suspect you're right. It's just another $100 to go buy a new one

 Anyway, I'll see what I can set up to save the files that are still there.


 Although he seems to be demonstrating in this thread an inability to snip
 long sections of quoted text, leaving the reader with many lines of
 irrelevance to scroll through, I agree with Volker.

 If the drive fails you're going to be spending $100, anyway. If it fails
 without having been replaced  your data pulled off it then you could find
 yourself floating down Effluent River and unable to start your outboard.

 I think this drive is quite likely to fail catastrophically, from my
 experience of having seen similar errors in the past. I really wouldn't
 trust this drive with important data right now. If you get your data off it
 and replace it in it's current capacity, there's nothing stopping you using
 it as a secondary drive in the future; I wouldn't trust it with important
 data right now, but if it's still chugging away in 6 months time then you
 can probably begin to have faith in it. Once you've gotten your data off the
 drive it wouldn't do any harm to format it nice with a clean filesystem; and
 writing a bunch of big unimportant files on the drive (e.g. `dd if=/dev/zero
 of=/mnt/sda1/foo`) might allow it to map away a bunch of bad sectors.

 But right now you should probably act like the drive is definitely hosed. I
 don't think you should be saying oh, this might cost me $100, I hope it
 doesn't - you should be saying s#!t d...@mn! I had to buy a new hard-drive.
 But at least my data's ok.

 But maybe data isn't as important to you as it is to me. Relying on this
 drive for the backups of your Windows machines right now would be a mockery;
 around here sod's law would conspire for me to need one of those backups,
 were I to continue using a drive showing errors like this. I write as a guy
 you just bought yet another 500gb drive on Friday; I would too have
 preferred not to spend that money, but experience shows that frugality can
 sometimes be a mistake.

 Stroller.


Turns out none of the backup or Myth files were savable in any
practical manner of speaking. Myth could play them, or at least start
playing them - I don't know if it could get to the end of any of them,
but if I tried to copy them off to another drive the machine just
started hanging with lots of dmesg drive errors. None of the previous
windows backups were savable. I've taken new windows backups starting
last night.

The failing drive is now off line and the family will just have to
live with less Myth recording time. I've switched to an old, slow 80GB
1394 drive vs the newer 160GB USB2 drive that failed.

I guess this now comes down to having no backup for my backup system.
;-) Saving anything on hard drives always results with this risk I
suppose. My daily backups are 1-2 GB in total so I guess I could start
writing DVDs or something like that.

Thanks to all for your inputs and ideas.

Cheers,
Mark



Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Philip Webb
090920 Neil Bothwick wrote:
 Dbus doesn't need to be put in any runlevel,
 it will be started when hald needs it.

I was wondering why Htop shows it, but it isn't in the default runlevel.

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-20 Thread Dale
cov...@ccs.covici.com wrote:
 meino.cra...@gmx.de wrote:

   
 cov...@ccs.covici.com cov...@ccs.covici.com [09-09-19 15:19]:
 
 I solved the problem:

 /etc/slim.conf has the 

 daemon = no

 flag, so the boot process seems optically ok but hangs right
 after slim hast started.
 Shutting down the system tries to stop services/processes/action,
 which never has been started...which fails in a hang.

 I dont know exactly...but...if that flag is the default configuration
 when installing slim I would suggest to change it to

 daemon = yes

 to prevent users like me to spend the weekend in searching for a 
 problem in the shutdown process.

 
 I don't have such a file, or as far as I know, such a package.  My
 shutdown does not hang, it just says no more processes left at this run
 level and sits there forever and will not restart the system.

   

Has the OP checked his inittab file?  I ran into something like this
once a long time ago and I had to replace the inittab file since some of
it was gone.  That file belongs to sysvinit so it may be worth
re-emerging that to see if helps. 

I can post mine if you want something to compare to.  Off list of
course.  Then again, it may not be to big.

Dale

:-)  :-) 



Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-20 Thread covici
Dale rdalek1...@gmail.com wrote:

 cov...@ccs.covici.com wrote:
  meino.cra...@gmx.de wrote:
 

  cov...@ccs.covici.com cov...@ccs.covici.com [09-09-19 15:19]:
  
  I solved the problem:
 
  /etc/slim.conf has the 
 
  daemon = no
 
  flag, so the boot process seems optically ok but hangs right
  after slim hast started.
  Shutting down the system tries to stop services/processes/action,
  which never has been started...which fails in a hang.
 
  I dont know exactly...but...if that flag is the default configuration
  when installing slim I would suggest to change it to
 
  daemon = yes
 
  to prevent users like me to spend the weekend in searching for a 
  problem in the shutdown process.
 
  
  I don't have such a file, or as far as I know, such a package.  My
  shutdown does not hang, it just says no more processes left at this run
  level and sits there forever and will not restart the system.
 

 
 Has the OP checked his inittab file?  I ran into something like this
 once a long time ago and I had to replace the inittab file since some of
 it was gone.  That file belongs to sysvinit so it may be worth
 re-emerging that to see if helps. 
 
 I can post mine if you want something to compare to.  Off list of
 course.  Then again, it may not be to big.
 
 Dale
 
 :-)  :-) 
Here is my inittab, its pretty short.
#
# /etc/inittab:  This file describes how the INIT process should set up
#the system in a certain run-level.
#
# Author:  Miquel van Smoorenburg, miqu...@cistron.nl
# Modified by:  Patrick J. Volkerding, volke...@ftp.cdrom.com
# Modified by:  Daniel Robbins, drobb...@gentoo.org
# Modified by:  Martin Schlemmer, aza...@gentoo.org
#
# $Header: /var/cvsroot/gentoo-x86/sys-apps/sysvinit/files/inittab,v 1.5 
2005/12/22 02:03:23 vapier Exp $

# Default runlevel.
id:3:initdefault:

# System initialization, mount local filesystems, etc.
si::sysinit:/sbin/rc sysinit

# Further system initialization, brings up the boot runlevel.
rc::bootwait:/sbin/rc boot

l0:0:wait:/sbin/rc shutdown 
l1:S1:wait:/sbin/rc single
l2:2:wait:/sbin/rc nonetwork
l3:3:wait:/sbin/rc default
l4:4:wait:/sbin/rc default
l5:5:wait:/sbin/rc default
l6:6:wait:/sbin/rc reboot
#z6:6:respawn:/sbin/sulogin

# TERMINALS
c1:12345:respawn:/sbin/agetty 38400 tty1 linux
c2:2345:respawn:/sbin/agetty 38400 tty2 linux
c3:2345:respawn:/sbin/agetty 38400 tty3 linux
c4:2345:respawn:/sbin/agetty 38400 tty4 linux
c5:2345:respawn:/sbin/agetty 38400 tty5 linux
c6:2345:respawn:/sbin/agetty 38400 tty6 linux
c7:2345:respawn:/sbin/agetty 38400 tty7 linux
c8:12345:respawn:/sbin/agetty 38400 tty8 linux
c9:2345:respawn:/sbin/agetty 38400 tty9 linux
c10:2345:respawn:/sbin/agetty 38400 tty10 linux
c11:2345:respawn:/sbin/agetty 38400 tty11 linux


# SERIAL CONSOLES
#s0:12345:respawn:/sbin/agetty 9600 ttyS0 vt100
#s1:12345:respawn:/sbin/agetty 9600 ttyS1 vt100

# What to do at the Three Finger Salute.
ca:12345:ctrlaltdel:/sbin/shutdown -r now

# Used by /etc/init.d/xdm to control DM startup.
# Read the comments in /etc/init.d/xdm for more
# info. Do NOT remove, as this will start nothing
# extra at boot if /etc/init.d/xdm is not added
# to the default runlevel.
x:a:once:/etc/X11/startDM.sh



-- 
Your life is like a penny.  You're going to lose it.  The question is:
How do
you spend it?

 John Covici
 cov...@ccs.covici.com



[gentoo-user] Re: Address Label and Envelop Printing

2009-09-20 Thread James
Willie Wong wwong at math.princeton.edu writes:


 Commercial address labels mostly have templates in OpenOffice. 
 The downside, of course, is that it may seem like an overkill. 


Avery did the trick.


 (You can also make templates yourself in OO.)

nice to know.


thx,

James







[gentoo-user] Re: runlevels and service list

2009-09-20 Thread Nikos Chantziaras

On 09/20/2009 09:45 PM, Philip Webb wrote:

090920 Neil Bothwick wrote:

Dbus doesn't need to be put in any runlevel,
it will be started when hald needs it.


I was wondering why Htop shows it, but it isn't in the default runlevel.


/bin/bash is also shown in htop even though bash isn't in any runlevel 
either ;)





Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Neil Bothwick
On Sun, 20 Sep 2009 21:51:17 +0300, Nikos Chantziaras wrote:

 /bin/bash is also shown in htop even though bash isn't in any runlevel 
 either ;)

Not here.


-- 
Neil Bothwick

In the 60's people took acid to make the world weird.
Now the world is weird and people take Prozac to make it normal.


signature.asc
Description: PGP signature


Re: [gentoo-user] Shutting down process hangs - how to proceed?

2009-09-20 Thread Dale
cov...@ccs.covici.com wrote:

 Here is my inittab, its pretty short.


 # TERMINALS
 c1:12345:respawn:/sbin/agetty 38400 tty1 linux
 c2:2345:respawn:/sbin/agetty 38400 tty2 linux
 c3:2345:respawn:/sbin/agetty 38400 tty3 linux
 c4:2345:respawn:/sbin/agetty 38400 tty4 linux
 c5:2345:respawn:/sbin/agetty 38400 tty5 linux
 c6:2345:respawn:/sbin/agetty 38400 tty6 linux
 c7:2345:respawn:/sbin/agetty 38400 tty7 linux
 c8:12345:respawn:/sbin/agetty 38400 tty8 linux
 c9:2345:respawn:/sbin/agetty 38400 tty9 linux
 c10:2345:respawn:/sbin/agetty 38400 tty10 linux
 c11:2345:respawn:/sbin/agetty 38400 tty11 linux

   

Other than this section, I didn't see any differences.  Surely that
wouldn't cause this type of problem. 

I'm clueless.  emerge -ev system maybe?  It may catch something that is
broken.

Dale

:-)  :-)



Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Dale
Neil Bothwick wrote:
 On Sun, 20 Sep 2009 21:51:17 +0300, Nikos Chantziaras wrote:

   
 /bin/bash is also shown in htop even though bash isn't in any runlevel 
 either ;)
 

 Not here.


   

This is all I get for bash:

r...@smoker / # ps aux | grep bash
dale  7254  0.0  0.0   3044   572 ?SSep19   0:00
/bin/bash /usr/libexec/mozilla-launcher
root  7704  0.0  0.0   1888   516 pts/0S+   15:01   0:00 grep
--colour=auto bash
r...@smoker / #

I guess Seamonkey uses it for something.  That is also all that shows up
in htop as well.  Nothing else bash that I can find.

Nikos, you got something weird going on in your system?

Dale

:-)  :-) 



Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Alan McKinnon
On Sunday 20 September 2009 22:06:44 Dale wrote:
 Neil Bothwick wrote:
  On Sun, 20 Sep 2009 21:51:17 +0300, Nikos Chantziaras wrote:
  /bin/bash is also shown in htop even though bash isn't in any runlevel
  either ;)
 
  Not here.
 
 This is all I get for bash:
 
 r...@smoker / # ps aux | grep bash
 dale  7254  0.0  0.0   3044   572 ?SSep19   0:00
 /bin/bash /usr/libexec/mozilla-launcher
 root  7704  0.0  0.0   1888   516 pts/0S+   15:01   0:00 grep
 --colour=auto bash
 r...@smoker / #
 
 I guess Seamonkey uses it for something.  That is also all that shows up
 in htop as well.  Nothing else bash that I can find.

The mozilla launcher scripts spawn an instance of bash which then goes looking 
for the mozilla binaries and launches them. All perfectly normal.

The reason you don't see bash in ps is because you are not running bash. I do, 
but you obviously don't. What shell does root use per /etc/passwd? 
-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: [OT] Setting up correct domainname

2009-09-20 Thread Mick
On Sunday 20 September 2009, Harry Putnam wrote:
 Mick michaelkintz...@gmail.com writes:
  -The following addresses had permanent fatal errors-
  email_acco...@isp.com
(reason: 550 5.1.0 nag...@myserver.mydomain.com sender rejected :
  invalid sender domain)
 
  -Transcript of session follows -
 
  ... while talking to smtp.ISP.com:
  MAIL From:nag...@myserver.mydomain.com SIZE=745 AUTH=
 
   550 5.1.0 nag...@myserver.mydomain.com sender rejected : invalid
  sender domain
  554 5.0.0 Service unavailable
  
 
  Does this fail because the ISP's reverse DNS on my dynamically allocated
  IP address resolves to an ISP domain instead of myserver.mydomain.com?
 
  Is there something I could change in the configuration of my server to
  make this work again?

 I think you might avoid the problem by making sendmail Impersonate your
 isps domain.

 Using some or all of these settings in sendmail.mc
  MASQUERADE_AS(`yourISP.domain')dnl
  MASQUERADE_DOMAIN(`youractual.domain')dnl
  FEATURE(masquerade_entire_domain)dnl
  FEATURE(masquerade_envelope)dnl

Yes, that should fix the reverse DNS problem alright, but then people who 
receive email notifications from myserver will be confused by the domain that 
these messages are sent from.

I could also use the ISP's domain for my IP address in the server's /etc/hosts 
file - although it would have the same problem with regards to the domain 
that messages are sent from.
-- 
Regards,
Mick


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


Re: [gentoo-user] Re: [OT] Setting up correct domainname

2009-09-20 Thread Daniel Troeder
On Sun, 2009-09-20 at 21:38 +0100, Mick wrote:
 On Sunday 20 September 2009, Harry Putnam wrote:
  Mick michaelkintz...@gmail.com writes:
   -The following addresses had permanent fatal errors-
   email_acco...@isp.com
 (reason: 550 5.1.0 nag...@myserver.mydomain.com sender rejected :
   invalid sender domain)
  
   -Transcript of session follows -
  
   ... while talking to smtp.ISP.com:
   MAIL From:nag...@myserver.mydomain.com SIZE=745 AUTH=
  
550 5.1.0 nag...@myserver.mydomain.com sender rejected : invalid
   sender domain
   554 5.0.0 Service unavailable
   
  
   Does this fail because the ISP's reverse DNS on my dynamically allocated
   IP address resolves to an ISP domain instead of myserver.mydomain.com?
  
   Is there something I could change in the configuration of my server to
   make this work again?
 
  I think you might avoid the problem by making sendmail Impersonate your
  isps domain.
 
  Using some or all of these settings in sendmail.mc
   MASQUERADE_AS(`yourISP.domain')dnl
   MASQUERADE_DOMAIN(`youractual.domain')dnl
   FEATURE(masquerade_entire_domain)dnl
   FEATURE(masquerade_envelope)dnl
 
 Yes, that should fix the reverse DNS problem alright, but then people who 
 receive email notifications from myserver will be confused by the domain that 
 these messages are sent from.
I don't know this sendmail feature, but I think sendmail should not
modify your message, but just the envelop. So `youractual.domain' would
still be in the To-header, while `yourISP.domain' is in the envelop.
That should make your ISP happy, and no receiver will ever notice
(except if they look at the headers), because MUAs only show the
To-header :)

Your ISP could still check the To-header - but that would be just
plain ugly...

 I could also use the ISP's domain for my IP address in the server's 
 /etc/hosts 
 file - although it would have the same problem with regards to the domain 
 that messages are sent from.




Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Dale
Alan McKinnon wrote:
 On Sunday 20 September 2009 22:06:44 Dale wrote:
   
 Neil Bothwick wrote:
 
 On Sun, 20 Sep 2009 21:51:17 +0300, Nikos Chantziaras wrote:
   
 /bin/bash is also shown in htop even though bash isn't in any runlevel
 either ;)
 
 Not here.
   
 This is all I get for bash:

 r...@smoker / # ps aux | grep bash
 dale  7254  0.0  0.0   3044   572 ?SSep19   0:00
 /bin/bash /usr/libexec/mozilla-launcher
 root  7704  0.0  0.0   1888   516 pts/0S+   15:01   0:00 grep
 --colour=auto bash
 r...@smoker / #

 I guess Seamonkey uses it for something.  That is also all that shows up
 in htop as well.  Nothing else bash that I can find.
 

 The mozilla launcher scripts spawn an instance of bash which then goes 
 looking 
 for the mozilla binaries and launches them. All perfectly normal.

 The reason you don't see bash in ps is because you are not running bash. I 
 do, 
 but you obviously don't. What shell does root use per /etc/passwd? 
   
This one:

root:x:0:0:root:/root:/bin/bash

Looks like bash.  ;-)  I assume this is the default because I have never
changed this file.  Is there something screwy with my system? 

Dale

:-)  :-)



[gentoo-user] Re: runlevels and service list

2009-09-20 Thread Nikos Chantziaras

On 09/20/2009 10:54 PM, Neil Bothwick wrote:

On Sun, 20 Sep 2009 21:51:17 +0300, Nikos Chantziaras wrote:


/bin/bash is also shown in htop even though bash isn't in any runlevel
either ;)


Not here.


Now that was pointless.  Whatever shell you're using, geez, seriously...




Re: [gentoo-user] tellico fails to build

2009-09-20 Thread luis jure
on 2009-09-20 at 10:19 Dale wrote:

File a roach report maybe?  You know, bug report.

yeah, i was thinking about doing something along that line, but i'm not
sure, never filed a bug report before. any hints? on the other hand, i
don't even know where to place it, is it something related to tellico
or to poppler?



Re: [gentoo-user] Re: [OT] Setting up correct domainname

2009-09-20 Thread Mick
On Sunday 20 September 2009, Daniel Troeder wrote:
 On Sun, 2009-09-20 at 21:38 +0100, Mick wrote:
  On Sunday 20 September 2009, Harry Putnam wrote:
   Mick michaelkintz...@gmail.com writes:
-The following addresses had permanent fatal errors-
email_acco...@isp.com
  (reason: 550 5.1.0 nag...@myserver.mydomain.com sender rejected :
invalid sender domain)
   
-Transcript of session follows -
   
... while talking to smtp.ISP.com:
MAIL From:nag...@myserver.mydomain.com SIZE=745 AUTH=
   
 550 5.1.0 nag...@myserver.mydomain.com sender rejected :
invalid sender domain
554 5.0.0 Service unavailable

   
Does this fail because the ISP's reverse DNS on my dynamically
allocated IP address resolves to an ISP domain instead of
myserver.mydomain.com?
   
Is there something I could change in the configuration of my server
to make this work again?
  
   I think you might avoid the problem by making sendmail Impersonate your
   isps domain.
  
   Using some or all of these settings in sendmail.mc
MASQUERADE_AS(`yourISP.domain')dnl
MASQUERADE_DOMAIN(`youractual.domain')dnl
FEATURE(masquerade_entire_domain)dnl
FEATURE(masquerade_envelope)dnl
 
  Yes, that should fix the reverse DNS problem alright, but then people who
  receive email notifications from myserver will be confused by the domain
  that these messages are sent from.

 I don't know this sendmail feature, but I think sendmail should not
 modify your message, but just the envelop. So `youractual.domain' would
 still be in the To-header, while `yourISP.domain' is in the envelop.
 That should make your ISP happy, and no receiver will ever notice
 (except if they look at the headers), because MUAs only show the
 To-header :)

 Your ISP could still check the To-header - but that would be just
 plain ugly...

  I could also use the ISP's domain for my IP address in the server's
  /etc/hosts file - although it would have the same problem with regards to
  the domain that messages are sent from.

I will give it a go - hopefully the ISP will be happy and I won't need to 
register with a mail relaying service.

Thanks for your suggestions.
-- 
Regards,
Mick


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


Re: [gentoo-user] Skipping interactive emerges

2009-09-20 Thread Albert Hopkins
On Fri, 2009-09-18 at 10:16 +0100, Neil Bothwick wrote:
 There's got ot be an easy answer to this, but I've looked in the portage,
 emerge and make.conf man pages to no avail. Is it possible to have
 emerge skip interactive ebuilds during a world update?


What is an interactive ebuild?  I've not seen one.




Re: [gentoo-user] tellico fails to build

2009-09-20 Thread Dale
luis jure wrote:
 on 2009-09-20 at 10:19 Dale wrote:

   
 File a roach report maybe?  You know, bug report.
 

 yeah, i was thinking about doing something along that line, but i'm not
 sure, never filed a bug report before. any hints? on the other hand, i
 don't even know where to place it, is it something related to tellico
 or to poppler?


   

I have been in this spot before too.  I don't file to many of them
unless I got my ducks in a row.  One good thing, when you file the bug,
the bug wrangler will notify the ones that need to see it and then they
can figure out which package is the cause.  Just make sure you put in a
email address that you check regularly in case they need more info.  I
would file it on gentoo's bug system.  It can then be passed upstream if
needed.

Can someone else chime in and give a opinion about what this should be
filed against.  If it is a bug then they need to know about it so it can
be fixed.

Dale

:-)  :-) 



Re: [gentoo-user] Skipping interactive emerges

2009-09-20 Thread Alan McKinnon
On Friday 18 September 2009 13:57:36 Albert Hopkins wrote:
 On Fri, 2009-09-18 at 10:16 +0100, Neil Bothwick wrote:
  There's got ot be an easy answer to this, but I've looked in the portage,
  emerge and make.conf man pages to no avail. Is it possible to have
  emerge skip interactive ebuilds during a world update?
 
 What is an interactive ebuild?  I've not seen one.
 

An ebuild that waits for you to input data before it continues. I've not seen 
one for a long time, but they were usually used for proprietary packages that 
require you to interactively accept a license.

Such things go against the spirit of portage so they are consequently rare.

-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Skipping interactive emerges

2009-09-20 Thread Neil Bothwick
On Mon, 21 Sep 2009 00:57:18 +0200, Alan McKinnon wrote:

  What is an interactive ebuild?  I've not seen one.
 
 An ebuild that waits for you to input data before it continues. I've
 not seen one for a long time, but they were usually used for
 proprietary packages that require you to interactively accept a license.

They are also used in some games ebuilds, where the user has to insert a
CD, but the one affecting me is a licence acceptance thing, virtualbox.


-- 
Neil Bothwick

Every time I jump on the bandwagon all its wheels fall off.


signature.asc
Description: PGP signature


Re: [gentoo-user] Skipping interactive emerges

2009-09-20 Thread Neil Bothwick
On Fri, 18 Sep 2009 12:59:02 +0300, Arttu V. wrote:

  I just tried that, and instead of skipping the upgrades, it wanted to
  download several packages to a much older version :(  
 
 O.o
 
 Care to share some of the packages causing this? Maybe some packages
 have interactivity marked only in their later versions, and others
 have it in their earlier ones?

That was mu supposition too, here's the list. It's an upgrade of virtualbox-bin
that triggered my question. I wanted to be able to let a world update proceed
without stopping while I wasn't looking.


Calculating dependencies... done!
[ebuild UD] app-emulation/virtualbox-modules-1.6.6-r1 [3.0.6]
[ebuild  N] sys-apps/usermode-utilities-20070815
[ebuild  N] net-misc/bridge-utils-1.4
[ebuild UD] app-emulation/vmware-modules-1.0.0.15-r2 [1.0.0.25]
[ebuildFUD] app-emulation/vmware-workstation-5.5.9.126128 [6.5.3.185404] 
[ebuildFUD] app-emulation/virtualbox-bin-1.6.6 [3.0.6-r1] 

!!! The following installed packages are masked:
- virtual/poppler-glib-0.12.0 (masked by: virtual properties)
- virtual/monodoc-2.4.2.3 (masked by: virtual properties)
- virtual/poppler-qt4-0.12.0 (masked by: virtual properties)
- virtual/poppler-0.12.0 (masked by: virtual properties)
- virtual/poppler-utils-0.12.0 (masked by: virtual properties)


-- 
Neil Bothwick

Programmers do it bit by bit.


signature.asc
Description: PGP signature


Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Neil Bothwick
On Mon, 21 Sep 2009 01:01:09 +0300, Nikos Chantziaras wrote:

  /bin/bash is also shown in htop even though bash isn't in any
  runlevel either ;)  
 
  Not here.  
 
 Now that was pointless.  Whatever shell you're using, geez, seriously...

Not quite, it demonstrated the error in assuming everyone uses bash :)


-- 
Neil Bothwick

DATA COMPRESSION: What You Get When You Squish An Android


signature.asc
Description: PGP signature


[gentoo-user] Re: runlevels and service list

2009-09-20 Thread walt

On 09/20/2009 02:51 PM, Dale wrote:

Alan McKinnon wrote:



The reason you don't see bash in ps is because you are not running bash. I do,
but you obviously don't. What shell does root use per /etc/passwd?


This one:

root:x:0:0:root:/root:/bin/bash

Looks like bash.  ;-)  I assume this is the default because I have never
changed this file.  Is there something screwy with my system?


In linux bash is the default shell (even sh is a symlink to bash) but in
other OS's other default shells prevail.

How did you type your 'ps aux' command?  In an xterm window, or what?

Here's a snippet from my ps axf:  (I love that 'f' flag)

 4682 tty1 S  0:00 xterm -bg rgb:db/e9/f9 -sb -fn 9x15
 4685 pts/0Ss 0:00  \_ bash
 4724 pts/0S  0:00  \_ su
 4729 pts/0S  0:00  \_ bash
22427 pts/0R+ 0:00  \_ ps axf




Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Alan McKinnon
On Monday 21 September 2009 02:11:51 walt wrote:
 On 09/20/2009 02:51 PM, Dale wrote:
  Alan McKinnon wrote:
  The reason you don't see bash in ps is because you are not running bash.
  I do, but you obviously don't. What shell does root use per /etc/passwd?
 
  This one:
 
  root:x:0:0:root:/root:/bin/bash
 
  Looks like bash.  ;-)  I assume this is the default because I have never
  changed this file.  Is there something screwy with my system?
 
 In linux bash is the default shell (even sh is a symlink to bash) but in
 other OS's other default shells prevail.

Correction:

In *Gentoo* it is the default shell. A distro is free to choose whatever 
default shell it feels like, as is any other OS. There are distros out there 
that do not default to bash.

You simply cannot make a blanket statement like In linux bash is the default 
shell as it's simply not true.

Let's be accurate when we make statements, OK? If devs wrote code like that it 
would not run, and if you typed commands with that level of slap-dashedness 
they would frequently fail.


-- 
alan dot mckinnon at gmail dot com



Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Dale
walt wrote:
 On 09/20/2009 02:51 PM, Dale wrote:
 Alan McKinnon wrote:

 The reason you don't see bash in ps is because you are not running
 bash. I do,
 but you obviously don't. What shell does root use per /etc/passwd?

 This one:

 root:x:0:0:root:/root:/bin/bash

 Looks like bash.  ;-)  I assume this is the default because I have never
 changed this file.  Is there something screwy with my system?

 In linux bash is the default shell (even sh is a symlink to bash) but in
 other OS's other default shells prevail.

 How did you type your 'ps aux' command?  In an xterm window, or what?

 Here's a snippet from my ps axf:  (I love that 'f' flag)

  4682 tty1 S  0:00 xterm -bg rgb:db/e9/f9 -sb -fn 9x15
  4685 pts/0Ss 0:00  \_ bash
  4724 pts/0S  0:00  \_ su
  4729 pts/0S  0:00  \_ bash
 22427 pts/0R+ 0:00  \_ ps axf




I used the command ps aux.  I think that lists ALL processes.  I usually
use grep to filter them out.  This is what I got tho:

r...@smoker / # ps aux | grep bash
dale  7254  0.0  0.0   3044   572 ?SSep19   0:00
/bin/bash /usr/libexec/mozilla-launcher
root  7704  0.0  0.0   1888   516 pts/0S+   15:01   0:00 grep
--colour=auto bash
r...@smoker / #

Obviously the bottom one is the command I typed in.  I did this in a
Konsole within KDE.  I don't got to a actual Console to much.  Note the
K and the C on those.

Dale

:-)  :-) 



Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Dale
Neil Bothwick wrote:
 On Mon, 21 Sep 2009 01:01:09 +0300, Nikos Chantziaras wrote:

   
 /bin/bash is also shown in htop even though bash isn't in any
 runlevel either ;)  
 
 Not here.  
   
 Now that was pointless.  Whatever shell you're using, geez, seriously...
 

 Not quite, it demonstrated the error in assuming everyone uses bash :)


   

I think it is to the point now of throwing out ideas and seeing which
one will stick to the wall and fix this.  It may not help but someone
may just have a brainstorm at some point. 

Dale

:-)  :-) 



Re: [gentoo-user] Re: runlevels and service list

2009-09-20 Thread Dale
Alan McKinnon wrote:
 On Monday 21 September 2009 02:11:51 walt wrote:
   
 On 09/20/2009 02:51 PM, Dale wrote:
 
 Alan McKinnon wrote:
   
 The reason you don't see bash in ps is because you are not running bash.
 I do, but you obviously don't. What shell does root use per /etc/passwd?
 
 This one:

 root:x:0:0:root:/root:/bin/bash

 Looks like bash.  ;-)  I assume this is the default because I have never
 changed this file.  Is there something screwy with my system?
   
 In linux bash is the default shell (even sh is a symlink to bash) but in
 other OS's other default shells prevail.
 

 Correction:

 In *Gentoo* it is the default shell. A distro is free to choose whatever 
 default shell it feels like, as is any other OS. There are distros out there 
 that do not default to bash.

 You simply cannot make a blanket statement like In linux bash is the default 
 shell as it's simply not true.

 Let's be accurate when we make statements, OK? If devs wrote code like that 
 it 
 would not run, and if you typed commands with that level of slap-dashedness 
 they would frequently fail.


   

So that is my problem.  slap-dashedness  ;-)  LOL  I always wondered
why I could screw something up. 

Dale

:-)  :-) 

P. S.  Read a LOT of humor in that. 



[gentoo-user] Re: [OT] Setting up correct domainname

2009-09-20 Thread Harry Putnam
Mick michaelkintz...@gmail.com writes:

 I think you might avoid the problem by making sendmail Impersonate your
 isps domain.

 Using some or all of these settings in sendmail.mc
  MASQUERADE_AS(`yourISP.domain')dnl
  MASQUERADE_DOMAIN(`youractual.domain')dnl
  FEATURE(masquerade_entire_domain)dnl
  FEATURE(masquerade_envelope)dnl

 Yes, that should fix the reverse DNS problem alright, but then people who 
 receive email notifications from myserver will be confused by the domain that 
 these messages are sent from.

 I could also use the ISP's domain for my IP address in the server's 
 /etc/hosts 
 file - although it would have the same problem with regards to the domain 
 that messages are sent from.

It is possible to do lots of complicated rewriting with
`genericstable', both in and out... maybe that would bare looking
into. 




[gentoo-user] Re: fcron fetchmail procmail and the why not?

2009-09-20 Thread Harry Putnam
Ward Poelmans wpoel...@gmail.com writes:

 On Sun, Sep 20, 2009 at 17:34,  meino.cra...@gmx.de wrote:

 When using the line:

    @ 5 fetchmail -a

 nothing happens: The mail remains on the server and can be downloaded
 with

    fetchmail -a

 from the commandline.

 May be I am a little overhacked today...but what the hack I am doing
 wrong here?

 Are you sure the cron job runs? Check the logs. Or try adding:
 */5 * * * * fetchmail -a
 in your cron file.

Another way to go at it might be to use fetchmails' built in daemon
mode (fetchmail -d INTERVAL).  And forget about cron.





[gentoo-user] KDE 4.3.1 : Gwenview Krusader problems

2009-09-20 Thread Philip Webb
More progress/problems with KDE 4.3.1 .

Gwenview is refusing to show thumbnails of images, which showed in 3.5.10 .
They seem to be small images: has anyone else experienced this ?

Krusader can no longer connect to a remote site via 'fish://';
in fact Krusader 1.80.0 (with KDE 3.5.10) won't do it anymore either.
I can connect to the site via 'ssh' from the CLI.
Does anyone have suggestions ?

-- 
,,
SUPPORT ___//___,   Philip Webb
ELECTRIC   /] [] [] [] [] []|   Cities Centre, University of Toronto
TRANSIT`-O--O---'   purslowatchassdotutorontodotca




Re: [gentoo-user] Re: fcron fetchmail procmail and the why not?

2009-09-20 Thread meino . cramer
Harry Putnam rea...@newsguy.com [09-09-21 04:25]:
 Ward Poelmans wpoel...@gmail.com writes:
 
  On Sun, Sep 20, 2009 at 17:34,  meino.cra...@gmx.de wrote:
 
  When using the line:
 
     @ 5 fetchmail -a
 
  nothing happens: The mail remains on the server and can be downloaded
  with
 
     fetchmail -a
 
  from the commandline.
 
  May be I am a little overhacked today...but what the hack I am doing
  wrong here?
 
  Are you sure the cron job runs? Check the logs. Or try adding:
  */5 * * * * fetchmail -a
  in your cron file.
 
 Another way to go at it might be to use fetchmails' built in daemon
 mode (fetchmail -d INTERVAL).  And forget about cron.
 
 

fcron does run (see my previous mail).
I will try the daemon mode. What will be the best place to fire up
fetchmail then?
...but I am still curious what prevents the call by fcron, since this
is also recommended by some howtos...



-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




Re: [gentoo-user] Re: Shutting down process hangs - how to proceed?

2009-09-20 Thread meino . cramer
walt w41...@gmail.com [09-09-21 02:32]:
 On 09/20/2009 09:15 AM, meino.cra...@gmx.de wrote:
 
 solfire:/home/mccramerl /etc/asound.state
 -rw-r--r-- 1 root root 10122 2009-08-06 18:05 /etc/asound.state
 solfire:/home/mccramersudo rm -f /etc/asound.state
 solfire:/home/mccramersudo alsactl store
 alsactl: get_control:249: Cannot read control '2,0,0,Mic Capture 
 Volume,0': Invalid argument
 solfire:/home/mccramer
 
 I also have /etc/asound.names, which was apparently created a year ago
 by alsactl names (now deprecated).  If you have that file it should
 also be deleted.

If alsactl is deprecated -- what to use instead?


-- 
Please don't send me any Word- or Powerpoint-Attachments
unless it's absolutely neccessary. - Send simply Text.
See http://www.gnu.org/philosophy/no-word-attachments.html
In a world without fences and walls nobody needs gates and windows.




[gentoo-user] Re: runlevels and service list

2009-09-20 Thread walt

On 09/20/2009 05:40 PM, Dale wrote:

walt wrote:

On 09/20/2009 02:51 PM, Dale wrote:

Alan McKinnon wrote:



The reason you don't see bash in ps is because you are not running
bash. I do,
but you obviously don't. What shell does root use per /etc/passwd?


This one:

root:x:0:0:root:/root:/bin/bash

Looks like bash.  ;-)  I assume this is the default because I have never
changed this file.  Is there something screwy with my system?


In linux bash is the default shell (even sh is a symlink to bash) but in
other OS's other default shells prevail.


Okay, okay, Alan, you're right, I have not tried every linux distro out there,
but when I was a linux noob I tried every one I could find.  Back then that was
Debian, SuSe, Red Hat, Mandrake (since morphed into something else), and very
recently Ubuntu, just to see what all the fuss was about. (I'm sticking with
gentoo.)

All of those use(d) bash as the default shell, but may have switched while I
wasn't looking.  Bash *appears* to be the official shell of GNU, as its home
page is hosted there:  http://www.gnu.org/software/bash/

BTW, all of the above distros including gentoo are officially un-endorsed by
GNU:  http://www.gnu.org/philosophy/common-distros.html


How did you type your 'ps aux' command?  In an xterm window, or what?

Here's a snippet from my ps axf:  (I love that 'f' flag)

  4682 tty1 S  0:00 xterm -bg rgb:db/e9/f9 -sb -fn 9x15
  4685 pts/0Ss 0:00  \_ bash
  4724 pts/0S  0:00  \_ su
  4729 pts/0S  0:00  \_ bash
22427 pts/0R+ 0:00  \_ ps axf


 ...I did this in a Konsole within KDE...


Ah, that was the answer I was looking for.  I'm a bit surprised that Konsole
doesn't invoke bash somehow.  I'll investigate more tomorrow when I'm awake.





Re: [gentoo-user] Why am I seeing only black screen in mplayer

2009-09-20 Thread Paul Hartman
On Sun, Sep 20, 2009 at 11:07 AM, Harry Putnam rea...@newsguy.com wrote:
 Following my most recent update world of Sept. 13, mplayer only
 produces a black screen when playing quicktime .mov files.

It works for me on ~amd64.  I'm using mplayer-1.0_rc4_p20090825 with
quicktime USE flag enabled.  Playing a quicktime movie shows video
codec as ffrpza (from ffmpeg). I use vdpau for video output.