Menu

#5589 Cron jobs not displaying and overwriting existing files

2.000
closed-fixed
nobody
None
1
2022-11-14
2022-11-10
No

Distributor ID: Pop
Description: Pop!OS 22.04 LTS
Release: 22.04
Codename: jammy

I tried creating a new cronjob through webmin, and it didn't display in webmin. I made another attempt and it also didn't display display in webmin. I then went and checked crontab -e and discovered that the entire file was overwritten with the last job I created through webmin. I verified this behavior with a regular user and root (sudo crontab -e). I've marked this as high severity since it overwrites existing files.

Example:

  • In webmin I create test-job-1 (screenshot attached)
  • test-job-1 doesn't appear in webmin (screenshot attached)
  • sudo crontab -e shows "@hourly test-job-1"

  • In webmin I create test-job-2

  • test-job-2 doesn't appear in webmin
  • sudo crontab -e shows "@hourly test-job-2", file was overwritten and test-job-1 is now gone.
2 Attachments

Discussion

  • Jamie Cameron

    Jamie Cameron - 2022-11-11

    That sounds like a bug. Is POP!OS based on some other more common Linux distro, like Ubuntu?

     
  • Benjamin Roudenis

    Yes, Pop!OS is based on the equvelent Ubuntu 22.04 LTS.

     
  • Jamie Cameron

    Jamie Cameron - 2022-11-13

    On the dashboard in Webmin, is the OS shown as Ubuntu 22 ?

     
  • Benjamin Roudenis

    No it does not, it shows:

    Operating system    Generic Linux 6.0
    
     
  • Jamie Cameron

    Jamie Cameron - 2022-11-13

    Ok, that's the issue - Webmin doesn't know how to manage Cron on your linux distribution.

    Unfortunately we only support the more common distros..

     
  • Ilia

    Ilia - 2022-11-13

    Perhaps, we could add support for Pop!OS? Is this a Debian derivative?

     
  • Jamie Cameron

    Jamie Cameron - 2022-11-14

    We could if it's not too different. Is there an /etc/*-release file that we could use to identifiy it?

     
  • Benjamin Roudenis

    ~~~
    $ cat /etc/os-release
    NAME="Pop!OS"
    VERSION="22.04 LTS"
    ID=pop
    IDLIKE="ubuntu debian"
    PRETTYNAME="Pop!OS 22.04 LTS"
    VERSIONID="22.04"
    HOMEURL="https://pop.system76.com"
    SUPPORTURL="https://support.system76.com"
    BUGREPORTURL="https://github.com/pop-os/pop/issues"
    PRIVACYPOLICYURL="https://system76.com/privacy"
    VERSIONCODENAME=jammy
    UBUNTUCODENAME=jammy
    LOGO=distributor-logo-pop-os
    ~~~*

     
  • Jamie Cameron

    Jamie Cameron - 2022-11-14

    Thanks, we'll add proper support for Pop!OS in the next release.

     
  • Jamie Cameron

    Jamie Cameron - 2022-11-14
    • status: open --> closed-fixed
     

Log in to post a comment.

MongoDB Logo MongoDB