LWN: Comments on "Bash 5.0 released" https://lwn.net/Articles/776223/ This is a special feed containing comments posted to the individual LWN article titled "Bash 5.0 released". en-us Thu, 16 Oct 2025 09:10:36 +0000 Thu, 16 Oct 2025 09:10:36 +0000 https://www.rssboard.org/rss-specification lwn@lwn.net Bash 5.0 released https://lwn.net/Articles/777220/ https://lwn.net/Articles/777220/ dualbus <div class="FormattedComment"> <font class="QuotedText">&gt; The difference is that most of these acknowledge that their code is used in security critical areas anyway, and have started to adapt their practices accordingly. Apparently, Chet has not. (...)</font><br> <p> What does git have to do with security? I read the weekly change sets when they're pushed, and I have no trouble understanding what's being changed or why. Sure, it might not be the commit /style/ you prefer, but has little to do with the quality of the software, or its security characteristics.<br> <p> Also, perhaps ask Chet to provide more detailed / specific commits instead of just assuming he doesn't want to?<br> </div> Mon, 21 Jan 2019 06:40:24 +0000 Bash 5.0 released https://lwn.net/Articles/777219/ https://lwn.net/Articles/777219/ dualbus <div class="FormattedComment"> The initial git migration was discussed here: <a href="http://lists.nongnu.org/archive/html/bug-bash/2011-11/msg00157.html">http://lists.nongnu.org/archive/html/bug-bash/2011-11/msg...</a><br> <p> And the only time I'm aware of it being brought up as a specific discussion topic is here: <a href="https://lists.gnu.org/archive/html/bug-bash/2015-03/msg00109.html">https://lists.gnu.org/archive/html/bug-bash/2015-03/msg00...</a> (spoiler alert: I gave up really quickly on maintaining that mirror)<br> </div> Mon, 21 Jan 2019 06:32:35 +0000 Bash 5.0 released https://lwn.net/Articles/777218/ https://lwn.net/Articles/777218/ pabs <div class="FormattedComment"> Has anyone talked to Chet about changing to a more fine grained revision history before?<br> </div> Mon, 21 Jan 2019 02:29:14 +0000 Bash 5.0 released https://lwn.net/Articles/777208/ https://lwn.net/Articles/777208/ pizza <div class="FormattedComment"> <font class="QuotedText">&gt; but if it /were/ possible to convince Chet to change the way bash is maintained, life would still be better.</font><br> <p> No argument from me there!<br> <p> ...but whether or not it is possible to convince him to change his ways, denigrating him and his work is not the way to accomplish it.<br> </div> Sun, 20 Jan 2019 22:30:39 +0000 Bash 5.0 released https://lwn.net/Articles/777205/ https://lwn.net/Articles/777205/ smurf <div class="FormattedComment"> No, I'm saying that c.e. applies to everything. Bash dash openssh kernel libreoffice windows msoffice – doesn't matter, they all say that, they only differ in how many words they use.<br> <p> The difference is that most of these acknowledge that their code is used in security critical areas anyway, and have started to adapt their practices accordingly. Apparently, Chet has not. As I wrote, his choice, just as mine is to hack on any script I come across until it no longer says #!/bin/bash on top.<br> </div> Sun, 20 Jan 2019 20:48:01 +0000 Bash 5.0 released https://lwn.net/Articles/777203/ https://lwn.net/Articles/777203/ mjg59 <div class="FormattedComment"> Two things that can simultaneously be true:<br> <p> 1) Chet's work is a great gift to the free software community and we have benefited hugely from it over decades<br> <p> 2) Over that time we've learned that there are ways to maintain software that make it easier for others to consume that work, contribute code back and identify and fix issues. Now that we're aware that there are better ways to do it, we're also aware of the additional costs imposed on consumers by not having a fine grained revision history. Overall people still seem to feel that the benefits provided by bash outweigh the drawbacks, but if it /were/ possible to convince Chet to change the way bash is maintained, life would still be better.<br> </div> Sun, 20 Jan 2019 20:41:15 +0000 Bash 5.0 released https://lwn.net/Articles/777182/ https://lwn.net/Articles/777182/ pizza <div class="FormattedComment"> So you're saying that, somehow, "caveat emptor" doesn't apply here?<br> <p> If Bash's development practices are somehow unacceptable to you, there are three ways to proceed. Convince its author to do what you want, fork it and do a better job, or switch to something "better". Either way it's going to cost you time, effort, and a non-trivial amount of hard currency.<br> <p> (And yes, some distributions have switched away from bash for system scripts, primarily for reasons that have since been rendered irrelevant by systemd...)<br> </div> Sun, 20 Jan 2019 13:43:56 +0000 Bash 5.0 released https://lwn.net/Articles/777181/ https://lwn.net/Articles/777181/ pizza <div class="FormattedComment"> <font class="QuotedText">&gt; Yes. If you're building public infrastructure then you MUST plan for the future. Is it that difficult to understand?</font><br> <p> If *I* am building infrastructure, then *I* will make plans to handle "unspecified stuff going wrong"<br> <p> What I don't do is expect other folks to do any (additional) unpaid work on behalf of my infrastructure, and I certainly don't denigrate the folks whose work I am already taking advantage of -- because, speaking personally about the Free Software I have released, I'm far more inclined to promptly help out folks that are respectful of the work I have already done, acknowledge that I owe them nothing, and who have not been publicly badmouthing me.<br> <p> Is *that* so difficult to understand? <br> </div> Sun, 20 Jan 2019 13:30:49 +0000 Bash 5.0 released https://lwn.net/Articles/777179/ https://lwn.net/Articles/777179/ flussence <div class="FormattedComment"> You might be in for a rude awakening if you continue to feel entitled to infinite return on investment from all the software you use.<br> </div> Sun, 20 Jan 2019 13:27:22 +0000 Bash 5.0 released https://lwn.net/Articles/777177/ https://lwn.net/Articles/777177/ smurf <div class="FormattedComment"> Yeah. We all know the boilerplate in those licenses. All programs have them. So does the kernel. So what?<br> <p> The code is, effectively, less auditable and thus less secure when all you see is a sequence of tarballs. Chet appears not to care about any of that. His choice – but it confirms the decision to switch away from Bash which some (most?) distributions took, years ago, for performance/memory usage reasons.<br> </div> Sun, 20 Jan 2019 11:13:48 +0000 Bash 5.0 released https://lwn.net/Articles/777174/ https://lwn.net/Articles/777174/ Cyberax <div class="FormattedComment"> <font class="QuotedText">&gt; So you are saying that someone else might have to do some work at some unspecified time in the future? Stop the internets!</font><br> Yes. If you're building public infrastructure then you MUST plan for the future. Is it that difficult to understand?<br> <p> </div> Sun, 20 Jan 2019 04:13:47 +0000 Bash 5.0 released https://lwn.net/Articles/777173/ https://lwn.net/Articles/777173/ pizza <div class="FormattedComment"> So you are saying that someone else might have to do some work at some unspecified time in the future? Stop the internets!<br> <p> Meanwhile, this little statement is worth repeating:<br> <p> "Bash is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of<br> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details."<br> </div> Sun, 20 Jan 2019 04:10:38 +0000 Bash 5.0 released https://lwn.net/Articles/777172/ https://lwn.net/Articles/777172/ Cyberax <div class="FormattedComment"> No it's not. Because eventually somebody else will have to dig through the history in order to find out the source of the next vulnerability.<br> <p> It also increases the chances of the next MD_Update disaster.<br> </div> Sun, 20 Jan 2019 03:30:34 +0000 Bash 5.0 released https://lwn.net/Articles/777171/ https://lwn.net/Articles/777171/ dualbus <div class="FormattedComment"> It is mind boggling how dismissive you're being of other people's work and effort, just because they don't make commits in a specific way.<br> </div> Sun, 20 Jan 2019 02:54:23 +0000 Appropriate use of version control https://lwn.net/Articles/777104/ https://lwn.net/Articles/777104/ rleigh <div class="FormattedComment"> Version control serves several purposes. Most of them rely upon having a clean history. Firstly, having clear and appropriate commit messages helps to find changes in the history when you need to find when a particular change was made. Secondly, having discrete changes in each commit makes it easier to revert selected changes, as well as to review changes in isolation.<br> <p> The existing approach may work for the maintainer, and that's fair enough. It's his project. But, it does greatly reduce the utility of the project history both for himself and for anyone else who wants to work upon it. There are existing good practices for using version control, and this approach violates many of them.<br> </div> Fri, 18 Jan 2019 15:21:37 +0000 Bash 5.0 released https://lwn.net/Articles/776737/ https://lwn.net/Articles/776737/ pizza <div class="FormattedComment"> Make no mistake, the only reason most folks use F/OSS is because "someone else" pays for its development.<br> <p> Yank bash, and a sizeable portion of the internet will break. It is "hobbyware" only in the sense that nobody other than its authors care about it sufficiently enough to meaningfully contribute to its upkeep.<br> <p> Meanwhile, even "deprecating" bash requires a nontrivial amount ongoing effort that you're expecting "someone else" to do -- ie pay for.<br> </div> Tue, 15 Jan 2019 12:00:50 +0000 Bash 5.0 released https://lwn.net/Articles/776736/ https://lwn.net/Articles/776736/ cagrazia <div class="FormattedComment"> I think there's no need to argue for one position or the other. It is crystal clear that bash should be deprecated as soon as possible by all distribution, as it is more a hobbyware than a real critical-mission software.<br> </div> Tue, 15 Jan 2019 11:28:12 +0000 Bash 5.0 released https://lwn.net/Articles/776640/ https://lwn.net/Articles/776640/ Wol <div class="FormattedComment"> <font class="QuotedText">&gt; Having a bunch of unrelated disparate changes in a single commit with nondescript log messages removes much of the value of having version control.</font><br> <p> What value is that? Not what value do YOU place on it, but what value does CHET place on it.<br> <p> You can't base your argument on your values. I regularly get peed of by BT adverts saying "we're sure you'll love our heavily discounted (yeah ...) SIMS at £10 each". That's if you buy 5 of them! I pay £9 for two sims, with more data, calls and texts than my wife and I ever use. £10/SIM may be great value from BT's point of view, but from mine it's a waste of money ...<br> <p> Cheers,<br> Wol<br> </div> Mon, 14 Jan 2019 12:14:59 +0000 Bash 5.0 released https://lwn.net/Articles/776639/ https://lwn.net/Articles/776639/ Wol <div class="FormattedComment"> <font class="QuotedText">&gt; Basically, why should Chet be expected to change because other people like his work? Why can't his work be allowed to fade into historical obscurity? </font><br> <p> Or, if people really do want to depend on his work, why can't they start paying him to do it!!!<br> <p> I'm probably as much the cheapskate as anyone else, but I do try and give back in kind. If you're not prepared to "put your money where your mouth is" you have no right to moan, and if you are prepared then you probably have a far better view of the situation.<br> <p> The reality is MUCH important software is in this sort of mess, because nobody is prepared to put their hand in their pocket. One piece of software I use has a sole dedicated developer, who is struggling to make ends meet and is also fighting illness. How's that fair? He's doing his best to support Free Software and not doing very well out of it ...<br> <p> Cheers,<br> Wol<br> </div> Mon, 14 Jan 2019 12:09:18 +0000 Bash 5.0 released https://lwn.net/Articles/776590/ https://lwn.net/Articles/776590/ farnz <p>Why should Chet change a workflow that works for him just because other people have started to depend on his work without doing sufficient due diligence to ensure that what he's doing fits theit needs? Instead, why don't people who don't want to depend on Chet's workflow switch to one of <a href="http://gondor.apana.org.au/~herbert/dash/">dash</a>, <a href="https://sourceforge.net/p/zsh/code/ci/master/tree/">zsh</a> or <a href="http://www.kornshell.org/">ksh</a> (to name three Bourne shells that aren't bash). Alternatively, why don't people who care fork bash and work on it in ways that they think are better? <p>Basically, why should Chet be expected to change because other people like his work? Why can't his work be allowed to fade into historical obscurity? Sat, 12 Jan 2019 18:43:44 +0000 Bash 5.0 released https://lwn.net/Articles/776585/ https://lwn.net/Articles/776585/ pizza <div class="FormattedComment"> Yes, today's world is not the same as the world 20 years ago. So why is today's world holding a solo coder to much higher (and time-consuming) standards while expecting said solo coder's compensation to be the same (ie nothing) as it was 20 years ago? <br> <p> <p> <p> </div> Sat, 12 Jan 2019 15:29:46 +0000 Bash 5.0 released https://lwn.net/Articles/776584/ https://lwn.net/Articles/776584/ smurf <div class="FormattedComment"> I'm not blaming him. I'm saying that the practices of 20 years ago (a solo coder who periodically surfaces to release a tarball with the next version) do not make sense in today's world.<br> <p> Chet may or may not want that responsibilty – but the fact is, he does have it. If he doesn't want it, then inviting collaborators and setting up a decent auditable workflow would seem to be a good idea. If he does, well, setting up a decent auditable workflow still is a good idea. We all make mistakes, and bash isn't exactly a simple program.<br> </div> Sat, 12 Jan 2019 14:43:30 +0000 Bash 5.0 released https://lwn.net/Articles/776570/ https://lwn.net/Articles/776570/ rra <div class="FormattedComment"> <font class="QuotedText">&gt; Also, bash is security+mission critical software</font><br> <p> Hmmm. I wonder if Chet is getting a paycheck proportionate to maintaining security and mission-critical software for the entire Internet. Or ever indicated any desire to be in that role or ever agreed to shoulder the responsibility for that. Or, in the absence of such a paycheck and agreement, why anyone should expect any particular workflow from him.<br> <p> We certainly have a much larger problem here, namely that people have built critical infrastructure on top of free software without ever figuring out how to make this process rewarding, comfortable, and supportive for the people maintaining that free software. But then turning around and blaming them for not maintaining that software to the standards desired this critical infrastructure they were never involved in, never approved, aren't being paid for, and that never considered their feelings at all doesn't sit well with me.<br> </div> Sat, 12 Jan 2019 04:53:27 +0000 Bash 5.0 released https://lwn.net/Articles/776522/ https://lwn.net/Articles/776522/ rleigh <div class="FormattedComment"> Commits containing only a single focussed change with descriptive log messages is not exactly new. Plenty of projects have been doing this for decades, right back to CVS/RCS. There's nothing git-specific about this practice. Having a bunch of unrelated disparate changes in a single commit with nondescript log messages removes much of the value of having version control.<br> </div> Fri, 11 Jan 2019 14:44:41 +0000 Bash 5.0 released https://lwn.net/Articles/776426/ https://lwn.net/Articles/776426/ smurf <div class="FormattedComment"> This is not "best effort". Not by a very long shot. It's trivially easy to maintain a reasonable commit history.<br> <p> Also, bash is security+mission critical software, if only by virtue of being the default login shell. While you don't exactly *need* a sensible change history for auditing the code, it'd make the job an order of magnitude easier.<br> </div> Thu, 10 Jan 2019 17:56:05 +0000 Bash 5.0 released https://lwn.net/Articles/776424/ https://lwn.net/Articles/776424/ smurf <div class="FormattedComment"> Huh? It says "Sources and documentation". Of course it's code. And translations. And libreadline. And every other friggin' thing that is mentioned in that announcement, plus very likely a bunch that are not.<br> <p> Yeah, Chet seems to be the sole developer. And with good reason. With that kind of commit history I wouldn't even dream of helping with bash development. I also wouldn't help with security-or-whatever audits – this would be plenty reason to switch to a different shell, except for the fact that Debian's default shell is dash. :-P<br> <p> No, being a single developer is not an excuse for shoddy commit management. How do you find regressions in that kind of mess??<br> </div> Thu, 10 Jan 2019 17:52:07 +0000 Bash 5.0 released https://lwn.net/Articles/776384/ https://lwn.net/Articles/776384/ Wol <div class="FormattedComment"> <font class="QuotedText">&gt; Not maintaining usable history for a project like bash is bordering on insanity and criminal negligence these days.</font><br> <p> This is why so many critical infrastructure programs are poorly maintained! How many developers does bash have!?<br> <p> If it's just Chet, he has every right to do it however it suits him. If you want to call best efforts "criminal negligence" that says more about you than him! There's plenty of "best practice" that I completely ignore because I don't have a 48hr day to do it in ...<br> <p> Cheers,<br> Wol<br> </div> Thu, 10 Jan 2019 14:29:57 +0000 Bash 5.0 released https://lwn.net/Articles/776359/ https://lwn.net/Articles/776359/ Cyberax <div class="FormattedComment"> <font class="QuotedText">&gt; If I'd been productive in a tarball+email workflow for 30 years and some slashdot/hn armchair developers showed up calling me out for not using their pet VCS, I'd be inclined to flash them a bit of malicious compliance too.</font><br> Pure BS.<br> <p> Patch + email workflow is compatible with multiple VCSes, starting from the venerable CVS. It can certainly be done with SVN, Mercurial and pretty much anything else more advanced than Microsoft SourceSafe.<br> <p> Not maintaining usable history for a project like bash is bordering on insanity and criminal negligence these days.<br> </div> Thu, 10 Jan 2019 02:40:10 +0000 Bash 5.0 released https://lwn.net/Articles/776349/ https://lwn.net/Articles/776349/ flussence <div class="FormattedComment"> This git repo likely only exists to shut up demands from non-participating trophy collectors who expect every line of code on the internet to be compatible with github's “import” button.<br> <p> If I'd been productive in a tarball+email workflow for 30 years and some slashdot/hn armchair developers showed up calling me out for not using their pet VCS, I'd be inclined to flash them a bit of malicious compliance too.<br> </div> Wed, 09 Jan 2019 23:15:36 +0000 Bash 5.0 released https://lwn.net/Articles/776351/ https://lwn.net/Articles/776351/ Cyberax <div class="FormattedComment"> Be thankful they've upgraded from sbrk.<br> </div> Wed, 09 Jan 2019 22:37:38 +0000 Bash 5.0 released https://lwn.net/Articles/776323/ https://lwn.net/Articles/776323/ sb <div class="FormattedComment"> Just to point out that they do document their changes (see <a href="http://git.savannah.gnu.org/cgit/bash.git/tree/CWRU/changelog">http://git.savannah.gnu.org/cgit/bash.git/tree/CWRU/chang...</a>). They just don't seem to want to do it in the commit messages.<br> <p> </div> Wed, 09 Jan 2019 17:35:08 +0000 Bash 5.0 released https://lwn.net/Articles/776322/ https://lwn.net/Articles/776322/ k8to <div class="FormattedComment"> Primarily I'm surprised by bash using its own malloc.<br> </div> Wed, 09 Jan 2019 17:26:51 +0000 Bash 5.0 released https://lwn.net/Articles/776312/ https://lwn.net/Articles/776312/ Wol <div class="FormattedComment"> On the other hand, all the changes were to tiny filesets apart from the last one. Plus the last one said DOCUMENTATION, implying it was NOT code.<br> <p> My reading of this is maybe it's just simpler to look at the patch and it's documented there - although I will admit that that's a pain when you're trying to find which patch did something.<br> <p> For a sole developer - seeing as all the commits were Chet - this doesn't seem to me at all unreasonable. Unless of course Cyberax knows more than me, he certainly seems to think there's more than one person maintaining bash ("these guys" - plural) - actually I'd be surprised ...<br> <p> Cheers,<br> Wol<br> </div> Wed, 09 Jan 2019 16:46:44 +0000 Bash 5.0 released https://lwn.net/Articles/776275/ https://lwn.net/Articles/776275/ Cyberax <div class="FormattedComment"> Their git repo is basically just a list of tarball dumps. It's useless.<br> <p> Compare this to zsh: <a href="https://sourceforge.net/p/zsh/code/commit_browser">https://sourceforge.net/p/zsh/code/commit_browser</a><br> </div> Wed, 09 Jan 2019 09:53:41 +0000 Bash 5.0 released https://lwn.net/Articles/776274/ https://lwn.net/Articles/776274/ XTerminator Thanks for the explanation. :) Wed, 09 Jan 2019 09:52:30 +0000 Bash 5.0 released https://lwn.net/Articles/776273/ https://lwn.net/Articles/776273/ lobachevsky <div class="FormattedComment"> Well, there are tiny commits with unhelpful commit messages that are the patch releases and gigantic squashed source dumps for the major releases; no history beyond that.<br> </div> Wed, 09 Jan 2019 09:51:42 +0000 Bash 5.0 released https://lwn.net/Articles/776272/ https://lwn.net/Articles/776272/ zdzichu <div class="FormattedComment"> I gather it's rather obvious from looking at Cyberax' link. Commit messages in Bash repository are completely useless. They do not explain why the change is done (and what the change is about, which is often not clear), short messages do not convey any meaning and 5.0 commit was a big code drop of bundled unrelated changes.<br> <p> As for being constructive: there are number of “good commit messages” guides (random searches: <a href="https://medium.com/compass-true-north/writing-good-commit-messages-fc33af9d6321">https://medium.com/compass-true-north/writing-good-commit...</a> <a href="https://code.likeagirl.io/useful-tips-for-writing-better-git-commit-messages-808770609503">https://code.likeagirl.io/useful-tips-for-writing-better-...</a>). Adopting *any* of the guidelines would increase quality of Bash repo.<br> </div> Wed, 09 Jan 2019 09:49:28 +0000 Bash 5.0 released https://lwn.net/Articles/776271/ https://lwn.net/Articles/776271/ XTerminator What exactly are you talking about? Not possible to be constructive in your criticism? Wed, 09 Jan 2019 09:11:14 +0000 Bash 5.0 released https://lwn.net/Articles/776268/ https://lwn.net/Articles/776268/ sytoka <div class="FormattedComment"> fork and extend ;-)<br> </div> Wed, 09 Jan 2019 07:59:14 +0000 Bash 5.0 released https://lwn.net/Articles/776264/ https://lwn.net/Articles/776264/ Cyberax <div class="FormattedComment"> Ugh.<br> <p> These guys SERIOUSLY need to change something in their development model. Just look at their git: <a href="http://git.savannah.gnu.org/cgit/bash.git/log/">http://git.savannah.gnu.org/cgit/bash.git/log/</a><br> </div> Wed, 09 Jan 2019 05:13:04 +0000