Thomas,

Can you share which software complains about /etc/localhost not being a
link ?

One of the workarounds you can try is to add a postscript which will rename
the /etc/localhost to something like /etc/Paris and then
link /etc/localhost to it.

Mark Gurevich
Poughkeepsie Development Lab
HPC Software Development - xCAT

"If we knew what it was we were doing, it would not be called research,
would it?"
--Albert Einstein





From:   "Thomas HUMMEL" <thomas.hum...@pasteur.fr>
To:     <xcat-user@lists.sourceforge.net>
Date:   08/05/2021 02:35 PM
Subject:        [EXTERNAL] Re: [xcat-user] packimage -m tar and /etc/localtime





On 05/08/2021 20:06, Mark Gurevich wrote:

> Perhaps the removal of the old link is ok, but instead of the "copy" we
> should "link" $rootimg_dir/usr/share/zoneinfo/$timezone[0]" and
> "$rootimg_dir/etc/localtime" ?

That's what I thought. man(5) localtime and man timedatectl set-timezone
(on CentOS) mention the link handling. I'm not aware of a case where the
file is a regular one. A user has just pointed me on a software which
notices and complain about that.

I'm not really sure of the side effect or not a the file not being a link.

Thanks

--
Thomas


_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user



_______________________________________________
xCAT-user mailing list
xCAT-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/xcat-user

Reply via email to