The man pages do not work in later docker images for ubuntu but the apt-
file search does show that it is always procps.

== apt-file bin/kill
 ubuntu:14.04 APTFILE procps: /bin/kill
 ubuntu:14.04 MANPAGE procps-ng                        October 2011             
             KILL(1)
 ubuntu:16.04 APTFILE procps: /bin/kill
 ubuntu:16.04 MANPAGE procps-ng                        October 2011             
             KILL(1)
 ubuntu:18.04 APTFILE procps: /bin/kill
 ubuntu:18.04 MANPAGE 
 ubuntu:18.10 APTFILE procps: /bin/kill
 ubuntu:18.10 MANPAGE 

Can this bug report be movedover or do I need to open another ticket?

-- 
You received this bug notification because you are a member of Ubuntu
Touch seeded packages, which is subscribed to coreutils in Ubuntu.
https://bugs.launchpad.net/bugs/1791983

Title:
  kill -TERM exitcode regression 16.04

Status in coreutils package in Ubuntu:
  Incomplete

Bug description:
  I had a regression error in one of my testsuites.
  https://github.com/gdraheim/docker-systemctl-replacement/issues/43

  After investigating I did find that the command "kill -TERM" behaves
  different in Ubuntu 16.04 in comparison to all other Ubuntu versions
  and in comparison to all other tested Linux distributions
  (opensuse,centos).

  ====> "kill -TERM" does report an exitcode=0 (OK) where it should say
  failed.

  Note that the testsuite of coreutils does define a behaviour of not-ok at
  http://git.savannah.gnu.org/cgit/coreutils.git/tree/tests/misc/kill.sh

  There you can see

      # params required
      returns_ 1 env kill || fail=1
      returns_ 1 env kill -TERM || fail=1

  However this is the result tested with the available docker images

     == kill
       ubuntu:14.04 => 1
       ubuntu:16.04 => 1
       ubuntu:18.04 => 1
       ubuntu:18.10 => 1
     == kill -TERM
       ubuntu:14.04 => 1
       ubuntu:16.04 => 0
       ubuntu:18.04 => 1
       ubuntu:18.10 => 1

  I am attaching the testscript that shows the results above.

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

-- 
Mailing list: https://launchpad.net/~touch-packages
Post to     : touch-packages@lists.launchpad.net
Unsubscribe : https://launchpad.net/~touch-packages
More help   : https://help.launchpad.net/ListHelp

Reply via email to