[Bug 14901] New: koha-shell killed by control-c
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14901 Bug ID: 14901 Summary: koha-shell killed by control-c Change sponsored?: --- Product: Koha Version: unspecified Hardware: All OS: All Status: NEW Severity: minor Priority: P5 - low Component: Packaging Assignee: koha-bugs@lists.koha-community.org Reporter: kyle.m.hall@gmail.com QA Contact: testopia@bugs.koha-community.org CC: robin@catalyst.net.nz When koha-shell is invoked in Debian Wheezy, ctrl-c does not just kill the command you are running, it kills the koha shell itself. This is because koha-shell acts as a command rather than a shell. If koha-shell were to use su - to become the koha user, this would not happen. Is there a specific reason koha-shell does not use su to change the user, rather than changing the uid and gid? -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14901 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |tomascohen@gmail.com --- Comment #1 from Tomás Cohen Arazi <tomascohen@gmail.com> --- (In reply to Kyle M Hall from comment #0)
When koha-shell is invoked in Debian Wheezy, ctrl-c does not just kill the command you are running, it kills the koha shell itself. This is because koha-shell acts as a command rather than a shell. If koha-shell were to use su - to become the koha user, this would not happen.
Is there a specific reason koha-shell does not use su to change the user, rather than changing the uid and gid?
I don't think so. Did you try changing koha-shell like you propose? I would happily test a patch for that :-D -- You are receiving this mail because: You are watching all bug changes. You are the assignee for the bug.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14901 --- Comment #2 from Robin Sheat <robin@catalyst.net.nz> --- It does use su. -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=14901 Tomás Cohen Arazi <tomascohen@gmail.com> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |DUPLICATE Status|NEW |RESOLVED --- Comment #3 from Tomás Cohen Arazi <tomascohen@gmail.com> --- *** This bug has been marked as a duplicate of bug 15012 *** -- You are receiving this mail because: You are the assignee for the bug. You are watching all bug changes.
participants (1)
-
bugzilla-daemon@bugs.koha-community.org