Package: bash
Version: 5.2.21-2
Severity: normal
X-Debbugs-Cc: a...@kernel.org

Dear Maintainer,

   * What led up to the situation?

        Have a makefile that runs a shell with some strict flags:

                $ ssh www cat tmp/Makefile
                SHELL := /usr/bin/env
                .SHELLFLAGS := -S bash -Eeuo pipefail -c

                all:
                        echo foo

        And run it via SSH:

                $ ssh www make -C tmp
                make: Entering directory '/home/alx/tmp'
                echo foo
                foo
                /etc/bash.bashrc: line 7: PS1: unbound variable
                make: Leaving directory '/home/alx/tmp'


   * What exactly did you do (or not do) that was effective (or
     ineffective)?
   * What was the outcome of this action?

        Spuriour error messages about an unbound PS1.

   * What outcome did you expect instead?

        No diagnostic messages related to </etc/bash.bashrc>.

Have a lovely day!
Alex

-- System Information:
Debian Release: trixie/sid
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)

Kernel: Linux 6.8.0-rc5-alx+ (SMP w/24 CPU threads; PREEMPT)
Locale: LANG=C.utf8, LC_CTYPE=C.utf8 (charmap=UTF-8), LANGUAGE not set
Shell: /bin/sh linked to /usr/bin/dash
Init: systemd (via /run/systemd/system)
LSM: AppArmor: enabled

Versions of packages bash depends on:
ii  base-files   13
ii  debianutils  5.16
ii  libc6        2.37-15
ii  libtinfo6    6.4+20240113-1

Versions of packages bash recommends:
ii  bash-completion  1:2.11-8

Versions of packages bash suggests:
pn  bash-doc  <none>

-- no debconf information

Reply via email to