First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 234838
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Net-Mail Packages <net-mail@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Martin Väth <vaeth@mathematik.uni-wuerzburg.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
initfile.patch Patch to avoid bashisms in the postfix initfile patch Martin Väth 2008-08-15 16:51 0000 465 bytes Details | Diff
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 234838 depends on: Show dependency tree
Show dependency graph
Bug 234838 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)







View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2008-08-15 16:49 0000
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.

------- Comment #1 From Martin Väth 2008-08-15 16:51:29 0000 -------
Created an attachment (id=162982) [edit]
Patch to avoid bashisms in the postfix initfile

------- Comment #2 From Panagiotis Christopoulos 2008-08-16 04:13:31 0000 -------
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.

------- Comment #3 From Panagiotis Christopoulos 2008-08-16 04:16:06 0000 -------
Ah, I reconsider, as I'm seeing the "non-POSIX" thing. I will let the proper
team to decide.

------- Comment #4 From Martin Väth 2008-08-16 05:21:26 0000 -------
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).

------- Comment #5 From Raphael Marichez 2008-08-18 14:13:51 0000 -------
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.

First Last Prev Next    No search results available      Search page      Enter new bug