Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 225317 - app-admin/metalog: consolelog.sh is #!/bin/sh but uses "source"
Summary: app-admin/metalog: consolelog.sh is #!/bin/sh but uses "source"
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High normal (vote)
Assignee: Gentoo's Team for Core System packages
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-06-08 09:20 UTC by Martin Väth
Modified: 2008-06-08 20:17 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Väth 2008-06-08 09:20:36 UTC
If /bin/sh links to dash, the "source" command in /sbin/consolelog.sh fails
tacitly, i.e. the defaults are used and /etc/conf.d/metalog is ignored.
A solution would be to use the standard "." instead of "source".
Alternatively, #!/bin/sh might be replaced by #!/bin/bash.