LinkedIn Sourceforge Twitter

Vincent's Blog

Pleasure in the job puts perfection in the work (Aristote)

Manual install of OpenBSD and syspatch

Posted on 2017-06-17 15:11:00 from Vincent in Open Bsd

On some machines we are forced to perform the not recommended upgrade procedure. Since several years I'm applying this method on 2 of my machines without problems.

But, after the upgrade process of OpenBSD from 6.0 to 6.1, syspatch was no running as it should.


If like for me, you have to perform the manual installation as described on the OpenBSD upgrade page, I would emphasis on one aspect which impact the execution of syspatch: the user and group.

If you follow strictly this manual installation process, you will have a perfect running OpenBSD system, except the syspatch will not work because teh required user/group are not defined.

In fact, if you run syspatch you will not have any error message, but nothing will occurs.

What is missing is the user and group for syspatch.

I propose you to perform the following as root:

echo '_syspatch:*:112:' >> /etc/group
echo '_syspatch:*:112:112::0:0:syspatch unprivileged user:/var/empty:/sbin/nologin' >> /etc/master.passwd
pwd_mkdb -d /etc /etc/master.passwd

After this, you can run syspatch as on a 'normal installed' OpenBSD system.

It was really surprising to me, but I think that this element is simply forgotten by OpenBSD developers.



0, 0
displayed: 399



How much does 5 plus 2 ?