From nobody Thu Jul 27 12:47:37 2023 X-Original-To: sysinstall@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4RBVsk3KQCz4phZw for ; Thu, 27 Jul 2023 12:47:38 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4RBVsj6yBpz3sNZ for ; Thu, 27 Jul 2023 12:47:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1690462058; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding: in-reply-to:in-reply-to:references:references; bh=vltQtAVcQgkNpIEz7Pespd730HybcI1ITU0ThG3+yw0=; b=gKC5HPBQgMFNNOFDT5OddRIoNBt6ISBYi+CNBx8eP1SNSDMJLDEUxAnu1e5amlL20wvpQK +kIzD0hgaNTvNseGdAvGt07AyLr0aciF/sBBXzomf7yl+xXEqR+Oy1pR/bVS5vI5pexqcm 4ybT67u3kBydZKs9ocvx2VMmzmcmgH1bHTjRE6renSGo1+DQQh8bsT69zQ6t0ZDn7lxCwX mdOJ4aCL3P/bn4rOqQlj8/vbf1u2gSOhEyUsL5yWDBzX6fk5H2dsNbaKLdPDmjIBf6jrqb upouKNgDA3eGHL4gmW7meqb4MxbCx2J2AEBT1fozZYTqPWCgqbnJHfnXgyo3qw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1690462058; a=rsa-sha256; cv=none; b=g4u7032M3ggF8nO3m6nzxewZV7MDc4+PHbssHHgY3rkTf8UZe7s0EyB2G/qq+IOHuHywHE l+h7XUCj0n8mh8NlX0muXls0FvNm5wjeeiNf2NGOH/Pq1MfQRTL9yYmCUuODIQNNNEsvwb uwMqLo+kxLb9+e2xkx4piTljJWeNfplOkR5AFVJuTwKWUFy/WekTDFZoVluk79vjKVpPHZ p+ww03uLgPkNXPY/j/1lPso36w5RjKjIuvsgS6dg8WPzQphUBRO9P+eaUCV4FHbCZG6PFU 3Iv5LAI29fPwya06EeB722UaMQHkihp/YIf80HJFOqpkBTFeCOn7MQFGW66XYQ== Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2610:1c1:1:606c::50:1d]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4RBVsj5k3Hz1PRN for ; Thu, 27 Jul 2023 12:47:37 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org ([127.0.1.5]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id 36RClboi048432 for ; Thu, 27 Jul 2023 12:47:37 GMT (envelope-from bugzilla-noreply@freebsd.org) Received: (from www@localhost) by kenobi.freebsd.org (8.15.2/8.15.2/Submit) id 36RClbnM048431 for sysinstall@FreeBSD.org; Thu, 27 Jul 2023 12:47:37 GMT (envelope-from bugzilla-noreply@freebsd.org) X-Authentication-Warning: kenobi.freebsd.org: www set sender to bugzilla-noreply@freebsd.org using -f From: bugzilla-noreply@freebsd.org To: sysinstall@FreeBSD.org Subject: [Bug 236874] [installer] The country Cyprus in timezone settings is in wrong continent. Date: Thu, 27 Jul 2023 12:47:37 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: bin X-Bugzilla-Version: CURRENT X-Bugzilla-Keywords: X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: pierre@freebsdfoundation.org X-Bugzilla-Status: New X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: sysinstall@FreeBSD.org X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: cc Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated List-Id: Sysinstall Work List-Archive: https://lists.freebsd.org/archives/freebsd-sysinstall List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-sysinstall@freebsd.org X-BeenThere: freebsd-sysinstall@freebsd.org MIME-Version: 1.0 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D236874 Pierre Pronchery changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pierre@freebsdfoundation.or | |g --- Comment #2 from Pierre Pronchery --- I have just investigated this a bit now, and found that FreeBSD is not dire= ctly responsible for this behaviour. There is a catch and possible solution howe= ver. First, what the installer really does is call tzsetup(8) from the installat= ion step `time` (as in the script in `src/bsdinstall/scripts/time`). This in tu= rn calls tzsetup from within the newly installed system, with chroot(8): ```sh 33 # Select timezone 34 chroot $BSDINSTALL_CHROOT tzsetup ``` So this bug should really be filed to tzsetup(8), where the `src/usr.sbin/tzsetup/baseline` file effectively lists Cyprus in Asia. Howe= ver, the `baseline` file is generated from the database in `src/contrib/zone1970.tab`, which comes from outside the project. As it turns out, this "tz database" (https://en.wikipedia.org/wiki/Tz_datab= ase) is a public project, and a de facto standard across most major Operating Systems. This is where Cyprus is listed as a part of Asia: ``` CY +3510+03322 Asia/Nicosia most of Cyprus CY +3507+03357 Asia/Famagusta Northern Cyprus ``` "Determining the boundaries between the continents is generally a matter of geographical convention" and this is also where the corresponding Wikipedia article situates Cyprus as well (https://en.wikipedia.org/wiki/Boundaries_between_the_continents). With this in mind, I can see two different ways to go about this issue. 1. As far as I can tell, you are free to ask for the decision to place Cypr= us in Asia in the tz database to be reconsidered; after all, Istanbul was plac= ed in Europe (as "Europe/Istanbul") according to this list. This means residen= ts of the Anatolian region of T=C3=BCrkiye have to choose their timezone under "Europe", extending the scope of this issue to them as well. 2. Another way to look at this situation was already envisioned by the maintainers of the tz database: listing some locations in more than one continent (or "area" really). From the `zone1970.tab` file, one can read the following comments: ``` # The next section contains experimental tab-separated comments for # use by user agents like tzselect that identify continents and oceans. [...] # If more than one country code is affected each is listed separated # by commas, e.g., #@IS,SHAtlantic/". If a country code is in # more than one continent or ocean, each is listed separated by # commas, e.g., the second column of "#@CY,TRAsia/,Europe/". ``` And then: ``` #@CY,TR Asia/,Europe/ ``` As you can see, this means both Cyprus and T=C3=BCrkiye should effectively = be listed in both the Asia and Europe areas. Therefore tzsetup(8) should be taught ab= out these special comments, and reflect them in the selection process. The corresponding timezone will remain known as "Asia/Nicosia" or "Asia/Famagus= ta" though. (That is, unless it is officially changed as per 1.) --=20 You are receiving this mail because: You are the assignee for the bug.=