Control: severity -1 normal
On Tue, Apr 15, 2025 at 07:33:09PM +0200, наб wrote:
Package: ruby-railties
Version: 2:6.1.7.10+dfsg-1~deb12u1
Severity: serious
Justification: Policy 11.4
File: /usr/bin/rails
Dear Maintainer,
I just got
$ rails credentials:edit
No $EDITOR to open file in. Assign one like this:
EDITOR="mate --wait" bin/rails credentials:edit
For editors that fork and exit immediately, it's important to pass a wait flag,
otherwise the credentials will be saved immediately with no chance to edit.
Quoth Policy 11.4:
Thus, every program that launches an editor or pager must use the
EDITOR or PAGER environment variable to determine the editor or
pager the user wishes to use. If these variables are not set, the
programs /usr/bin/editor and /usr/bin/pager should be used,
respectively. These commands may be invoked explicitly (e.g., as /usr/bin/editor) or via a PATH search (e.g., as editor).
Thanks for your bug report. This is an interesting issue.
However, not following a "should" directive in policy is not really a
serious bug.
-----BEGIN PGP SIGNATURE-----
iQIzBAABCAAdFiEEst7mYDbECCn80PEM/A2xu81GC94FAmf+o0wACgkQ/A2xu81G C96WrA//R48Qu2tj6DFdIklFSw/eOS/FrU3rntUB6UF7SiX+VtBFhLRT3tnkS0sk oosqA+lqf6uSmUrIN+BM1GSmHyom668r6IFeVlL2N4OLTBveYpZE1orLud1jEDCv CL7kVLwrf0G0Ryv1hn9r49mL7aub9tQA6otXEIilVX6nmzDmLAwDUl90tHJlfYCw UCvuaTS1FCuZCeAqanUJmhYQ01sKhaKQFdwAi578pvwGQg7AoeXmNjy5eCpOyv7M yHv+vDw5txT0pEv60BNW8RRNqLcZdQt8leWm8j6hvsLVRE680cN0Bl2zOTxUyKTV 2qfwTm6V1MToJrEdlMBp/Yh75DhQeL+yYDLWm2xgPIUmPj4M2ZBEeycGgOT/V1UT 2gPUBd4J+L5rq/0ORRWw15NxNGEG8gV1o7Fy9gKWRivksvD7+juLdXZuyUqSD/Wc DTD25qDr1jo9AvK+fCVpKTZifSltVmk8J5N4nqxbw0wrcOwArjTlKQHtNY/YHQoD /e2BNeOJXw4gZ98UqRF6bAa3x+XToauJpeXwdAN/kFivYbPzVa4hBbRYeUKl7HvK ck4ysC6OxPNLvisNOyIruW2kmMqgZ2W6dL8UkeFbTvJn0S147E+y2WLXO6W19FVn 5BTBJsmt/F9gkuaB/azXNM/IHEae+fKjJa4iQ8VQYRhoRygEzLM=
=ydpw
-----END PGP SIGNATURE-----
--- SoupGate-Win32 v1.05
* Origin: fsxNet Usenet Gateway (21:1/5)