[gentoo-user] /etc/cron.d being ignored

2007-03-16 Thread John covici
Hi.  I am using sys-process/vixie-cron-4.1-r9 and I have discovered
that the files in /etc/cron.d are not being processed.  Is this a
known bug or does this version  of cron not process that directory?

Any assistance would be appreciated.


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

 John Covici
 [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/cron.d being ignored

2007-03-16 Thread Neil Bothwick
On Fri, 16 Mar 2007 04:23:20 -0400, John covici wrote:

> Hi.  I am using sys-process/vixie-cron-4.1-r9 and I have discovered
> that the files in /etc/cron.d are not being processed.  Is this a
> known bug or does this version  of cron not process that directory?

cron only processes /etc/crontab and the user crontab files. The hourly,
daily, weekly and monthly directories are handled by entries in crontab,
but there is no such entry for cron.d - when would you expect it's
contents to be run?

Move any scripts you want run to the appropriate timed directory.


-- 
Neil Bothwick

Those who live by the sword get shot by those who don't.


signature.asc
Description: PGP signature


[gentoo-user] audacious converts mp3 to wav by default

2007-03-16 Thread Pawel K
Hello

I've emerged audacious and audacious-plugins:

# equery list audacious 
* installed packages
[I--] [  ] media-plugins/audacious-plugins-1.2.2-r1
(0)
[I--] [  ] media-sound/audacious-1.2.2 (0)

Use flag for audacious looks like (only positive flags
are shown below):

# equery  uses audacious-plugins
U I
+ + alsa
+ + mp3
+ + vorbis

When I press the "play" button on mp3 file it does not
play it but converts it to wav file.

My $HOME/.audacious/Plugins/ directory is empty.

Do you have any idea what can be wrong with my
configuration ?

thanks for help


 

No need to miss a message. Get email on-the-go 
with Yahoo! Mail for Mobile. Get started.
http://mobile.yahoo.com/mail 
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/cron.d being ignored

2007-03-16 Thread Fedor
On Fri, Mar 16, 2007 at 04:23:20AM -0400, John covici wrote:
> Hi.  I am using sys-process/vixie-cron-4.1-r9 and I have discovered
> that the files in /etc/cron.d are not being processed.  Is this a
> known bug or does this version  of cron not process that directory?
> 
> Any assistance would be appreciated.
last line of the file should end with \n

-- 
Regards,
Fedor
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/cron.d being ignored

2007-03-16 Thread Etaoin Shrdlu
On Friday 16 March 2007 09:52, Neil Bothwick wrote:

> On Fri, 16 Mar 2007 04:23:20 -0400, John covici wrote:
> > Hi.  I am using sys-process/vixie-cron-4.1-r9 and I have discovered
> > that the files in /etc/cron.d are not being processed.  Is this a
> > known bug or does this version  of cron not process that directory?
>
> cron only processes /etc/crontab and the user crontab files. The
> hourly, daily, weekly and monthly directories are handled by entries
> in crontab, but there is no such entry for cron.d - when would you
> expect it's contents to be run?

It does work for me, as mentioned in the docs. The caveat is that entries 
have to be entered in /etc/crontab syntax (ie, with an explicit 
username).
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] dhcpcd won't run at certain network points

2007-03-16 Thread Alan McKinnon
On Thursday 15 March 2007, Patrice Bouvard wrote:
> Le Wed, 14 Mar 2007 16:57:04 +0200,
>
> Alan McKinnon <[EMAIL PROTECTED]> a écrit :
> > don't want to have to keep editing resolv.conf
>
> Then, don't edit it every time you change network. Just keep it with
> a lot of entries. If one doesn't work, the next one will be used.
> Name resolution could be a little bit slow with a lot of entries and
> only the last one working.
>
> Is there any problem to this kind of configuration ?

Yes, the resolver will only ever use the first three name servers and 
will give up if they all fail, regardless of how many entries are in 
the file.

-- 
Optimists say the glass is half full,
Pessimists say the glass is half empty,
Developers say wtf is the glass twice as big as it needs to be?

Alan McKinnon
alan at linuxholdings dot co dot za
+27 82, double three seven, one nine three five
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/cron.d being ignored

2007-03-16 Thread John covici
on Friday 03/16/2007 Etaoin Shrdlu([EMAIL PROTECTED]) wrote
 > On Friday 16 March 2007 09:52, Neil Bothwick wrote:
 > 
 > > On Fri, 16 Mar 2007 04:23:20 -0400, John covici wrote:
 > > > Hi.  I am using sys-process/vixie-cron-4.1-r9 and I have discovered
 > > > that the files in /etc/cron.d are not being processed.  Is this a
 > > > known bug or does this version  of cron not process that directory?
 > >
 > > cron only processes /etc/crontab and the user crontab files. The
 > > hourly, daily, weekly and monthly directories are handled by entries
 > > in crontab, but there is no such entry for cron.d - when would you
 > > expect it's contents to be run?
 > 
 > It does work for me, as mentioned in the docs. The caveat is that entries 
 > have to be entered in /etc/crontab syntax (ie, with an explicit 
 > username).

And if I take the entries out of cron.d and put them into crontab they
are executed correctly and this is why I asked the question.

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

 John Covici
 [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/cron.d being ignored

2007-03-16 Thread Etaoin Shrdlu
On Friday 16 March 2007 11:06, John covici wrote:

>  > It does work for me, as mentioned in the docs. The caveat is that
>  > entries have to be entered in /etc/crontab syntax (ie, with an
>  > explicit username).
>
> And if I take the entries out of cron.d and put them into crontab they
> are executed correctly and this is why I asked the question.

Ah...well, then I'm afraid I can't help you, since it works for me.

I tested it with a simple entry like this:

# cat /etc/cron.d/testcrond
52 10 * * *root  /usr/bin/touch /root/testfile

and the file "testfile" appeared as expected at 10:52.

This is my version of vixie-cron:

# eix vixie-cron
[I] sys-process/vixie-cron
 Available versions:  4.1-r9
 Installed versions:  4.1-r9(13:00:45 01/09/06)(-debug pam -selinux)
 Homepage:ftp://ftp.isc.org/isc/cron/
 Description: Paul Vixie's cron daemon, a fully featured 
crond implementation
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/cron.d being ignored

2007-03-16 Thread Neil Bothwick
On Fri, 16 Mar 2007 06:06:53 -0400, John covici wrote:

> And if I take the entries out of cron.d and put them into crontab they
> are executed correctly and this is why I asked the question.

Ignore my previous reply, whatever I was on, it had insufficient
caffeine :(

cron.d does indeed work here, provided the lines have exactly the same
format as in crontab; e.g. "tail -n 1 /etc/crontab >/etc/cron.d/test"
works as it should.

Are you setting the execute bit on the files in cron.d? In the past, I've
found that this prevents their being run.


-- 
Neil Bothwick

Like Entropy, bugs can only be created, not destroyed.


signature.asc
Description: PGP signature


[gentoo-user] Krita error

2007-03-16 Thread Daniel D Jones
Any one have any ideas or clues on how to fix the following error?  (I've 
created a bug report - http://bugs.gentoo.org/show_bug.cgi?id=168288 - but it 
hasn't yet received any action.)  Google had nothing for me.

make[4]: Entering directory 
`/var/tmp/portage/app-office/krita-1.6.1/work/krita-1.6.1/filters/krita/openexr'
/usr/qt/3/bin/moc ./kis_openexr_import.h -o kis_openexr_import.moc
/bin/sh ../../../libtool --silent --tag=CXX --mode=compile 
i686-pc-linux-gnu-g++ -DHAVE_CONFIG_H -I. -I. -I../../..  -I. -I../../../krita 
-I../../../krita/core -I../../../krita/sdk -I../../../krita/core/tiles 
-I../../../krita/kritacolor -I../../../krita/ui 
-I../../../krita/colorspaces/rgb_f32 -I../../../krita/colorspaces/rgb_f16half 
-I../../../lib/kofficeui -I../../../lib/kofficeui -I../../../lib/kofficecore 
-I../../../lib/kofficecore -I../../../lib/store -I../../../lib/store 
-I../../../lib/kwmf -I../../../lib/kwmf -I../../../lib/kopalette 
-I../../../lib/kopalette -I../../../lib/interfaces -I/usr/include/OpenEXR   
-I/usr/kde/3.5/include -I/usr/qt/3/include -I.  -I/usr/kde/3.5/include  
-DQT_THREAD_SUPPORT  -D_REENTRANT  -Wno-long-long -Wundef -ansi 
-D_XOPEN_SOURCE=500 -D_BSD_SOURCE -Wcast-align -Wconversion -Wchar-subscripts 
-Wall -W -Wpointer-arith -DNDEBUG -DNO_DEBUG -O2 -O2 -march=athlon-xp 
-fomit-frame-pointer -Wformat-security -Wmissing-format-attribute 
-Wno-non-virtual-dtor -fno-exceptions -fno-check-new -fno-common 
-DQT_CLEAN_NAMESPACE -DQT_NO_ASCII_CAST -DQT_NO_STL -DQT_NO_COMPAT 
-DQT_NO_TRANSLATION -fexceptions -c -o 
kis_openexr_import.lo kis_openexr_import.cpp
make[4]: *** No rule to make target `../../../krita/libkritacommon.la', needed 
by `libkrita_openexr_import.la'.  Stop.
make[4]: Leaving directory 
`/var/tmp/portage/app-office/krita-1.6.1/work/krita-1.6.1/filters/krita/openexr'
make[3]: *** [all-recursive] Error 1
make[3]: Leaving directory 
`/var/tmp/portage/app-office/krita-1.6.1/work/krita-1.6.1/filters/krita'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/var/tmp/portage/app-office/krita-1.6.1/work/krita-1.6.1/filters'
make[1]: *** [all-recursive] Error 1
make[1]: Leaving directory 
`/var/tmp/portage/app-office/krita-1.6.1/work/krita-1.6.1'
make: *** [all] Error 2

!!! ERROR: app-office/krita-1.6.1 failed.
Call stack:
  ebuild.sh, line 1614:   Called dyn_compile
  ebuild.sh, line 971:   Called qa_call 'src_compile'
  environment, line 4919:   Called src_compile
  krita-1.6.1.ebuild, line 72:   Called kde-meta_src_compile
  kde-meta.eclass, line 379:   Called kde_src_compile
  kde.eclass, line 171:   Called kde_src_compile 'all'
  kde.eclass, line 341:   Called kde_src_compile 'myconf' 'configure' 'make'
  kde.eclass, line 337:   Called die

!!! died running emake, kde_src_compile:make
!!! If you need support, post the topmost build error, and the call stack if 
relevant.
!!! A complete build log is located 
at '/var/tmp/portage/app-office/krita-1.6.1/temp/build.log'.

--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] /etc/cron.d being ignored

2007-03-16 Thread John covici
on Friday 03/16/2007 Neil Bothwick([EMAIL PROTECTED]) wrote
 > On Fri, 16 Mar 2007 06:06:53 -0400, John covici wrote:
 > 
 > > And if I take the entries out of cron.d and put them into crontab they
 > > are executed correctly and this is why I asked the question.
 > 
 > Ignore my previous reply, whatever I was on, it had insufficient
 > caffeine :(
 > 
 > cron.d does indeed work here, provided the lines have exactly the same
 > format as in crontab; e.g. "tail -n 1 /etc/crontab >/etc/cron.d/test"
 > works as it should.
 > 
 > Are you setting the execute bit on the files in cron.d? In the past, I've
 > found that this prevents their being run.

Indeed the user exec bit is on, didn't know that it made any
difference, but I will try with it off.
Yep, that did it -- thanks much guys.  Never heard of that before.

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

 John Covici
 [EMAIL PROTECTED]
-- 
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] audacious converts mp3 to wav by default

2007-03-16 Thread Dan Farrell
On Fri, 16 Mar 2007 01:53:28 -0700 (PDT)
Pawel K <[EMAIL PROTECTED]> wrote:

> Hello
> 
> I've emerged audacious and audacious-plugins:

> When I press the "play" button on mp3 file it does not
> play it but converts it to wav file.
> 
> Do you have any idea what can be wrong with my
> configuration ?
> 
> thanks for help
I think you may need to select the ALSA output plugin for audacious.
Right click on audacious, near the top/title, and go to preferences,
then click on "Audio", then set "Current output plugin" to the ALSA
one.  That should do the trick.

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



[gentoo-user] How to get sshd to start on boot?

2007-03-16 Thread Grant Edwards
How do I configure sshd to start at boot time?

When I boot up with eth0 (hard-wired ethernet) connected, sshd
starts.  If I boot up with just a wireless network
(wpa-supplicant), sshd refuses to start because eth0 isn't
configured:

Mar 16 09:27:59 ThinkGrant rc-scripts: ERROR:  cannot start netmount as 
net.eth0 could not start
Mar 16 09:28:00 ThinkGrant rc-scripts: ERROR:  cannot start sshd as net.eth0 
could not start

If I start sshd manually after the wireless link comes up, it
works fine, but the startup script seems to think it's smarter
than I am.

What's the proper way to configure sshd so that it starts even
when I'm on a wireless network instead of a wired one?

-- 
Grant Edwards
[EMAIL PROTECTED]


-- 
gentoo-user@gentoo.org mailing list



RE: [gentoo-user] How to get sshd to start on boot?

2007-03-16 Thread
> -Original Message-
> From: news [mailto:[EMAIL PROTECTED] Behalf Of Grant Edwards
> Sent: 16 March 2007 15:39
> To: gentoo-user@lists.gentoo.org
> Subject: [gentoo-user] How to get sshd to start on boot?
> 
> 
> How do I configure sshd to start at boot time?
> 
> When I boot up with eth0 (hard-wired ethernet) connected, sshd
> starts.  If I boot up with just a wireless network
> (wpa-supplicant), sshd refuses to start because eth0 isn't
> configured:
> 
> Mar 16 09:27:59 ThinkGrant rc-scripts: ERROR:  cannot start 
> netmount as net.eth0 could not start
> Mar 16 09:28:00 ThinkGrant rc-scripts: ERROR:  cannot start 
> sshd as net.eth0 could not start
> 
> If I start sshd manually after the wireless link comes up, it
> works fine, but the startup script seems to think it's smarter
> than I am.
> 
> What's the proper way to configure sshd so that it starts even
> when I'm on a wireless network instead of a wired one?
> 

I believe there is some setting in the sshd script that tells it only to start 
if X, Y and Z are running. If I recall correctly you need to either tell it 
that it doesn't need eth0 but can use wlan0 or eth1 or ra0 or whatever your 
wireless card is called. Alternatively there may be a way to make sure sshd 
doesnt try to start until after your wireless is up and running.

Someone will likely chime in in a bit with a full and concise explanation but 
this may give you a starting point if you want to have a rummage. I don't have 
a Gentoo rig in front of me at the moment otherwise I'd have a poke around for 
you :).

Cheers

--
djn

I do not represent anyone else in emails I send to this list.
 
--
gentoo-user@gentoo.org mailing list



Re: [gentoo-user] How to get sshd to start on boot?

2007-03-16 Thread Xavier Parizet
Hi !

Check to what the RC_NET_STRICT_CHECKING variable in /etc/conf.d/rc is set.
Try to set it with RC_NET_STRICT_CHECKING="none" or 
RC_NET_STRICT_CHECKING="no".

Regards.

Le Friday 16 March 2007 16:47:48 Nelson, David (ED, PAR&D), vous avez écrit :
> > -Original Message-
> > From: news [mailto:[EMAIL PROTECTED] Behalf Of Grant Edwards
> > Sent: 16 March 2007 15:39
> > To: gentoo-user@lists.gentoo.org
> > Subject: [gentoo-user] How to get sshd to start on boot?
> >
> >
> > How do I configure sshd to start at boot time?
> >
> > When I boot up with eth0 (hard-wired ethernet) connected, sshd
> > starts.  If I boot up with just a wireless network
> > (wpa-supplicant), sshd refuses to start because eth0 isn't
> > configured:
> >
> > Mar 16 09:27:59 ThinkGrant rc-scripts: ERROR:  cannot start
> > netmount as net.eth0 could not start
> > Mar 16 09:28:00 ThinkGrant rc-scripts: ERROR:  cannot start
> > sshd as net.eth0 could not start
> >
> > If I start sshd manually after the wireless link comes up, it
> > works fine, but the startup script seems to think it's smarter
> > than I am.
> >
> > What's the proper way to configure sshd so that it starts even
> > when I'm on a wireless network instead of a wired one?
>
> I believe there is some setting in the sshd script that tells it only to
> start if X, Y and Z are running. If I recall correctly you need to either
> tell it that it doesn't need eth0 but can use wlan0 or eth1 or ra0 or
> whatever your wireless card is called. Alternatively there may be a way to
> make sure sshd doesnt try to start until after your wireless is up and
> running.
>
> Someone will likely chime in in a bit with a full and concise explanation
> but this may give you a starting point if you want to have a rummage. I
> don't have a Gentoo rig in front of me at the moment otherwise I'd have a
> poke around for you :).
>
> Cheers
>
> --
> djn
>
> I do not represent anyone else in emails I send to this list.


-- 
Xavier Parizet


pgpInypYVKOoA.pgp
Description: PGP signature


Re: [gentoo-user] How to get sshd to start on boot?

2007-03-16 Thread Neil Bothwick
On Fri, 16 Mar 2007 15:39:00 + (UTC), Grant Edwards wrote:

> When I boot up with eth0 (hard-wired ethernet) connected, sshd
> starts.  If I boot up with just a wireless network
> (wpa-supplicant), sshd refuses to start because eth0 isn't
> configured:

emerge ifplugd, then eth0 can start up even though it is not enabled.
This is enough to keep the sshd init script happy.


-- 
Neil Bothwick

Nixon's Principal: If 2 wrongs don't make a right, try 3.


signature.asc
Description: PGP signature


[gentoo-user] Re: How to get sshd to start on boot?

2007-03-16 Thread Grant Edwards
On 2007-03-16, Xavier Parizet <[EMAIL PROTECTED]> wrote:

> Check to what the RC_NET_STRICT_CHECKING variable in /etc/conf.d/rc is set.
> Try to set it with RC_NET_STRICT_CHECKING=3D"none" or=20
> RC_NET_STRICT_CHECKING=3D"no".

It's "no" already, which means that at least one interface
besides "lo" must be up.  Changing it to "lo" should do the
trick...

-- 
Grant Edwards
[EMAIL PROTECTED]



-- 
gentoo-user@gentoo.org mailing list



[gentoo-user] Any Flash editor with gui?

2007-03-16 Thread Mick
Hi All,

I am looking for a flash editor like e.g. (Adobe) Macromedia Flash is for 
M$Windoze and AppleMac.  My wife needs to learn how to create flash 
animations and I can't find anything in portage . . .

Google tells me that F4L is a flash GUI editor, but probably needs some more  
development.

I keep telling her to pull her finger out and learn some raw action script, 
but her M$Windoze-GUI dependency is hard to overcome.

What do Gentoo people use to develop flash stuff?
-- 
Regards,
Mick


pgpcosTOIsbyJ.pgp
Description: PGP signature


Re: [gentoo-user] /etc/cron.d being ignored

2007-03-16 Thread James Cloos
> "John" == John covici <[EMAIL PROTECTED]> writes:

John> Hi.  I am using sys-process/vixie-cron-4.1-r9 and I have
John> discovered that the files in /etc/cron.d are not being
John> processed.  Is this a known bug or does this version of
John> cron not process that directory?

Paul (Vixie) added code some time back to ignore any files that
are not owned by root with 0600 perms.  (That also applies to
/etc/crontab, IIRC.)

I don't beleive the ebuild patches that out.

If that is the issue, it will show up in syslog.

-JimC (who didn't much like that change :-)
-- 
James Cloos <[EMAIL PROTECTED]> OpenPGP: 1024D/ED7DAEA6
-- 
gentoo-user@gentoo.org mailing list