Home | Docs | Forums | Lists | Bugs | Planet | Store | GMN | Get Gentoo!
View Bug Activity | Format For Printing | XML | Clone This Bug
postfix-2.5.3-r1 does not start up properly when /bin/sh is a symlink to dash. The reasons are two bashisms in the init-file files/postfix.rc6.2.5 which are trivial to avoid. I attach a patch.
Created an attachment (id=162982) [edit] Patch to avoid bashisms in the postfix initfile
I'm sorry, but we only fully support app-shells/bash. Your patch breaks bash, so if I were you, I would change my shell to bash for when starting services, or I would patch my init scripts on my own.
Ah, I reconsider, as I'm seeing the "non-POSIX" thing. I will let the proper team to decide.
One of the purposes of the baselayout-2/openrc change is this posix compatibility with several advantages (faster booting by using the smaller dash, simpler transfer to BSD). Changing the /bin/sh symlink essentially only influences booting (and scripts which are compatible enough, like ./configure, which explicitly use #!/bin/sh instead of #!/bin/bash). Just a few init-scripts still need to be fixed (most have bugreports already).
Martin is right, the init script file is expected to conform the standards. I commited the change in the CVS, but no revision bump will be made for this minor issue.