Activity log for bug #2004007

Date Who What changed Old value New value Message
2023-01-27 10:37:07 Daniel Krambrock bug added bug
2023-01-29 21:25:36 Launchpad Janitor ocsinventory-agent (Ubuntu): status New Fix Released
2023-02-17 12:40:12 Daniel Krambrock ocsinventory-agent (Ubuntu): status Fix Released Confirmed
2023-03-24 11:37:19 Launchpad Janitor merge proposal linked https://code.launchpad.net/~danielky/ubuntu/+source/ocsinventory-agent/+git/ocsinventory-agent/+merge/439618
2023-06-07 13:52:18 Sebastien Bacher description Ubuntu 22.04 comes with ocsinventory-agent in version 2:2.8-2. In this version /etc/cron.daily/ocsinventory-agent holds the `$RANDOM` bashism. As `/bin/sh` links to `dash` by default the script exits with an error: ``` $ dash /etc/cron.daily/ocsinventory-agent /etc/cron.daily/ocsinventory-agent: 19: arithmetic expression: expecting primary: " /100 " ``` There is also an older debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988245 * Impact The cronjob included in the package errors out due to incorrect shell syntax * Testcase $ sudo /etc/cron.daily/ocsinventory-agent triggered manually or by crong should work without error * Regression potential The job depends on bash now and wouldn't work on system without that shell installed. It's unlikely that bash isn't going to be installed though and even in that case it wouldn't be a regression since the script is already not working --------------------------------- Ubuntu 22.04 comes with ocsinventory-agent in version 2:2.8-2. In this version /etc/cron.daily/ocsinventory-agent holds the `$RANDOM` bashism. As `/bin/sh` links to `dash` by default the script exits with an error: ``` $ dash /etc/cron.daily/ocsinventory-agent /etc/cron.daily/ocsinventory-agent: 19: arithmetic expression: expecting primary: " /100 " ``` There is also an older debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988245
2023-06-08 03:47:22 Ubuntu Archive Robot bug added subscriber Sebastien Bacher
2023-06-08 06:49:05 Sebastien Bacher ocsinventory-agent (Ubuntu): status Confirmed Fix Released
2023-06-08 06:49:07 Sebastien Bacher ocsinventory-agent (Ubuntu): importance Undecided Low
2023-06-09 22:56:51 Steve Langasek description * Impact The cronjob included in the package errors out due to incorrect shell syntax * Testcase $ sudo /etc/cron.daily/ocsinventory-agent triggered manually or by crong should work without error * Regression potential The job depends on bash now and wouldn't work on system without that shell installed. It's unlikely that bash isn't going to be installed though and even in that case it wouldn't be a regression since the script is already not working --------------------------------- Ubuntu 22.04 comes with ocsinventory-agent in version 2:2.8-2. In this version /etc/cron.daily/ocsinventory-agent holds the `$RANDOM` bashism. As `/bin/sh` links to `dash` by default the script exits with an error: ``` $ dash /etc/cron.daily/ocsinventory-agent /etc/cron.daily/ocsinventory-agent: 19: arithmetic expression: expecting primary: " /100 " ``` There is also an older debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988245 * Impact The cronjob included in the package errors out due to incorrect shell syntax * Testcase $ sudo /etc/cron.daily/ocsinventory-agent triggered manually or by cron should work without error * Regression potential The job depends on bash now and wouldn't work on system without that shell installed. It's unlikely that bash isn't going to be installed though and even in that case it wouldn't be a regression since the script is already not working --------------------------------- Ubuntu 22.04 comes with ocsinventory-agent in version 2:2.8-2. In this version /etc/cron.daily/ocsinventory-agent holds the `$RANDOM` bashism. As `/bin/sh` links to `dash` by default the script exits with an error: ``` $ dash /etc/cron.daily/ocsinventory-agent /etc/cron.daily/ocsinventory-agent: 19: arithmetic expression: expecting primary: " /100 " ``` There is also an older debian bug: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=988245
2023-06-09 23:06:27 Steve Langasek ocsinventory-agent (Ubuntu Jammy): status New Fix Committed
2023-06-09 23:06:28 Steve Langasek bug added subscriber Ubuntu Stable Release Updates Team
2023-06-09 23:06:39 Steve Langasek bug added subscriber SRU Verification
2023-06-09 23:06:45 Steve Langasek tags verification-needed verification-needed-jammy
2023-06-13 14:01:18 Sebastien Bacher tags verification-needed verification-needed-jammy verification-done verification-done-jammy
2023-06-19 10:20:50 Launchpad Janitor ocsinventory-agent (Ubuntu Jammy): status Fix Committed Fix Released
2023-06-19 10:20:56 Ɓukasz Zemczak removed subscriber Ubuntu Stable Release Updates Team