[SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
Bug #69455 reported by
isign
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
oprofile (Debian) |
Fix Released
|
Unknown
|
|||
oprofile (Ubuntu) |
Fix Released
|
Undecided
|
Adam Conrad | ||
Gutsy |
Invalid
|
Undecided
|
Unassigned | ||
Hardy |
Fix Released
|
Undecided
|
Adam Conrad |
Bug Description
After invokation of
sudo opcontrol --event=default
the following lines occur:
/usr/bin/opcontrol: 1: arith: syntax error: "NR_CHOSEN - 1"
/usr/bin/opcontrol: 1: arith: syntax error: "NR_CHOSEN - 1"
No events given.
ophelp --get-default-event gives the following
CPU_CLK_
Thanks in advance,
jochen
Changed in oprofile: | |
status: | Unknown → Fix Released |
Changed in oprofile: | |
assignee: | motu-sru → crimsun |
To post a comment you must log in.
this can be easily fixed by replacing /bin/sh with /bin/bash in the first line of /usr/bin/opcontrol