Your message dated Wed, 4 Jan 2023 06:54:59 +0100
with message-id <y7uus6iryjskn...@aurel32.net>
and subject line Re: Bug#1027789: libc-bin: zic should not be installed in
/sbin/
has caused the Debian Bug report #1027789,
regarding libc-bin: zic should not be installed in /sbin/
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact ow...@bugs.debian.org
immediately.)
--
1027789: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1027789
Debian Bug Tracking System
Contact ow...@bugs.debian.org with problems
--- Begin Message ---
Package: libc-bin
Version: 2.36-7
Severity: normal
It seems very odd that zic is installed in /sbin/zic.
Jérémy
-- System Information:
Debian Release: bookworm/sid
APT prefers unstable
APT policy: (500, 'unstable'), (101, 'testing')
Architecture: amd64 (x86_64)
Kernel: Linux 6.0.0-6-amd64 (SMP w/4 CPU threads; PREEMPT)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled
Versions of packages libc-bin depends on:
ii libc6 2.36-7
Versions of packages libc-bin recommends:
ii manpages 6.02-1
libc-bin suggests no packages.
-- no debconf information
--- End Message ---
--- Begin Message ---
Hi,
On 2023-01-03 22:39, Jérémy Lal wrote:
> Le mar. 3 janv. 2023 à 21:23, Aurelien Jarno <aure...@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.
Ok, thanks, closing the bug.
> >
> > 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.
Not really. Users call it to update files in /usr/share/zoneinfo, so it
makes sense to have it in /sbin. But scripts are usually using it as
non-root with the -d option.
It's similar to mkfs.ext4 which is also located in /sbin, but when
called from scripts, it is usually used as non-root to work on files.
And that's also true for route, gdisk, modinfo and probably many others.
Regards
Aurelien
--
Aurelien Jarno GPG: 4096R/1DDD8C9B
aurel...@aurel32.net http://www.aurel32.net
--- End Message ---