[Pkg-shadow-devel] [Git][debian/adduser][debian/latest] demote "crontab not found" warning to info

Marc Haber (@zugschlus) gitlab at salsa.debian.org
Mon Jun 1 05:48:25 BST 2026



Marc Haber pushed to branch debian/latest at Debian / adduser


Commits:
46250627 by Marc Haber at 2026-06-01T06:23:21+02:00
demote "crontab not found" warning to info

it is now perfectly normal to run a system that doesn't have cron

- - - - -


1 changed file:

- deluser


Changes:

=====================================
deluser
=====================================
@@ -472,13 +472,8 @@ if($action eq "deluser") {
             systemcall_or_warn('/usr/bin/crontab', '-u', $user, '-r');
         }
     } else {
-        if ($config{'system'}) {
-            log_info( mtx("`%s' is not executable. Skipping crontab removal. Package `cron' required."),
-            '/usr/bin/crontab' );
-        } else {
-            log_warn( mtx("`%s' is not executable. Skipping crontab removal. Package `cron' required."),
-            '/usr/bin/crontab' );
-        }
+        log_info( mtx("`%s' is not executable. Skipping crontab removal. Package `cron' required."),
+        '/usr/bin/crontab' );
     }
 
     log_info( mtx("Removing user `%s' ..."), $user);



View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/46250627c9c4e755ab8beff2738564345cb582ff

-- 
View it on GitLab: https://salsa.debian.org/debian/adduser/-/commit/46250627c9c4e755ab8beff2738564345cb582ff
You're receiving this email because of your account on salsa.debian.org. Manage all notifications: https://salsa.debian.org/-/profile/notifications | Help: https://salsa.debian.org/help


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://alioth-lists.debian.net/pipermail/pkg-shadow-devel/attachments/20260601/50fef3f1/attachment-0001.htm>


More information about the Pkg-shadow-devel mailing list