Groups keyboard shortcuts have been updated
Dismiss
See shortcuts

Bash script - shebang changed. Why?

40 views
Skip to first unread message

Petr Prochazka

unread,
Aug 5, 2024, 3:00:38 AM8/5/24
to RCDevs Security
I would like ask why shebang was changed recently.
#!/bin/bash was there many years and now there is #!/usr/bin/bash
I noticed that on WebAdm and WaProxy for example.

Spyridon Gouliarmis (RCDevs)

unread,
Aug 5, 2024, 3:02:23 AM8/5/24
to RCDevs Security
I suspect rpm does this now, as we build our packages. Since we use Alien + some mods, you might see it in .deb packages too.

Petr Prochazka

unread,
Aug 5, 2024, 11:55:03 AM8/5/24
to RCDevs Security
Because #!/usr/bin/bash does not work on Ubuntu we have to repair this in all scripts after each update. Or could you please help how to do it simply? 

Dne pondělí 5. srpna 2024 v 9:02:23 UTC+2 uživatel Spyridon Gouliarmis (RCDevs) napsal:

Spyridon Gouliarmis (RCDevs)

unread,
Aug 5, 2024, 11:55:33 AM8/5/24
to RCDevs Security
I'll ask the devs about it.

Spyridon Gouliarmis (RCDevs)

unread,
Aug 8, 2024, 4:11:33 AM8/8/24
to RCDevs Security
The .deb's for the current release candidate (2.3.20) should have the old, valid shebang when they will be released.

Petr Prochazka

unread,
Aug 8, 2024, 10:36:20 AM8/8/24
to RCDevs Security
Thank you very much!

Dne čtvrtek 8. srpna 2024 v 10:11:33 UTC+2 uživatel Spyridon Gouliarmis (RCDevs) napsal:

Petr Prochazka

unread,
Aug 13, 2024, 4:03:33 AM8/13/24
to RCDevs Security
I did update to webadm 2.3.20-3 and the problem is not fixed. :-(
Maybe next release will be better.

Dne čtvrtek 8. srpna 2024 v 16:36:20 UTC+2 uživatel Petr Prochazka napsal:

Administrators

unread,
Aug 13, 2024, 4:03:37 AM8/13/24
to RCDevs Security
Sorry.
Packages were just re-uploaded with the fix...

Reply all
Reply to author
Forward
0 new messages