On Thu, May 09, 2019 at 11:41:17PM -0600, Theo de Raadt wrote:
> config -e is incompatible with the KARL relinking sequence.
> 
> For now, we consider KARL more valuable than config -e usage
> patterns.
> 
> We've thought about this but for now we don't have a clever
> solution to solve this.

Usual disclaimer, you're on your own etc...
You can probably do something like this in /etc/rc.shutdown:

printf 'disable ulpt\nq\n' | config -ef /bsd
sha256 /bsd >/var/db/kernel.SHA256


> Thuban <thu...@yeuxdelibad.net> wrote:
> 
> > Hi,
> > I have a printer that require ulpt to be disabled
> > as mentionned in /usr/local/share/doc/pkg-readmes/cups. And it works.
> > 
> >     # config -fe /bsd
> >     disable ulpt
> >     quit
> > 
> > After a reboot, I can notice : 
> > 
> >     reorder_kernel: kernel relinking failed; see 
> > /usr/share/relink/kernel/GENERIC.MP/relink.log
> > 
> > Ok, so I run, as mentioned in the above file : 
> > 
> >     sha256 -h /var/db/kernel.SHA256 /bsd
> > 
> > However, at next reboot, ulpt is reenabled.
> >     
> > How can I still have KARL and use my printer ?
> > 
> > 
> > -- 
> >     thuban
> > 
> 

-- 
Antoine

Reply via email to