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

Bug#1027789: libc-bin: zic should not be installed in /sbin/





Le mar. 3 janv. 2023 à 21:23, Aurelien Jarno <aurel32@debian.org> a écrit :
Hi,

On 2023-01-03 12:18, Jérémy Lal wrote:
> Package: libc-bin
> Version: 2.36-7
> Severity: normal
>
> It seems very odd that zic is installed in /sbin/zic.

Could you please elaborate? zic is primarily used for administration
tasks and requires write access to /usr/share/zoneinfo in its default
invocation.

I was just looking at https://bugs.debian.org/1003044
and found out that it will call zic at some point, to be fixed.
I had no idea it was in /sbin, because it didn't look like a root-only command to me.
And when looking at other commands in /sbin, zic seems a bit to be a special case.
But if you don't want to change that, that's okay for me.

Also please note that the debian package uses the same path than
upstream (as in glibc, tzdata, Linux man-pages), and matches what is
done on other SysV or BSD systems.

Ok, I suppose it's for historical reasons, then.

Jérémy

Reply to: