Re: [PATCH 0/3] Consistent shell resolution across util-linux

Karel Zak <[email protected]> Wed, 26 Nov 2025 12:51:02 +0100
Newsgroups org.kernel.vger.util-linux
Message-ID <wrmeywniicltshcczypjo7or6hnds7wkkgaaiizbsvvzkwaab6@minsmj74e6wm>
 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.

(I can do it if, for some reason, you don't want to use GitHub, but
it's always better if the author does it themselves.)

    Karel

-- 
 Karel Zak  <[email protected]>
 http://karelzak.blogspot.com