Thank you for visiting!
My little window on internet allowing me to share several of my passions
Categories:
- OpenBSD
- FreeBSD
- PEKwm
- Zsh
- Nvim
- VM
- High Availability
- vdcron
- My Sysupgrade
- FreeBSD
- Nas
- VPN
- DragonflyBSD
- fapws
- Alpine Linux
- Openbox
- Desktop
- Security
- yabitrot
- nmctl
- Tint2
- Firewall
- Project Management
- Hifi
- Alarm
Most Popular Articles:
Last Articles:
Manual install of OpenBSD and syspatch
Posted on 2017-06-17 15:11:00 from Vincent in OpenBSD
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 not 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 the 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.