On 2021/09/06 09:44, Sebastien Marie wrote: > On Mon, Sep 06, 2021 at 09:38:04AM +0200, Matthieu Herrb wrote: > > On Mon, Sep 06, 2021 at 04:53:36PM +1000, Damien Miller wrote: > > > this breaks xterm on freshly-installed systems: > > > > > > keroppi$ env DISPLAY=:0 xterm > > > xterm: unveil > > > > > > from ktrace, it looks like it is failing when trying to unveil a > > > nonexistent directory: > > > > > > 93248 xterm NAMI "/home/djm/.cache/fontconfig" > > > 93248 xterm RET unveil -1 errno 2 No such file or directory > > > > > > Maybe it should stat/access the paths first? Or more stuff in skel? > > > > Either add .cache to skel or ignore ENOENT for dirs in home. > > > > I'm wondering if /usr/local/share/fonts/ is also going to be a problem > > and if I should extend the ENOENT checks for the system > > directories... > > The following are fine with base,xbase sets installed: > - /usr/X11R6 > - /var/cache/fontconfig > - etc_utmp > - etc_wtmp > > But the other might failed without ports installed: > - /usr/local/share/fonts > - /usr/local/share/icons > - /usr/local/lib/X11/icons
Ths system directories could be added to base sets couldn't they?