mergemaster users, check login.conf

classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

mergemaster users, check login.conf

Christian Weisgerber
People who use ports/sysutils/mergemaster to update /etc might want
to manually check their /etc/login.conf:

# cd /usr/src/etc
# make DESTDIR=/var/tmp/temproot distribution-etc-root-var
# diff -u /etc/login.conf /var/tmp/temproot/etc/login.conf
[... compare, edit ...]
# rm -r /var/tmp/temproot

A while back, the default filedescriptor limit was bumped from 64
to 128.  The login.conf file is generated from a template and that
change happened in mklogin.conf, not login.conf.in.  However,
login.conf only sports the $OpenBSD: login.conf.in,v $ line.  No
difference there, so mergemaster skips the comparison, missing out
on the change.

(This is of particular importance to Firefox users, since FF tends
to run out of file descriptors with the old limit, causing all sorts
of odd problems.)
--
Christian "naddy" Weisgerber                          [hidden email]

Reply | Threaded
Open this post in threaded view
|

Re: mergemaster users, check login.conf

Tobias Ulmer
On Wed, May 23, 2007 at 06:31:31PM +0000, Christian Weisgerber wrote:

> People who use ports/sysutils/mergemaster to update /etc might want
> to manually check their /etc/login.conf:
>
> # cd /usr/src/etc
> # make DESTDIR=/var/tmp/temproot distribution-etc-root-var
> # diff -u /etc/login.conf /var/tmp/temproot/etc/login.conf
> [... compare, edit ...]
> # rm -r /var/tmp/temproot
>
> A while back, the default filedescriptor limit was bumped from 64
> to 128.  The login.conf file is generated from a template and that
> change happened in mklogin.conf, not login.conf.in.  However,
> login.conf only sports the $OpenBSD: login.conf.in,v $ line.  No
> difference there, so mergemaster skips the comparison, missing out
> on the change.
>
> (This is of particular importance to Firefox users, since FF tends
> to run out of file descriptors with the old limit, causing all sorts
> of odd problems.)
> --
> Christian "naddy" Weisgerber                          [hidden email]
>
>

Thanks for the instructions.
Same old question again: Will mergemaster be in 4.2? ;-]

Tobias