[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

"ezjail-admin -u" fails to update /usr/share/* in



Hi,

$ uname -a
FreeBSD stan.infra.osilex.net 10.0-RELEASE-p12 FreeBSD 10.0-RELEASE-p12 #0: Tue Nov  4 05:07:17 UTC 2014     root AT amd64-builder.daemonology DOT net:/usr/obj/usr/src/sys/GENERIC  amd64
$ pkg info ezjail
ezjail-3.4.1
Name           : ezjail
Version        : 3.4.1


Due to the way symbolic links are set up in the newjail template, "ezjail-admin -u" fails to update the /usr/share/* files, as outlined here:


The following files will be added as part of updating to 10.0-RELEASE-p12:
/usr/share/zoneinfo/Antarctica/Troll
/usr/share/zoneinfo/Asia/Chita
/usr/share/zoneinfo/Asia/Srednekolymsk
/usr/src/contrib/tzdata/zone1970.tab
Installing updates...install: /jails/ezjails/newjail//usr/share/zoneinfo/Antarctica/Troll: No such file or directory
install: /jails/ezjails/newjail//usr/share/zoneinfo/Asia/Chita: No such file or directory
install: /jails/ezjails/newjail//usr/share/zoneinfo/Asia/Srednekolymsk: No such file or directory
install: /jails/ezjails/newjail//usr/src/contrib/tzdata/zone1970.tab: No such file or directory
 done.


I guess using relative (share -> ../basejail/usr/share) vs absolute (share -> /basejail/usr/share) paths in symbolic links would solve the issue, but I'm not familiar enough with ezjail to figure out whether using relative paths instead would be an issue?

Kind regards,

Attachment: smime.p7s
Description: Firma criptográfica S/MIME