On Wed, May 03, 2017 at 11:54:13AM +0200, Antoine Jacoutot wrote:
> On Wed, May 03, 2017 at 11:39:48AM +0200, Andreas Kusalananda Kähäri wrote:
> > Hi,
> > 
> > syspatch seems to work fine for keeping my ordinary server and router on
> > -stable, thanks!
> > 
> > However, on my diskless workstation it doesn't work so well:
> > 
> > Get/Verify syspatch61-001_dhcpd.tgz 100% |*****************| 71733       
> > 00:00
> > Installing patch 001_dhcpd
> > /usr/sbin/syspatch: ??=1147776: not found
> 
> The error message could be improved but syspatch does the right thing here.
> It properly aborts because it's not designed to work on a diskless system.
> 
[cut]
> > How may I apply the binary patch on the diskless system, alternatively,
> > how do I apply it to the diskless system's files on its file server?

Ok, so that is fine.

I then tried to run syspatch in a chroot on the diskless client's
fileserver, which is a complete 6.1-release installation.

This resulted in syspatch exiting without an error, but also without
doing anything.

After a bit of investigation, I found that it was becasuse the unpriv
shell function generated an error upon invoking su:

su: approval failure: Undefined error: 0

Is there no way to run syspatch in a chroot either?


Regards,
Kusalananda

Reply via email to