Re: Is not possible to disable sndiod process??
Tomas Bodzar [tomas.bod...@gmail.com] wrote: > > It's obvious that you were not reading FAQ/man pages, because you > modified files which are not supposed to be modified because of > experience from some other OS or because you were reading some "howto > install OpenBSD/Linux/BSD/Unix" somewhere on the web, Whatever. The FAQ is just a big HOWTO anyways. It's hardly even an FAQ. It's "FREQUENTLY ASKED HOW TO DO SHIT" in OpenBSD. But it's the OFFICIAL HOWTO. That's nice isn't it? The man pages are the only real guide, if you want the most up-to-date. And if they fail, the source code is there. None of this helps someone who can't grasp rc.conf.local vs. rc.conf. Chris
Re: Is not possible to disable sndiod process??
On Sun, 10 Jun 2012 12:56:22 +0200 carlopmart wrote: > Yes, maybe I need to update my knowledge about OpenBSD, but I think it > is normal for a person who had previously used, that the configuration > of rc.conf went in the same manner (without having to read the man > page). Or not? Why not, there is only one man page per file rather than on linux having to decipher apropos ouput. Compare sh and openssl man pages on OpenBSD and linux. Then look at systemds docs and the monstrosity polkit, what a mess. Unforgiveable for a security management daemon. The ID line at the top of the config files on OpenBSD (which sysmerge uses by the way) is also very useful in atleast terms of how often any file is edited.
Re: Is not possible to disable sndiod process??
On 06/10/2012 05:40 PM, Henning Brauer wrote: can you get over it now please instead of spamming the list with your attempts to find someone but yourself to blame for your screwup? shit happens, learn from it, done. Sorry, but I am not trying to spam this list ... I have made a simple question about a config file ... nothing more ... -- CL Martinez carlopmart {at} gmail {d0t} com
Re: Is not possible to disable sndiod process??
* carlopmart [2012-06-10 16:47]: > On 06/10/2012 04:34 PM, Jan Stary wrote: > >Every version of the rc.conf manpage between 2.7 and 4.0 > >advises you to leave it alone and use rc.conf.local instead > >http://www.openbsd.org/cgi-bin/man.cgi?query=rc.conf&apropos=0&sektion=0&manpath=OpenBSD+2.7&arch=i386&format=html > Where says here "Should not be edited."??? Says: "As an alternative, > it is also possible to leave the /etc/rc.conf file un-touched, and > instead create and edit a new /etc/rc.conf.local file. Variables set > in this file will override variables previously set in > /etc/rc.conf." ... Nothing about problems between upgrades ... this hs indeed been made crystal clear later and was a little ambiguous back then. > and I repeat "In those days (versions 2.x and 3.x until 4.0 version) > you can modify rc.conf for soft base and use rc.conf.local for local > processes,and faq recomends to do this in this way ..." I am almost certain the FAQ never recommended anything remotely like that. rc.local was the standard way to start non-base daemons until rc.d. you seem to mix rc.local and rc.conf.local up. > >>Yes, maybe I need to update my knowledge about OpenBSD, but I think > >>it is normal for a person who had previously used, that the > >>configuration of rc.conf went in the same manner (without having to > >>read the man page). Or not? > > > >No, it is not normal to assume that things are the same as six years ago. > >(But in this case they are: use rc.conf.local instead.) > Correct, but I didn't expect this type of change in rc.conf ... can you get over it now please instead of spamming the list with your attempts to find someone but yourself to blame for your screwup? shit happens, learn from it, done. -- Henning Brauer, h...@bsws.de, henn...@openbsd.org BS Web Services, http://bsws.de, Full-Service ISP Secure Hosting, Mail and DNS Services. Dedicated Servers, Root to Fully Managed Henning Brauer Consulting, http://henningbrauer.com/
Re: Is not possible to disable sndiod process??
On 06/10/2012 04:34 PM, Jan Stary wrote: Ok, I have restored original rc.conf file, and created rc.conf.local with my options ... and works. But then a doubt emerges. What files are not recommended to touch between upgrades? Where can I found this info?? http://www.openbsd.org/faq/faq10.html ??? /etc/rc.conf - Configuration file used by /etc/rc to set startup parameters for the system. Should not be edited. ??? /etc/rc.conf.local - Configuration file that overrides settings in /etc/rc.conf so you don't have to touch /etc/rc.conf itself, which is important when upgrading your system. Yes I see this previosuly ... But exists another file apart of rc.conf?? Everything is in man rc on OpenBSD. On other systems it may differ (and differ on a lot of them) so you need to read their docs. Ok, I will try to explian: I have used OpenBSD until 4.0 version .. After this, I have to use another OSes to accomplish my needs (freebsd, solaris, AIX, linux, windows server, etc)... Until now, that I can use OpenBSD another time ... In those days (versions 2.x and 3.x until 4.0 version) you can modify rc.conf for soft base and use rc.conf.local (if I remember well in 3.x versions) for local processes,and faq recomends to do this in this way ... and in man page it doesn't says nothing about "Configuration file used by /etc/rc to set startup parameters for the system. Should not be edited" in those days ... Every version of the rc.conf manpage between 2.7 and 4.0 advises you to leave it alone and use rc.conf.local instead http://www.openbsd.org/cgi-bin/man.cgi?query=rc.conf&apropos=0&sektion=0&manpath=OpenBSD+2.7&arch=i386&format=html Where says here "Should not be edited."??? Says: "As an alternative, it is also possible to leave the /etc/rc.conf file un-touched, and instead create and edit a new /etc/rc.conf.local file. Variables set in this file will override variables previously set in /etc/rc.conf." ... Nothing about problems between upgrades ... and I repeat "In those days (versions 2.x and 3.x until 4.0 version) you can modify rc.conf for soft base and use rc.conf.local for local processes,and faq recomends to do this in this way ..." Yes, maybe I need to update my knowledge about OpenBSD, but I think it is normal for a person who had previously used, that the configuration of rc.conf went in the same manner (without having to read the man page). Or not? No, it is not normal to assume that things are the same as six years ago. (But in this case they are: use rc.conf.local instead.) Correct, but I didn't expect this type of change in rc.conf ... -- CL Martinez carlopmart {at} gmail {d0t} com
Re: Is not possible to disable sndiod process??
> Ok, I have restored original rc.conf file, and created rc.conf.local with > my options ... and works. > > But then a doubt emerges. What files are not recommended to touch between > upgrades? Where can I found this info?? > >>> > >>>http://www.openbsd.org/faq/faq10.html > >>> > >>>??? /etc/rc.conf - Configuration file used by /etc/rc to set startup > >>>parameters for the system. Should not be edited. > >>>??? /etc/rc.conf.local - Configuration file that overrides settings in > >>>/etc/rc.conf so you don't have to touch /etc/rc.conf itself, which is > >>>important when upgrading your system. > >>> > >> > >>Yes I see this previosuly ... But exists another file apart of rc.conf?? > > > >Everything is in man rc on OpenBSD. On other systems it may differ > >(and differ on a lot of them) so you need to read their docs. > > > Ok, I will try to explian: I have used OpenBSD until 4.0 version .. > After this, I have to use another OSes to accomplish my needs > (freebsd, solaris, AIX, linux, windows server, etc)... Until now, > that I can use OpenBSD another time ... > > In those days (versions 2.x and 3.x until 4.0 version) you can > modify rc.conf for soft base and use rc.conf.local (if I remember > well in 3.x versions) for local processes,and faq recomends to do > this in this way ... and in man page it doesn't says nothing about > "Configuration file used by /etc/rc to set startup parameters for > the system. Should not be edited" in those days ... Every version of the rc.conf manpage between 2.7 and 4.0 advises you to leave it alone and use rc.conf.local instead http://www.openbsd.org/cgi-bin/man.cgi?query=rc.conf&apropos=0&sektion=0&manpath=OpenBSD+2.7&arch=i386&format=html > Yes, maybe I need to update my knowledge about OpenBSD, but I think > it is normal for a person who had previously used, that the > configuration of rc.conf went in the same manner (without having to > read the man page). Or not? No, it is not normal to assume that things are the same as six years ago. (But in this case they are: use rc.conf.local instead.)
Re: Is not possible to disable sndiod process??
On 06/10/2012 12:45 PM, Tomas Bodzar wrote: On Sun, Jun 10, 2012 at 11:50 AM, carlopmart wrote: On 06/10/2012 10:46 AM, Richard Toohey wrote: On 10/06/2012, at 8:25 PM, carlopmart wrote: On 06/09/2012 12:56 PM, Alexandre Ratchov wrote: On Sat, Jun 09, 2012 at 12:36:19PM +0200, carlopmart wrote: On 06/09/2012 12:21 PM, Alexandre Ratchov wrote: On Sat, Jun 09, 2012 at 11:48:29AM +0200, carlopmart wrote: Hi all, How can I disable sndiod process?? I have configured under rc.conf: the recommended way to disable it by adding: sndiod_flags=NO in /etc/rc.conf.local sndiod_flags=NO but every time host is rebooted, sndiod starts ... Why?? indeed, it shouldn't start. May be you've multiple sndiod_flags definitions, or your setting is overriden in rc.conf.local or whatever else. -- Alexandre Nop, I don't have a rc.conf.local file .. so, just do: echo 'sndiod_flags=NO'>/etc/rc.conf.local see rc.conf(5) man page as well. -- Alexandre Ok, I have restored original rc.conf file, and created rc.conf.local with my options ... and works. But then a doubt emerges. What files are not recommended to touch between upgrades? Where can I found this info?? You didn't find this? http://www.openbsd.org/faq/faq10.html • /etc/rc.conf - Configuration file used by /etc/rc to set startup parameters for the system. Should not be edited. • /etc/rc.conf.local - Configuration file that overrides settings in /etc/rc.conf so you don't have to touch /etc/rc.conf itself, which is important when upgrading your system. Yes I see this previosuly ... But exists another file apart of rc.conf?? Everything is in man rc on OpenBSD. On other systems it may differ (and differ on a lot of them) so you need to read their docs. Ok, I will try to explian: I have used OpenBSD until 4.0 version .. After this, I have to use another OSes to accomplish my needs (freebsd, solaris, AIX, linux, windows server, etc)... Until now, that I can use OpenBSD another time ... In those days (versions 2.x and 3.x until 4.0 version) you can modify rc.conf for soft base and use rc.conf.local (if I remember well in 3.x versions) for local processes,and faq recomends to do this in this way ... and in man page it doesn't says nothing about "Configuration file used by /etc/rc to set startup parameters for the system. Should not be edited" in those days ... Yes, maybe I need to update my knowledge about OpenBSD, but I think it is normal for a person who had previously used, that the configuration of rc.conf went in the same manner (without having to read the man page). Or not? After all is not too complex to understand how rc.conf works. Another thing is how I need to configure pf rules ... -- CL Martinez carlopmart {at} gmail {d0t} com
Re: Is not possible to disable sndiod process??
On Sun, Jun 10, 2012 at 11:50 AM, carlopmart wrote: > On 06/10/2012 10:46 AM, Richard Toohey wrote: >> >> On 10/06/2012, at 8:25 PM, carlopmart wrote: >> >>> On 06/09/2012 12:56 PM, Alexandre Ratchov wrote: On Sat, Jun 09, 2012 at 12:36:19PM +0200, carlopmart wrote: > > On 06/09/2012 12:21 PM, Alexandre Ratchov wrote: >> >> On Sat, Jun 09, 2012 at 11:48:29AM +0200, carlopmart wrote: >>> >>> Hi all, >>> >>> How can I disable sndiod process?? I have configured under rc.conf: >>> >> >> the recommended way to disable it by adding: >> >> sndiod_flags=NO >> >> in /etc/rc.conf.local >> >>> sndiod_flags=NO >>> >>> but every time host is rebooted, sndiod starts ... Why?? >> >> >> indeed, it shouldn't start. May be you've multiple sndiod_flags >> definitions, or your setting is overriden in rc.conf.local or >> whatever else. >> >> -- Alexandre > > > Nop, I don't have a rc.conf.local file .. > so, just do: echo 'sndiod_flags=NO'>/etc/rc.conf.local see rc.conf(5) man page as well. -- Alexandre >>> >>> >>> Ok, I have restored original rc.conf file, and created rc.conf.local with >>> my options ... and works. >>> >>> But then a doubt emerges. What files are not recommended to touch between >>> upgrades? Where can I found this info?? >> >> >> You didn't find this? >> >> http://www.openbsd.org/faq/faq10.html >> >> • /etc/rc.conf - Configuration file used by /etc/rc to set startup >> parameters for the system. Should not be edited. >> • /etc/rc.conf.local - Configuration file that overrides settings in >> /etc/rc.conf so you don't have to touch /etc/rc.conf itself, which is >> important when upgrading your system. >> > > Yes I see this previosuly ... But exists another file apart of rc.conf?? Everything is in man rc on OpenBSD. On other systems it may differ (and differ on a lot of them) so you need to read their docs. > > > > -- > CL Martinez > carlopmart {at} gmail {d0t} com
Re: Is not possible to disable sndiod process??
On Sun, Jun 10, 2012 at 11:51 AM, carlopmart wrote: > On 06/10/2012 11:41 AM, Eric Furman wrote: >> >> Stop reading HOWTOS on the Internet. >> Read an actual book on UNIX. >> (UNIX not Linux. there is a difference) >> (GNU is not UNIX) >> (No truer words have been spoken) >> This stuff is UNIX 101. >> Because it is UNIX 101 is the reason the replies >> you have gotten are either non existent or >> dismissive. However, you have been led in the >> right direction. Read man pages. If you don't >> understand the consequences of editing a >> config file then don't edit them. >> Stop reading HOWTOS. >> They do not lead to understanding. >> > > Sorry?? What howtos?? Whos is speaking about howtos?? It's obvious that you were not reading FAQ/man pages, because you modified files which are not supposed to be modified because of experience from some other OS or because you were reading some "howto install OpenBSD/Linux/BSD/Unix" somewhere on the web,
Re: Is not possible to disable sndiod process??
On 06/10/2012 10:46 AM, Richard Toohey wrote: On 10/06/2012, at 8:25 PM, carlopmart wrote: On 06/09/2012 12:56 PM, Alexandre Ratchov wrote: On Sat, Jun 09, 2012 at 12:36:19PM +0200, carlopmart wrote: On 06/09/2012 12:21 PM, Alexandre Ratchov wrote: On Sat, Jun 09, 2012 at 11:48:29AM +0200, carlopmart wrote: Hi all, How can I disable sndiod process?? I have configured under rc.conf: the recommended way to disable it by adding: sndiod_flags=NO in /etc/rc.conf.local sndiod_flags=NO but every time host is rebooted, sndiod starts ... Why?? indeed, it shouldn't start. May be you've multiple sndiod_flags definitions, or your setting is overriden in rc.conf.local or whatever else. -- Alexandre Nop, I don't have a rc.conf.local file .. so, just do: echo 'sndiod_flags=NO'>/etc/rc.conf.local see rc.conf(5) man page as well. -- Alexandre Ok, I have restored original rc.conf file, and created rc.conf.local with my options ... and works. But then a doubt emerges. What files are not recommended to touch between upgrades? Where can I found this info?? You didn't find this? http://www.openbsd.org/faq/faq10.html • /etc/rc.conf - Configuration file used by /etc/rc to set startup parameters for the system. Should not be edited. • /etc/rc.conf.local - Configuration file that overrides settings in /etc/rc.conf so you don't have to touch /etc/rc.conf itself, which is important when upgrading your system. Yes I see this previosuly ... But exists another file apart of rc.conf?? -- CL Martinez carlopmart {at} gmail {d0t} com
Re: Is not possible to disable sndiod process??
On 06/10/2012 11:41 AM, Eric Furman wrote: Stop reading HOWTOS on the Internet. Read an actual book on UNIX. (UNIX not Linux. there is a difference) (GNU is not UNIX) (No truer words have been spoken) This stuff is UNIX 101. Because it is UNIX 101 is the reason the replies you have gotten are either non existent or dismissive. However, you have been led in the right direction. Read man pages. If you don't understand the consequences of editing a config file then don't edit them. Stop reading HOWTOS. They do not lead to understanding. Sorry?? What howtos?? Whos is speaking about howtos??
Re: Is not possible to disable sndiod process??
Stop reading HOWTOS on the Internet. Read an actual book on UNIX. (UNIX not Linux. there is a difference) (GNU is not UNIX) (No truer words have been spoken) This stuff is UNIX 101. Because it is UNIX 101 is the reason the replies you have gotten are either non existent or dismissive. However, you have been led in the right direction. Read man pages. If you don't understand the consequences of editing a config file then don't edit them. Stop reading HOWTOS. They do not lead to understanding. On Sun, Jun 10, 2012, at 10:25 AM, carlopmart wrote: > On 06/09/2012 12:56 PM, Alexandre Ratchov wrote: > > On Sat, Jun 09, 2012 at 12:36:19PM +0200, carlopmart wrote: > >> On 06/09/2012 12:21 PM, Alexandre Ratchov wrote: > >>> On Sat, Jun 09, 2012 at 11:48:29AM +0200, carlopmart wrote: > Hi all, > > How can I disable sndiod process?? I have configured under rc.conf: > > >>> > >>> the recommended way to disable it by adding: > >>> > >>> sndiod_flags=NO > >>> > >>> in /etc/rc.conf.local > >>> > sndiod_flags=NO > > but every time host is rebooted, sndiod starts ... Why?? > >>> > >>> indeed, it shouldn't start. May be you've multiple sndiod_flags > >>> definitions, or your setting is overriden in rc.conf.local or > >>> whatever else. > >>> > >>> -- Alexandre > >> > >> Nop, I don't have a rc.conf.local file .. > >> > > > > so, just do: > > > > echo 'sndiod_flags=NO'>/etc/rc.conf.local > > > > see rc.conf(5) man page as well. > > > > -- Alexandre > > Ok, I have restored original rc.conf file, and created rc.conf.local > with my options ... and works. > > But then a doubt emerges. What files are not recommended to touch > between upgrades? Where can I found this info?? > > > -- > CL Martinez > carlopmart {at} gmail {d0t} com
Re: Is not possible to disable sndiod process??
On 10/06/2012, at 8:25 PM, carlopmart wrote: > On 06/09/2012 12:56 PM, Alexandre Ratchov wrote: >> On Sat, Jun 09, 2012 at 12:36:19PM +0200, carlopmart wrote: >>> On 06/09/2012 12:21 PM, Alexandre Ratchov wrote: On Sat, Jun 09, 2012 at 11:48:29AM +0200, carlopmart wrote: > Hi all, > > How can I disable sndiod process?? I have configured under rc.conf: > the recommended way to disable it by adding: sndiod_flags=NO in /etc/rc.conf.local > sndiod_flags=NO > > but every time host is rebooted, sndiod starts ... Why?? indeed, it shouldn't start. May be you've multiple sndiod_flags definitions, or your setting is overriden in rc.conf.local or whatever else. -- Alexandre >>> >>> Nop, I don't have a rc.conf.local file .. >>> >> >> so, just do: >> >> echo 'sndiod_flags=NO'>/etc/rc.conf.local >> >> see rc.conf(5) man page as well. >> >> -- Alexandre > > Ok, I have restored original rc.conf file, and created rc.conf.local with my options ... and works. > > But then a doubt emerges. What files are not recommended to touch between upgrades? Where can I found this info?? You didn't find this? http://www.openbsd.org/faq/faq10.html • /etc/rc.conf - Configuration file used by /etc/rc to set startup parameters for the system. Should not be edited. • /etc/rc.conf.local - Configuration file that overrides settings in /etc/rc.conf so you don't have to touch /etc/rc.conf itself, which is important when upgrading your system. > > > -- > CL Martinez > carlopmart {at} gmail {d0t} com
Re: Is not possible to disable sndiod process??
On 06/09/2012 12:56 PM, Alexandre Ratchov wrote: On Sat, Jun 09, 2012 at 12:36:19PM +0200, carlopmart wrote: On 06/09/2012 12:21 PM, Alexandre Ratchov wrote: On Sat, Jun 09, 2012 at 11:48:29AM +0200, carlopmart wrote: Hi all, How can I disable sndiod process?? I have configured under rc.conf: the recommended way to disable it by adding: sndiod_flags=NO in /etc/rc.conf.local sndiod_flags=NO but every time host is rebooted, sndiod starts ... Why?? indeed, it shouldn't start. May be you've multiple sndiod_flags definitions, or your setting is overriden in rc.conf.local or whatever else. -- Alexandre Nop, I don't have a rc.conf.local file .. so, just do: echo 'sndiod_flags=NO'>/etc/rc.conf.local see rc.conf(5) man page as well. -- Alexandre Ok, I have restored original rc.conf file, and created rc.conf.local with my options ... and works. But then a doubt emerges. What files are not recommended to touch between upgrades? Where can I found this info?? -- CL Martinez carlopmart {at} gmail {d0t} com
Re: Is not possible to disable sndiod process??
On Sat, 09 Jun 2012 12:35:07 +0200 carlopmart wrote: > Uhmm why?? > > I use rc.conf.local for daemons or options outside of openbsd soft base ... In addition to what others have said it keep your changes easily identified. If you put . /etc/rc.conf.localbase in rc.conf.local you could seperate out what you currently have in rc.local wirth rc.conf.localbase having the override ability in this case. Personally I don't see why except maybe delegating editing to certain users. You could just have a section marked by comments in rc.conf.local
Re: Is not possible to disable sndiod process??
On Sat, Jun 09, 2012 at 12:35:07PM +0200, carlopmart wrote: > On 06/09/2012 12:19 PM, Jérémie Courrèges-Anglas wrote: > >rc.conf isn't meant to be edited. use rc.conf.local > > Uhmm why?? Because rc.conf(8) states that "It is advisable to leave rc.conf untouched, and instead create and edit a new rc.conf.local file. Variables set in this file will override variables previously set in rc.conf." and you should always follow official recommandations before personal preferences, even if it seem ambiguous? -- Cheers, Erling
Re: Is not possible to disable sndiod process??
carlopmart wrote: > On 06/09/2012 12:19 PM, Jérémie Courrèges-Anglas wrote: >> carlopmart writes: >> >>> Hi all, >>> >>> How can I disable sndiod process?? I have configured under rc.conf: >>> >>> sndiod_flags=NO >> >> rc.conf isn't meant to be edited. use rc.conf.local > > Uhmm why?? > > I use rc.conf.local for daemons or options outside of openbsd soft base > ... > it's simple: - read rc.conf(8) for a better understanding (or study the /etc/rc.conf script and try to figure out what could cause your sndiod_flags to get lost, after all, if you edit this script you should also be able to figure out the consequences of your actions, since it's advised to NOT edit this file) - (older) aucat_flags could interfere with sndiod_flags but if you haven't got a rc.conf.local this is probably not your problem - follow Alexandre's advice
Re: Is not possible to disable sndiod process??
On Sat, Jun 09, 2012 at 12:36:19PM +0200, carlopmart wrote: > On 06/09/2012 12:21 PM, Alexandre Ratchov wrote: > >On Sat, Jun 09, 2012 at 11:48:29AM +0200, carlopmart wrote: > >>Hi all, > >> > >> How can I disable sndiod process?? I have configured under rc.conf: > >> > > > >the recommended way to disable it by adding: > > > >sndiod_flags=NO > > > >in /etc/rc.conf.local > > > >>sndiod_flags=NO > >> > >> but every time host is rebooted, sndiod starts ... Why?? > > > >indeed, it shouldn't start. May be you've multiple sndiod_flags > >definitions, or your setting is overriden in rc.conf.local or > >whatever else. > > > >-- Alexandre > > Nop, I don't have a rc.conf.local file .. > so, just do: echo 'sndiod_flags=NO' >/etc/rc.conf.local see rc.conf(5) man page as well. -- Alexandre
Re: Is not possible to disable sndiod process??
On Sat, Jun 09, 2012 at 12:35:07PM +0200, carlopmart wrote: > On 06/09/2012 12:19 PM, J??r??mie Courr??ges-Anglas wrote: > >carlopmart writes: > > > >>Hi all, > >> > >> How can I disable sndiod process?? I have configured under rc.conf: > >> > >>sndiod_flags=NO > > > >rc.conf isn't meant to be edited. use rc.conf.local > > Uhmm why?? > For instance to avoid merges during upgrade; rc.conf contains the default configuration, and rc.conf.local contains local changes to the default configuration. > I use rc.conf.local for daemons or options outside of openbsd soft base ... > it can be used for the base system as well. > > > >> but every time host is rebooted, sndiod starts ... Why?? > >> > >>Thanks. > > > >Without more details and given the non-standard setup... > > What details do you need?? I use this openbsd box as a fw and I wnat > ot disable sndiod process ... Generally you don't need to disable sndiod. As long it's not used it consumes less resources than getty, which we don't disable either. -- Alexandre
Re: Is not possible to disable sndiod process??
On Sat, Jun 09, 2012 at 11:48:29AM +0200, carlopmart wrote: > Hi all, > > How can I disable sndiod process?? I have configured under rc.conf: > > sndiod_flags=NO > > but every time host is rebooted, sndiod starts ... Why?? Because you should not touch rc.conf; sndiod_flags _must_ be added to rc.conf.local. If you don't understand why, then have a look at the backward compat code in /etc/rc.conf. Also, from rc.conf(8): "It is advisable to leave rc.conf untouched, and instead create and edit a new rc.conf.local file." -- Antoine
Re: Is not possible to disable sndiod process??
On 06/09/2012 12:21 PM, Alexandre Ratchov wrote: On Sat, Jun 09, 2012 at 11:48:29AM +0200, carlopmart wrote: Hi all, How can I disable sndiod process?? I have configured under rc.conf: the recommended way to disable it by adding: sndiod_flags=NO in /etc/rc.conf.local sndiod_flags=NO but every time host is rebooted, sndiod starts ... Why?? indeed, it shouldn't start. May be you've multiple sndiod_flags definitions, or your setting is overriden in rc.conf.local or whatever else. -- Alexandre Nop, I don't have a rc.conf.local file .. -- CL Martinez carlopmart {at} gmail {d0t} com
Re: Is not possible to disable sndiod process??
On 06/09/2012 12:19 PM, Jérémie Courrèges-Anglas wrote: carlopmart writes: Hi all, How can I disable sndiod process?? I have configured under rc.conf: sndiod_flags=NO rc.conf isn't meant to be edited. use rc.conf.local Uhmm why?? I use rc.conf.local for daemons or options outside of openbsd soft base ... but every time host is rebooted, sndiod starts ... Why?? Thanks. Without more details and given the non-standard setup... What details do you need?? I use this openbsd box as a fw and I wnat ot disable sndiod process ... Here's a guess: you may have aucat_flags in rc.conf.local that override your non-standard changes. But there is not options for aucat_flags under rc.conf ... or maybe I only need to put under rc.conf.local aucat_flags=NO?? -- CL Martinez carlopmart {at} gmail {d0t} com
Re: Is not possible to disable sndiod process??
On Sat, Jun 09, 2012 at 11:48:29AM +0200, carlopmart wrote: > Hi all, > > How can I disable sndiod process?? I have configured under rc.conf: > the recommended way to disable it by adding: sndiod_flags=NO in /etc/rc.conf.local > sndiod_flags=NO > > but every time host is rebooted, sndiod starts ... Why?? indeed, it shouldn't start. May be you've multiple sndiod_flags definitions, or your setting is overriden in rc.conf.local or whatever else. -- Alexandre
Re: Is not possible to disable sndiod process??
carlopmart writes: > Hi all, > > How can I disable sndiod process?? I have configured under rc.conf: > > sndiod_flags=NO rc.conf isn't meant to be edited. use rc.conf.local > but every time host is rebooted, sndiod starts ... Why?? > > Thanks. Without more details and given the non-standard setup... Here's a guess: you may have aucat_flags in rc.conf.local that override your non-standard changes. -- Jérémie Courrèges-Anglas GPG fingerprint: 61DB D9A0 00A4 67CF 2A90 8961 6191 8FBF 06A1 1494
Is not possible to disable sndiod process??
Hi all, How can I disable sndiod process?? I have configured under rc.conf: sndiod_flags=NO but every time host is rebooted, sndiod starts ... Why?? Thanks. -- CL Martinez carlopmart {at} gmail {d0t} com