Public bug reported:

The nagios script check_ssl_cert uses the date command internally.
Instead of processing normally, date throws the error:

error: unexpected argument '-j' found

tip: to pass '-j' as a value, use '-- -j'

Usage: date [OPTION]... [+FORMAT]...
date [OPTION]... [MMDDhhmm[[CC]YY][.ss]]

The script is available at:
https://github.com/matteocorti/check_ssl_cert

The bug is reported:
https://github.com/matteocorti/check_ssl_cert/issues/553

This is offered as an examplar that the  commandlines are not
compatible.


 lsb_release -rd
Description:    Ubuntu Resolute Raccoon (development branch)
Release:        26.04

 apt-cache policy coreutils-from-uutils
coreutils-from-uutils:
  Installed: 0.0.0~ubuntu24
  Candidate: 0.0.0~ubuntu24
  Version table:
 *** 0.0.0~ubuntu24 500
        500 http://us.archive.ubuntu.com/ubuntu resolute/main amd64 Packages
        100 /var/lib/dpkg/status

apt-cache policy rust-coreutils
rust-coreutils:
  Installed: 0.6.0-0ubuntu1
  Candidate: 0.6.0-0ubuntu1
  Version table:
 *** 0.6.0-0ubuntu1 500
        500 http://us.archive.ubuntu.com/ubuntu resolute/main amd64 Packages
        100 /var/lib/dpkg/status

** Affects: rust-coreutils (Ubuntu)
     Importance: Undecided
         Status: New

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

Title:
  -j argument passing not compatible with old code

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


-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to