[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: FreeBSD 10 userland



Robert Millan <rmh@debian.org> writes:
> On 04/02/2014 21:26, Christoph Egger wrote:
>> Hi Robert!
>> 
>> During update I'm seeing the following:
>> 
>>> Setting up freebsd-utils (10.0-2) ...
>>>
>>> Configuration file '/etc/sysctl.conf'
>>>  ==> File on system created by you or by a script.
>>>  ==> File also in package provided by package maintainer.
>>>    What would you like to do about it ?  Your options are:
>>>     Y or I  : install the package maintainer's version
>>>     N or O  : keep your currently-installed version
>>>       D     : show the differences between the versions
>>>       Z     : start a shell to examine the situation
>>>  The default action is to keep your current version.
>>> *** sysctl.conf (Y/I/N/O/D/Z) [default=N] ? d
>>>
>>> Configuration file '/etc/sysctl.conf'
>>>  ==> File on system created by you or by a script.
>>>  ==> File also in package provided by package maintainer.
>>>    What would you like to do about it ?  Your options are:
>>>     Y or I  : install the package maintainer's version
>>>     N or O  : keep your currently-installed version
>>>       D     : show the differences between the versions
>>>       Z     : start a shell to examine the situation
>>>  The default action is to keep your current version.
>>> *** sysctl.conf (Y/I/N/O/D/Z) [default=N] ? 
>
> Did you resolve the conflict? What is in /etc/sysctl.conf afterwards?

I kept it exactly the same

>>> Installing new version of config file /etc/init.d/freebsd-utils ...
>>> update-rc.d: warning: start and stop actions are no longer supported; falling back to defaults
>>> [ ok ] Loading devfs rules...done.
>>> [ ok ] Setting up /dev links...done.
>>> [ ok ] Mounting kernel filesystems...done.
>>> [....] Setting kernel variables ...sysctl: unknown oid '/etc/sysctl.conf': No such file or directory
>>> failed.
>
> Strange. Is /bin/sysctl the wrapper script? (which supports -p)
>
> What happens if you run:
>
> sudo sysctl -p /etc/sysctl.conf

% file /bin/sysctl 
/bin/sysctl: symbolic link to `/sbin/sysctl' 

% file /sbin/sysctl
/sbin/sysctl: POSIX shell script, ASCII text executable

% sha1sum /sbin/sysctl 
e08bf87cbcee637709d19b7c1088941253456d20  /sbin/sysctl

% sudo sysctl -p /etc/sysctl.conf
sysctl: unknown oid '/etc/sysctl.conf': No such file or directory
hw.pci.do_power_nodriver: 3 -> 3

% cat /etc/sysctl.conf
hw.pci.do_power_nodriver=3
hw.acpi.cpu.cx_lowest=c3
dev.cpu.0.cx_lowest=c2
hw.snd.default_unit=0
hw.snd.maxautovchans=4
dev.pcm.0.play.vchans=5
vm.max_wired=2000000

  Christoph

-- 
9FED 5C6C E206 B70A 5857  70CA 9655 22B9 D49A E731
Debian Developer | Lisp Hacker | CaCert Assurer


Reply to: