Menu

#175 "which" in ubuntu 22.04 warning cannot be cleared with --propupd

main
open
nobody
5
2022-10-14
2022-08-02
No

Just upgraded to Ubuntu 22.04.1 over the weekend. Running rkhunter 1.4.6. I'm getting a warning that /usr/bin/which.debianutils was replaced by a script. I have not been successful in using --propupd to clear this warning, although there was at least one other "command replaced by a script" warning that was cleared by a --propupd.

The full warning in the log file is "Warning: The command '/usr/bin/which.debianutils' has been replaced
by a script: /usr/bin/which.debianutils: POSIX shell script, ASCII text executable"

Related

Bugs: #175

Discussion

  • Mathias Homann

    Mathias Homann - 2022-08-29

    Same here...

     
  • Justin Pasher

    Justin Pasher - 2022-10-14

    Does /etc/rkhunter.conf contain this line? Mine does.

    SCRIPTWHITELIST=/usr/bin/which.debianutils
    

    I see that Ubuntu 20.04 does not have it, but 22.04 does. Maybe your conf file wasn't merged with upstream changes? I see this changelog entry:

    rkhunter (1.4.6-10) unstable; urgency=medium
    
    
      * Add /usr/bin/which.debianutils to SCRIPTWHITELIST.
      * Bump Standards-Version up to 4.6.0.
    
     -- Francois Marier <francois@debian.org>  Sun, 22 Aug 2021 11:14:44 -0700
    
     
    • Paul Menchini

      Paul Menchini - 2022-10-14

      I added it, which suppressed the error. But, not sure if that is the proper
      action.

      __
      I'm phoning this in. Please excuse brevity, autocorrect mishaps, typos and
      the like.
      No electrons were harmed in the composition or transmission of this email.

      On Fri, Oct 14, 2022, 11:48 Justin Pasher jpasher@users.sourceforge.net
      wrote:

      Does /etc/rkhunter.conf contain this line? Mine does.

      SCRIPTWHITELIST=/usr/bin/which.debianutils

      I see that Ubuntu 20.04 does not have it, but 22.04 does. Maybe your conf
      file wasn't merged with upstream changes? I see this changelog entry:

      rkhunter (1.4.6-10) unstable; urgency=medium
      * Add /usr/bin/which.debianutils to SCRIPTWHITELIST. * Bump Standards-Version up to 4.6.0.
      -- Francois Marier francois@debian.org Sun, 22 Aug 2021 11:14:44 -0700


      Status: open
      Group: main
      Labels: ubuntu 22.04
      Created: Tue Aug 02, 2022 01:04 PM UTC by Paul Menchini
      Last Updated: Mon Aug 29, 2022 05:17 AM UTC
      Owner: nobody

      Just upgraded to Ubuntu 22.04.1 over the weekend. Running rkhunter 1.4.6.
      I'm getting a warning that /usr/bin/which.debianutils was replaced by a
      script. I have not been successful in using --propupd to clear this
      warning, although there was at least one other "command replaced by a
      script" warning that was cleared by a --propupd.

      The full warning in the log file is "Warning: The command
      '/usr/bin/which.debianutils' has been replaced
      by a script: /usr/bin/which.debianutils: POSIX shell script, ASCII text
      executable"


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/rkhunter/bugs/175/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #175


Log in to post a comment.

MongoDB Logo MongoDB