Friday, June 01, 2018

Re: Nextcloud - cert validataion in chroot

On Fri, 1 Jun 2018 21:44:57 +0200, Stefan Sperling <stsp@stsp.name>
wrote:

> What I did is put /var/www/dev on a tiny read-only mfs which is
> good enough for a random device node.

Neat!

> fstab: swap /var/www/dev mfs ro,nosuid,-s512K,-P/var/www/dev.tmpl 0 0
>
> $ ls -l /var/www/dev.tmpl
> total 0
> crw-r--r-- 1 root daemon - 119, 0 Apr 18 10:34 urandom

So it seems that major/minor are arch dependant (stsp told me this is
on sparc64, while mine are on amd64). Maybe we should instruct the
reader to look at what's in /dev instead?

No comments:

Post a Comment