[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
gutsy has now reached end of life, so there's no point at all this staying open. ** Changed in: oprofile (Ubuntu Gutsy) Status: New = Invalid -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
The problem was resolved upstream. See https://lists.ubuntu.com/archives/ubuntu-patches/2008-January/015928.html. Aside from sh problems with arithmetic (solved by http://launchpadlibrarian.net/11784461/opcontrol-quoting.patch) , there was also some problems with let (only solved upstream). With this upstream patch, there is no need to change from sh to bash. -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
Yep still broken in gutsy, Olly Betts' solution: sudo bash opcontrol --start --no-vmlinux works just fine, thanx :) -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
I've run into this bug in gusty. This problem seems to repeat itself every release. -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
I've just run into this on gutsy. I'm really just commenting to note that until the proposed fix gets to the repository you can workaround the problem quite easily by running explicitly using bash, like so: sudo bash opcontrol --start --no-vmlinux -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
I seem to have the same problem on gutsy: [EMAIL PROTECTED]:~$ sudo opcontrol --start --no-vmlinux Using default event: GLOBAL_POWER_EVENTS:10:1:1:1 /usr/bin/opcontrol: 1: arith: syntax error: NR_CHOSEN - 1 No events given. [EMAIL PROTECTED]:~$ cat /etc/issue Ubuntu 7.10 \n \l -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
I have applied the same fix as for Feisty in the attached debdiff. As this is my first patch please have a closer look at it. I have been told on #ubuntu-motu that bash is essential and does not have to be specified in Depends, so that part of the Feisty patch is missing. ** Attachment added: oprofile_0.9.3-1ubuntu2.debdiff http://launchpadlibrarian.net/10060445/oprofile_0.9.3-1ubuntu2.debdiff -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
** Attachment removed: oprofile_0.9.3-1ubuntu2.debdiff http://launchpadlibrarian.net/10060445/oprofile_0.9.3-1ubuntu2.debdiff -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
updated patch that removes the statement that bash has been added to Depends from the changelog. sorry for the noise. ** Attachment added: oprofile_0.9.3-1ubuntu2.debdiff http://launchpadlibrarian.net/10060629/oprofile_0.9.3-1ubuntu2.debdiff -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
debdiff for gutsy-proposed ** Attachment added: oprofile_0.9.3-1ubuntu1.1.debdiff http://launchpadlibrarian.net/10060899/oprofile_0.9.3-1ubuntu1.1.debdiff ** Attachment removed: oprofile_0.9.3-1ubuntu2.debdiff http://launchpadlibrarian.net/10060629/oprofile_0.9.3-1ubuntu2.debdiff -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
Released to -updates... Six months of testing seemed like more than enough to me for a 2-character fix. :) ** Changed in: oprofile (Ubuntu) Assignee: Daniel T Chen = Adam Conrad Status: In Progress = Fix Released -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://bugs.launchpad.net/bugs/69455 You received this bug notification because you are a member of Ubuntu Bugs, which is the bug contact for Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
A few comments: - The depends on bash is not needed, bash is Essential: yes and trying to remove it will give you large warnings. - Subscribing ubuntu-archive to SRU bugs is considered useful, if not, it doesn't show up on our worklist. To me, it looks like the current version in -proposed is fine; once it has received enough testing, please upload to -updates. -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://launchpad.net/bugs/69455 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 69455] Re: [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events
** Summary changed: - bashism in oprofile's opcontrol script prevents user from setting any events + [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events -- [SRU] for oprofile, edgy-updates: bashism in oprofile's opcontrol script prevents user from setting any events https://launchpad.net/bugs/69455 -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs