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

Bug#1031514: marked as done (tzdata: create /etc/timezone with default SELinux context)



Your message dated Fri, 17 Feb 2023 23:20:35 +0000
with message-id <E1pTA1r-005MKk-Cz@fasolo.debian.org>
and subject line Bug#1031514: fixed in tzdata 2022g-7
has caused the Debian Bug report #1031514,
regarding tzdata: create /etc/timezone with default SELinux context
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 owner@bugs.debian.org
immediately.)


-- 
1031514: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1031514
Debian Bug Tracking System
Contact owner@bugs.debian.org with problems
--- Begin Message ---
Package: tzdata
Version: 2022g-6
Tags: patch
User: selinux-devel@lists.alioth.debian.org
Usertags: selinux

Dear Maintainer,

with version 2022g-6 the postinst script creates /etc/timezone if not existent.
Please ensure the file, especially if created, has the default SELinux
context, e.g. via:


diff --git a/debian/tzdata.postinst b/debian/tzdata.postinst
index bcb7d52..239377b 100644
--- a/debian/tzdata.postinst
+++ b/debian/tzdata.postinst
@@ -34,6 +34,7 @@ if [ "$1" = configure ]; then
               which restorecon >/dev/null 2>&1 && restorecon
"$DPKG_ROOT/etc/localtime"
       fi
       echo "$TIMEZONE" > "$DPKG_ROOT/etc/timezone"
+       which restorecon >/dev/null 2>&1 && restorecon "$DPKG_ROOT/etc/timezone"

       echo
       echo "Current default time zone: '$TIMEZONE'"

--- End Message ---
--- Begin Message ---
Source: tzdata
Source-Version: 2022g-7
Done: Benjamin Drung <bdrung@debian.org>

We believe that the bug you reported is fixed in the latest version of
tzdata, which is due to be installed in the Debian FTP archive.

A summary of the changes between this version and the previous one is
attached.

Thank you for reporting the bug, which will now be closed.  If you
have further comments please address them to 1031514@bugs.debian.org,
and the maintainer will reopen the bug report if appropriate.

Debian distribution maintenance software
pp.
Benjamin Drung <bdrung@debian.org> (supplier of updated tzdata package)

(This message was generated automatically at their request; if you
believe that there is a problem with it please contact the archive
administrators by mailing ftpmaster@ftp-master.debian.org)


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

Format: 1.8
Date: Fri, 17 Feb 2023 23:55:21 +0100
Source: tzdata
Built-For-Profiles: noudeb
Architecture: source
Version: 2022g-7
Distribution: unstable
Urgency: medium
Maintainer: GNU Libc Maintainers <debian-glibc@lists.debian.org>
Changed-By: Benjamin Drung <bdrung@debian.org>
Closes: 1031514
Changes:
 tzdata (2022g-7) unstable; urgency=medium
 .
   * Create /etc/timezone with default SELinux context (Closes: #1031514)
Checksums-Sha1:
 e2e5f912e03edef1e9a8b761d1ec2c7ea43c0998 2332 tzdata_2022g-7.dsc
 d8779aa6de6ca030ae07b0222a2da2fbda14f60b 117008 tzdata_2022g-7.debian.tar.xz
 1c807e20109d37a174149b6980680565c444e034 7316 tzdata_2022g-7_source.buildinfo
Checksums-Sha256:
 53a68c66ed33fd57a275ca6220d5d13c885d1f9e72a8eec8fed9c16e052de519 2332 tzdata_2022g-7.dsc
 059d34b510c44b7e136aeb91b53e27706dfefe45c8c69dec7d4756f674090469 117008 tzdata_2022g-7.debian.tar.xz
 329f5af33db1a54b1281d449ad1b276f44b33a91d40bb7aa5ad08a64f0707f31 7316 tzdata_2022g-7_source.buildinfo
Files:
 5e05fbfc1ba91dce1041c722ceb85e74 2332 localization required tzdata_2022g-7.dsc
 28decfc9b4563f29bb6dc79d79a7f12f 117008 localization required tzdata_2022g-7.debian.tar.xz
 7b5547fda1abc9767ce2ad7fe416e053 7316 localization required tzdata_2022g-7_source.buildinfo

-----BEGIN PGP SIGNATURE-----

iQIzBAEBCgAdFiEEpi0s+9ULm1vzYNVLFZ61xO/Id0wFAmPwBpEACgkQFZ61xO/I
d0zzzQ//a4upvJ0/b5u/dkMRuPKFqX3VapjpbnumJnVkYE0Sj8uNM6+KxdNvRFhA
avtxpMlOrIPZmepUNHX/wYDxUmpSVQDNQPPTuCI6UYWx45L9N2wPhMMEO2JNL2Rf
Ma2NuqtpiHyMwSeywyc7YCdOx04Iy3bk5uWtx2cki/NRrSredxjilvPKwQaJos/e
lyFpMWWhgnU1VG8VoeB/lcaHsjX0t4coPLQyBAo7Mf9b7/bXUwwUJmmjRpqSe++x
4nT27UFxLxt0eZHgtLmm+GopPx5H7YvbaHOU9SHdDqN1vY8oyVWPANfYi7by4tRq
83rze1RaZLzQVl/9EFM1gAXsBGkFTKxUKmMywH8gli7ao8G5hHtV6V3EFFxkfHpe
3P8nBlhedZKuHhSb8BfRTLwkSOHr+r7tHczaa7eMU3Wp0XJ1Ime8M9XExNI+S+Xn
XBOdNTO9HmA66tsD1vJwHBGZ/aozuNSlRT+s7PLlW7hDHmhOFG9mEUYeQDVX+d5E
k6LQsAJeSg31hpJtl/ip5T7rXftPcJEMizta7sT6ipNCwI3a5FGXnekiExobxuKk
sUzXskUChjDPygy91kO5/GqbEke/3dK2b+cgR+pCkwTh4RA1wllf+zBYSfk0V3l0
GxHi08g0fv8xF3MAMvSm6ZVFhRh1uf4w5YawXXNk6M9hFKxtucM=
=XCKj
-----END PGP SIGNATURE-----

--- End Message ---

Reply to: