| Summary: | udev rule use bash | ||
|---|---|---|---|
| Product: | Mageia | Reporter: | Thierry Vignaud <thierry.vignaud> |
| Component: | RPM Packages | Assignee: | Thomas Backlund <tmb> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | Normal | CC: | alien, davidwhodgins, mageia |
| Version: | Cauldron | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Source RPM: | mdadm-3.2.3-1.mga2 | CVE: | |
| Status comment: | |||
| Attachments: | Fix udev rule | ||
|
Thierry Vignaud
2012-03-02 08:54:00 CET
Blocks:
(none) =>
4724 Created attachment 1670 [details]
Fix udev rule
Alternatively I can use this patch instead but I think it would be faster for udev to fork sh than bloated bash
i checked, but i didn't see any bashisms, so i don't see any problems having it start with /bin/sh CC:
(none) =>
alien
Thierry Vignaud
2012-03-05 18:18:01 CET
Blocks:
4724 =>
(none) Hi, This bug was filed against cauldron, but we do not have cauldron at the moment. Please report whether this bug is still valid for Mageia 2. Thanks :) Cheers, marja Keywords:
(none) =>
NEEDINFO grep bash /lib/udev/rules.d/65-md-incremental.rules
IMPORT{program}="/bin/bash -c '[ -f /dev/.in_sysinit ] && echo in_sysinit=1 || :'"
Still applies to both Mageia 2 and Cauldron.CC:
(none) =>
davidwhodgins
Dave Hodgins
2012-05-27 23:28:00 CEST
Keywords:
NEEDINFO =>
(none) but... since we have bash, we should only fix this in cauldron Indeed it's only for cauldron. That would enable me to remove this workaround when building installer stage2: http://svnweb.mageia.org/soft/drakx/trunk/perl-install/install/share/list.xml?r1=3166&r2=3171&sortby=date CC:
(none) =>
mageia I fixed it Status:
NEW =>
RESOLVED |
mdadm's udev rule use bash: /lib/udev/rules.d/65-md-incremental.rules:IMPORT{program}="/bin/bash -c '[ -f /dev/.in_sysinit ] && echo in_sysinit=1 || :'" However it's used in installer where we don't have bash. Please make it work w/o bash. Thanks.