Re: rc_scripts

2011-09-25 Thread Remco
Vijay Sankar wrote: Is it possible that you are installing packages from the wrong version? I have done that a couple of times because I copied .profile files from the wrong server Is your PKG_PATH set to /pub/OpenBSD/4.9/packages/amd64, for example? To avoid release/architecture mixups

Re: rc_scripts

2011-09-25 Thread Ingo Schwarze
Hi, Remco wrote on Sun, Sep 25, 2011 at 08:28:10AM +0200: To avoid release/architecture mixups you could use something like /pub/OpenBSD/`uname -r`/packages/`uname -m`/. That sounds like terrible advice: $ sysctl kern.version kern.version=OpenBSD 5.0-current (GENERIC) #7: Wed Sep 21

Re: rc_scripts

2011-09-25 Thread Peter Hessler
On 2011 Sep 25 (Sun) at 08:28:10 +0200 (+0200), Remco wrote: :Vijay Sankar wrote: : : Is it possible that you are installing packages from the wrong : version? I have done that a couple of times because I copied .profile : files from the wrong server : : Is your PKG_PATH set to

rc_scripts

2011-09-24 Thread Alessandro Baggi
Hi list. I'm trying to use rc_script in rc.conf.local but without results. In rc.conf.local I put this: rc_scripts=clamd but after reboot, clamd does not start. I've tried also: rc_scripts=clamd start and clamd_flags= but without result. Can someone point me in the right direction

Re: rc_scripts

2011-09-24 Thread Tomas Bodzar
On Sat, Sep 24, 2011 at 3:59 PM, Alessandro Baggi alessandro.ba...@gmail.com wrote: Hi list. I'm trying to use rc_script in rc.conf.local but without results. In rc.conf.local I put this: rc_scripts=clamd but after reboot, clamd does not start. I've tried also: rc_scripts=clamd start

Re: rc_scripts

2011-09-24 Thread Alessandro Baggi
order with the/stop/ argument at shut- down. but reading man from my installed OpenBSD (4.9/amd64), i get: The fourth section contains the/rc_scripts/ variable, responsible for starting and stoppingrc.d(8) http://www.openbsd.org/cgi-bin/man.cgi?query=rc.dsektion=8arch=i386apropos

Re: rc_scripts

2011-09-24 Thread Tomas Bodzar
section contains the/rc_scripts/ B variable, responsible for B B starting and stoppingrc.d(8) B http://www.openbsd.org/cgi-bin/man.cgi?query=rc.dsektion=8arch=i386apro pos=0manpath=OpenBSD+Current B scripts installed by packages in the speci- B B fied order. B For example, the following line B

Re: rc_scripts

2011-09-24 Thread Vijay Sankar
/ with the/start/ argu- ment at boot time and in reverse order with the/stop/ argument at shut- down. but reading man from my installed OpenBSD (4.9/amd64), i get: The fourth section contains the/rc_scripts/ variable, responsible for starting and stoppingrc.d(8) http

Re: rc_scripts

2011-09-24 Thread Alessandro Baggi
Hi Vijay, I've put in my rc.conf.local, at the end of the file, this: rc_scripts=clamd but it does not work. I've tried to start directly from /etc/rc.d/clamd start and it works. I understand where is the problem... On 09/24/2011 04:51 PM, Vijay Sankar wrote: Quoting Alessandro Baggi

Re: rc_scripts

2011-09-24 Thread Edho P Arief
/rc.d/dbus_daemon/ B then//etc/rc.d/cupsd/ B with the/start/ B argu- B B ment at boot time and in reverse order with the/stop/ B argument at shut- B B down. but reading man from my installed OpenBSD (4.9/amd64), i get: The fourth section contains the/rc_scripts/ B variable, responsible

Re: rc_scripts

2011-09-24 Thread Alessandro Baggi
put in my rc.conf.local, at the end of the file, this: rc_scripts=clamd but it does not work. The variable was renamed to pkg_scripts so try this in rc.conf.local instead: pkg_scripts=clamd The system's manpage of rc.d(8) should say at the top of the page which the correct one is.

Re: rc_scripts

2011-09-24 Thread Tomas Bodzar
On 09/24/2011 05:21 PM, William Yodlowsky wrote: On 24 September 2011 at 17:23, Alessandro Baggialessandro.ba...@gmail.com B wrote: I've put in my rc.conf.local, at the end of the file, this: rc_scripts=clamd but it does not work. The variable was renamed to pkg_scripts so try

Re: rc_scripts

2011-09-24 Thread Vijay Sankar
Can you do a sysctl kern.version and send that to the list? May be that will help pinpoint your issue. I can confirm that rc_scripts work for me (and pkg_scripts do not) on 4.9 AMD64 from the CD Release. Quoting Alessandro Baggi alessandro.ba...@gmail.com: Nothing, I've also tried

Re: rc_scripts

2011-09-24 Thread Ingo Schwarze
Hi, Tomas Bodzar wrote on Sat, Sep 24, 2011 at 06:53:00PM +0200: On Sat, Sep 24, 2011 at 5:41 PM, Alessandro Baggi wrote: There some place where I can find some logs error? In /var/log I don't see nothing. There was in man rc.d this: RC_DEBUG Setting this variable will print the

Re: rc_scripts

2011-09-24 Thread Alessandro Baggi
pinpoint your issue. I can confirm that rc_scripts work for me (and pkg_scripts do not) on 4.9 AMD64 from the CD Release. Quoting Alessandro Baggi alessandro.ba...@gmail.com: Nothing, I've also tried to use pkg_scripts=clamd It does not work. There some place where I can find some logs error

Re: rc_scripts

2011-09-24 Thread Vijay Sankar
kern.version and send that to the list? May be that will help pinpoint your issue. I can confirm that rc_scripts work for me (and pkg_scripts do not) on 4.9 AMD64 from the CD Release. Quoting Alessandro Baggi alessandro.ba...@gmail.com: Nothing, I've also tried to use pkg_scripts=clamd It does

Re: rc_scripts

2011-09-24 Thread Alessandro Baggi
Sankar wrote: Can you do a sysctl kern.version and send that to the list? May be that will help pinpoint your issue. I can confirm that rc_scripts work for me (and pkg_scripts do not) on 4.9 AMD64 from the CD Release. Quoting Alessandro Baggi alessandro.ba...@gmail.com: Nothing, I've also

Re: rc_scripts

2011-09-24 Thread Vijay Sankar
/amd64/compile/GENERIC.MP On 09/24/2011 07:15 PM, Vijay Sankar wrote: Can you do a sysctl kern.version and send that to the list? May be that will help pinpoint your issue. I can confirm that rc_scripts work for me (and pkg_scripts do not) on 4.9 AMD64 from the CD Release. Quoting Alessandro

Re: Conundrum with aucat and rc_scripts

2011-09-09 Thread G 0kita
--quiet -r -a -b 56 /dev/aucat/.raw /dev/lame/.mp3 /usr/bin/aucat -o - /dev/aucat/.raw /etc/rc.d/ices start However, if I try to adjust /etc/rc.local to include the first two lines (which need to be running before ices gets called by rc_scripts in rc.conf.local), aucat refuses to start

Re: Conundrum with aucat and rc_scripts

2011-09-09 Thread bco116
of events: /usr/local/bin/lame --quiet -r -a -b 56 /dev/aucat/.raw /dev/lame/.mp3 /usr/bin/aucat -o - /dev/aucat/.raw /etc/rc.d/ices start However, if I try to adjust /etc/rc.local to include the first two lines (which need to be running before ices gets called by rc_scripts

Pipes, redirects, and rc.local (was: Conundrum with aucat and rc_scripts)

2011-09-09 Thread misc . openbsd
G0kita, I've had a chance to review your advice, and I believe I've spotted a problem with your redirects. The command that works for me is: /usr/bin/aucat -o - 2/dev/null /dev/null | /usr/local/bin/lame -r -a -b 56 - - 2/dev/null | /usr/local/bin/ezstream -c /etc/ezstream.xml /dev/null 21

Re: Pipes, redirects, and rc.local (was: Conundrum with aucat and rc_scripts)

2011-09-09 Thread misc . openbsd
Correction: This works fine from a script executed by cron. Still doesn't work from rc.local. Anyone willing to impart some additional wisdom? Breeno Quoting misc.open...@mail.usask.ca: G0kita, I've had a chance to review your advice, and I believe I've spotted a problem with your

Conundrum with aucat and rc_scripts

2011-09-08 Thread Breen Ouellette
- /dev/aucat/.raw /etc/rc.d/ices start However, if I try to adjust /etc/rc.local to include the first two lines (which need to be running before ices gets called by rc_scripts in rc.conf.local), aucat refuses to start. I've also taken the above commands and created a slightly more robust

rc_scripts=

2011-05-05 Thread Cleber L. Medina
Hi I put in rc.conf rc_scripts=squid In rc start shows squid... but I have to start the squid by myself after boot. I use the squid tgz, and my openbsd is 4.9 Are there some bug? in rc_scripts Thanks Cleber Medina

Re: rc_scripts=

2011-05-05 Thread Stuart Henderson
On 2011-05-05, Cleber L. Medina clebermed...@gmail.com wrote: Hi I put in rc.conf rc_scripts=squid In rc start shows squid... but I have to start the squid by myself after boot. I use the squid tgz, and my openbsd is 4.9 Are there some bug? in rc_scripts Thanks Cleber Medina

With $rc_scripts in /etc/rc.conf.local shutdown doesn't work on first try

2011-03-18 Thread Tomas Bodzar
Hi all, someone saw that issue on current? I have 'rc_scripts=dbus_daemon cupsd fresclam' in /etc/rc.conf.local and those daemons starts just fine during boot, but when I want to turn off my computer with 'shutdown -r now' it looks like everything is fine including messages that system is going

Re: With $rc_scripts in /etc/rc.conf.local shutdown doesn't work on first try

2011-03-18 Thread Antoine Jacoutot
On Fri, 18 Mar 2011, Tomas Bodzar wrote: Hi all, someone saw that issue on current? I have 'rc_scripts=dbus_daemon cupsd fresclam' in /etc/rc.conf.local and those daemons starts just fine during boot, but when I want to turn off my computer with 'shutdown -r now' it looks like everything

Re: With $rc_scripts in /etc/rc.conf.local shutdown doesn't work on first try

2011-03-18 Thread Tomas Bodzar
On Fri, Mar 18, 2011 at 4:38 PM, Antoine Jacoutot ajacou...@bsdfrog.org wrote: On Fri, 18 Mar 2011, Tomas Bodzar wrote: Hi all, someone saw that issue on current? I have 'rc_scripts=dbus_daemon cupsd fresclam' in /etc/rc.conf.local and those daemons starts just fine during boot, but when I