[Bug 582319] Re: strace crontab -e bombs on 10.04LTS

Adrien Nader 582319 at bugs.launchpad.net
Thu Mar 6 10:23:59 UTC 2025


Marking as Invalid as that seems expected: strace uses ptrace which does
not work across setuid/setgid binaries which crontab is.

-rwxr-sr-x 1 root crontab 43K Jun  6  2024 /usr/bin/crontab

This is intended for security (otherwise it would be trivial to hijack
`su`).

** Changed in: strace (Ubuntu)
       Status: Confirmed => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to strace in Ubuntu.
https://bugs.launchpad.net/bugs/582319

Title:
  strace crontab -e bombs on 10.04LTS

Status in strace package in Ubuntu:
  Invalid

Bug description:
  Binary package hint: strace

  strace is doing something wrong and winds up modifying the behavior of
  a running program -- in short, running "crontab -e" works fine, but
  running "strace crontab -e" results in an error being thrown before
  the editor is even invoked.

  'crontab -e' returns an exit value of 0
  'strace crontab -e' returns an exit value of 1

  This reproducible on a fresh, up to date 10.04 LTS 64-bit install and
  verified on a machine that was upgraded a few times.

  I set EDITOR=cat below to remove most of the binary ncurses noise of
  my default editor (nano).

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/strace/+bug/582319/+subscriptions




More information about the foundations-bugs mailing list