Your message dated Mon, 21 Aug 2017 21:50:22 +0000 with message-id <E1djuaU-000Cb1-Ul@fasolo.debian.org> and subject line Bug#648271: fixed in debian-policy 4.1.0.0 has caused the Debian Bug report #648271, regarding 11.8.3 "Packages providing a terminal emulator" says xterm passes -e option straight to exec 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.) -- 648271: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=648271 Debian Bug Tracking System Contact owner@bugs.debian.org with problems
--- Begin Message ---
- To: submit@bugs.debian.org
- Subject: [debian-policy] 11.8.3 "Packages providing a terminal emulator" says xterm passes -e option straight to exec
- From: Filipus Klutiero <chealer@gmail.com>
- Date: Wed, 09 Nov 2011 23:42:45 -0500
- Message-id: <4EBB5645.1070508@gmail.com>
Package: debian-policy
Version: 3.9.2.0
Severity: normal
Section 11.8.3 "Packages providing a terminal emulator" contains:
To be an x-terminal-emulator, a program must:
[...]
Support the command-line option -e command, which creates a new terminal window[94] and runs the specified command, interpreting the entirety of the rest of the command line as a command to pass straight to exec, in the manner that xterm does.
However, as pointed out by Hendrik Sattler in #563352, xterm does *not* simply pass its -e option straight to exec, at least nowadays. The following command exemplifies:
$ xterm -e 'echo TEST && sleep 3'
This works as intended, so xterm does not just support simple commands, but also pipelines. The source shows: http://anonscm.debian.org/gitweb/?p=pkg-xorg/app/xterm.git;a=blob;f=main.c;h=48143b7219a645f71124d22e2980f141d6a502f5;hb=c18d61b3feac0c5c63e5f022e8b4d1c2056947d7#l4557
xterm does call exec, but sometimes to span a subshell which will interpret the command.
By the way, as Hendrik wrote, it would be best to specify how x-terminal-emulator should behave, rather than to say the behavior should be the same as xterm's.
Also, the term "command" is ambiguous.
--- End Message ---
--- Begin Message ---
- To: 648271-close@bugs.debian.org
- Subject: Bug#648271: fixed in debian-policy 4.1.0.0
- From: Sean Whitton <spwhitton@spwhitton.name>
- Date: Mon, 21 Aug 2017 21:50:22 +0000
- Message-id: <E1djuaU-000Cb1-Ul@fasolo.debian.org>
Source: debian-policy Source-Version: 4.1.0.0 We believe that the bug you reported is fixed in the latest version of debian-policy, 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 648271@bugs.debian.org, and the maintainer will reopen the bug report if appropriate. Debian distribution maintenance software pp. Sean Whitton <spwhitton@spwhitton.name> (supplier of updated debian-policy 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: Mon, 21 Aug 2017 14:17:42 -0700 Source: debian-policy Binary: debian-policy Architecture: all source Version: 4.1.0.0 Distribution: unstable Urgency: medium Maintainer: Debian Policy List <debian-policy@lists.debian.org> Changed-By: Sean Whitton <spwhitton@spwhitton.name> Closes: 587279 630174 648271 732445 844431 Description: debian-policy - Debian Policy Manual and related documents Changes: debian-policy (4.1.0.0) unstable; urgency=medium . [ Sean Whitton ] * Policy: Packages should build reproducibly Wording: Sean Whitton <spwhitton@spwhitton.name> Seconded: Holger Levsen <holger@layer-acht.org> Seconded: Ondrej Novy <novy@ondrej.org> Seconded: Russ Allbery <rra@debian.org> Seconded: Ximin Luo <infinity0@debian.org> Seconded: gregor herrmann <gregoa@debian.org> Closes: #844431 * Policy: Restrictions on the use of /lib64/ and /usr/lib64/ Wording: Bill Allombert <ballombe@debian.org> Seconded: Niels Thykier <niels@thykier.net> Seconded: Sean Whitton <spwhitton@spwhitton.name> Closes: #630174 * Policy: Clarify how `x-terminal-emulator -e` must behave Wording: Jonathan Nieder <jrnieder@gmail.com> Seconded: Russ Allbery <rra@debian.org> Seconded: Sean Whitton <spwhitton@spwhitton.name> Closes: #648271 * Fix a singular/plural error in 9.6. Thanks to Didier Raboud for pointing out the problem. * Improve release process documentation in README.md. * Policy changes process: - Deprecate usage of the 'issue' usertag It is usually very clear whether an issue is a policy matter, so bugs can be simply closed, or moved to the 'discussion' phase. In the rare case that it's not clear whether the bug is a policy matter, it can remain unclassified, or be tagged 'moreinfo' (see below). - Add policy-specific usage for the 'moreinfo' tag. * tools/policy-bug-report: - Enhance to fetch bugs that have a given usertag or combination of usertags - Improve the lists of bugs generated, for posting to Planet Debian. * Add convention to upgrading checklist for indicating that a policy requirement is covered by Lintian. . [ Russ Allbery ] * Policy: Recommend including the upstream signing key Wording: Russ Allbery <rra@debian.org> Seconded: Daniel Kahn Gillmor <dkg@fifthhorseman.net> Seconded: Jonathan Nieder <jrnieder@gmail.com> Seconded: Didier 'OdyX' Raboud <odyx@debian.org> Closes: #732445 * Policy: Clearly allow non-default alternative non-free dependencies Wording: Russ Allbery <rra@debian.org> Seconded: Simon McVittie <smcv@debian.org> Seconded: Sean Whitton <spwhitton@spwhitton.name> Closes: #587279 . [ Russ Allbery & Sean Whitton ] * Convert the source of the Debian Policy Manual to reStructuredText, built using the Sphinx toolchain. Many thanks to Hideki Yamane <henrich@debian.or.jp> for the conversion scripts, and pushing the project forward. Thanks to David Bremner <bremner@debian.org> for help proofreading the output. - Drop PostScript output. Checksums-Sha1: e9e92524c0c9ce6586ad08d387d24c2abb9730b9 1998 debian-policy_4.1.0.0.dsc 2b81d2018fce5b3c395b09270fdb4a205d37e9e1 672760 debian-policy_4.1.0.0.tar.xz 35b7f8f467838240aaeaa132c5fd7e31e6f1e88d 2730658 debian-policy_4.1.0.0_all.deb 70f0f71ab1ac930cc3d2d3cb42375fea3447eb7f 12026 debian-policy_4.1.0.0_amd64.buildinfo Checksums-Sha256: c42c56d2086bf8ad1a89d63c3eb376e4d78e989a4bd4042211cb3817b4d9eb04 1998 debian-policy_4.1.0.0.dsc 009cd048b463db0b47473f3a9034bf92f82757586c5f2cc6562cdbecb3b0f560 672760 debian-policy_4.1.0.0.tar.xz 98897470c64c5b6d49162b58e7b6157d20010fc171d2557a59b056615a70874b 2730658 debian-policy_4.1.0.0_all.deb 4ddfd744b18561983e539cd77c2a6dec22f8233e43e26110ef4abf4229bff90b 12026 debian-policy_4.1.0.0_amd64.buildinfo Files: 731a7e62695e3cb0d7f8dd459d9e4839 1998 doc optional debian-policy_4.1.0.0.dsc 00bfec04a4eb5b4f339f9707f52bc41f 672760 doc optional debian-policy_4.1.0.0.tar.xz b5cbceb940d520260627e8a3d5870c90 2730658 doc optional debian-policy_4.1.0.0_all.deb 56efdd4e810d37af066dc4988ae1204e 12026 doc optional debian-policy_4.1.0.0_amd64.buildinfo -----BEGIN PGP SIGNATURE----- iQIzBAEBCgAdFiEEm5FwB64DDjbk/CSLaVt65L8GYkAFAlmbT/kACgkQaVt65L8G YkD6ig//YNffFfyGPLMAstK9ntS8BVm7Cv1mdug6e6nzJ6yRzWCcVrB93haYwvUF pV8GJhcab/90VEHVQsC6aZlFPbBfMMuM+9ZwREjbADogBhkKalFv8xkgqYO/DOgy nl3zL2zf2sGsiOl7wVG59JsOFrEnqgKWu9KyHfk2m0gLuiDvTsgxEpSobGmLPetG oglFiONIjpdqqbbl2QKQNkLMijYAqbf3yt63NV4o2MnIh01giNzD7rYl45cipqSw zkrkTfUzN5fQdIif0+AjrAgwJ7Gk05kB4vSlc4lJpBhLoNnPCfbkT9BETtloJoe1 26OR1/KfNl7DVCltlF+mRTUf1boJFnhokocp1ukjB0avWKWiqzpgkTbcl4osd90b Nn8zylZNk/gggxo2j+sQc08cNCc/hY02XPx/o12opZAZXukTtsOhr5/2l9MGIcID pc82L/RA3KhXgpyrnWuMsagU6G+VjPSeb22M1JlYq6XuK4DmVid6PsmfUsy7i0/2 PXHBUvX5HiKF7kUCauScvEqvMWcDbWMfeIRnkjg0ddhXIjwc6WB/hJiH74dzs0Lb tkE5urwdWGqlsQBo9dD/5N3Br5JdWeWb+5WsFrTNWTAcwdh5dhOCVSRk4igtmjDc H7JkYKoLAEFHX+MzNH4t0dZ74eYy1o4t+D8QiHMLFD8TXCWJHhg= =M6vp -----END PGP SIGNATURE-----
--- End Message ---