Re: [PATCH 0/3] Consistent shell resolution across util-linux
Alessandro Ratti <[email protected]> Wed, 26 Nov 2025 13:40:14 +0100
| Newsgroups | org.kernel.vger.util-linux |
|---|---|
| Message-ID | <CAKiXHKegnt0cca+NpdA=3CiRxbiXyYZGmRVoF4Jz+wxw92cvxA@mail.gmail.com> |
On Wed, 26 Nov 2025 at 12:51, Karel Zak <[email protected]> wrote: > > > Hi Alessandro, > > thanks! > > On Sun, Nov 23, 2025 at 04:32:43PM +0100, Alessandro Ratti wrote: > > This patch series addresses inconsistent default shell handling across > > util-linux tools, which caused user-reported data loss when script(1) > > defaulted to /bin/sh without respecting the user's configured shell. > > > > The series: > > 1. Introduces ul_default_shell() for consistent shell resolution > > 2. Updates interactive tools to use the new function > > 3. Standardizes _PATH_BSHELL usage in security-sensitive tools > > > > This implements the solution discussed in: > > https://github.com/util-linux/util-linux/issues/3865 > > How about creating a pull request on GitHub? It will help us with the > review, etc. Thanks. I opened a PR on GitHub [1] as you suggested. I’d be grateful for any feedback or pointers on the review. Thank you for your time and consideration. Best regards Alessandro [1]: https://github.com/util-linux/util-linux/pull/3876