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.

Attachment: signature.asc
Description: PGP signature

Reply via email to