Summary: | /lib/udev/move_tmp_persistent_rules.sh from sys-fs/udev needs /bin/bash, not /bin/sh | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Raffaello D. Di Napoli <rafdev> |
Component: | [OLD] Core system | Assignee: | Gentoo Linux bug wranglers <bug-wranglers> |
Status: | RESOLVED INVALID | ||
Severity: | normal | ||
Priority: | High | ||
Version: | unspecified | ||
Hardware: | x86 | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Attachments: | Changes #!/bin/sh to #!/bin/bash |
Description
Raffaello D. Di Napoli
2009-09-08 22:30:46 UTC
Created attachment 203547 [details, diff]
Changes #!/bin/sh to #!/bin/bash
move_tmp_persistent_rules.sh sources /etc/init.d/functions.sh (for ebegin and eend), which is entirely bash-dependent, so there’s little to do about it but make explicit its dependency on bash.
My version of /lib/udev/move_tmp_persistent_rules.sh does ". /etc/init.d/functions.sh" and this works without problems: # dash /lib/udev/move_tmp_persistent_rules.sh So I think your problem is, you try using dash as system shell, but still use baselayout-1. This combination is NOT supported. Update to baselayout-2 with openrc and it will work. (In reply to comment #2) > My version of /lib/udev/move_tmp_persistent_rules.sh does ". > /etc/init.d/functions.sh" and this works without problems: > > # dash /lib/udev/move_tmp_persistent_rules.sh > > So I think your problem is, you try using dash as system shell, but still use > baselayout-1. This combination is NOT supported. > Update to baselayout-2 with openrc and it will work. Aha, I see. I now switched to OpenRC and baselayout-2, and yes, it does work for me too. Thank you all for the assistance. |