[Bug 2144410] Re: -j argument passing not compatible with old code

Sylvestre Ledru 2144410 at bugs.launchpad.net
Sat Mar 14 15:57:09 UTC 2026


-j isn't a gnu option but BSD

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

Title:
  -j argument passing not compatible with old code

Status in rust-coreutils package in Ubuntu:
  New

Bug description:
  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

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




More information about the foundations-bugs mailing list