Reproducing the issue *before* the patch:

root@foo:~# dpkg -l| grep -wF ' systemd '
ii  systemd                     245.4-4ubuntu3.1          amd64        system 
and service manager
root@foo:~# systemctl status test.service
● test.service - Test Truncate
     Loaded: loaded (/etc/systemd/system/test.service; enabled; vendor preset: 
enabled)
     Active: active (exited) since Mon 2020-07-20 18:08:56 UTC; 53s ago
    Process: 228 ExecStart=/usr/lib/test.sh long-test-for-start (code=exited, 
status=0/SUCCESS)
   Main PID: 228 (code=exited, status=0/SUCCESS)

Jul 20 18:08:56 foo systemd[1]: Starting Test Truncate...
Jul 20 18:08:56 foo test.sh[229]: This will
Jul 20 18:08:56 foo test.sh[228]: T
Jul 20 18:08:56 foo test.sh[230]: T
Jul 20 18:08:56 foo test.sh[230]: sually fai
Jul 20 18:08:56 foo test.sh[228]: s
Jul 20 18:08:56 foo test.sh[231]: s
Jul 20 18:08:56 foo test.sh[231]: nd be truncate
Jul 20 18:08:56 foo test.sh[228]: n
Jul 20 18:08:56 foo systemd[1]: Finished Test Truncate.


Upgrading to focal-proposed version:

root@foo:~# apt-get dist-upgrade -V
Reading package lists... Done
Building dependency tree       
Reading state information... Done
Calculating upgrade... Done
The following packages will be upgraded:
   ...
   libnss-systemd (245.4-4ubuntu3.1 => 245.4-4ubuntu3.2)
   libpam-systemd (245.4-4ubuntu3.1 => 245.4-4ubuntu3.2)
   libseccomp2 (2.4.3-1ubuntu3.20.04.2 => 2.4.3-1ubuntu3.20.04.3)
   libsystemd0 (245.4-4ubuntu3.1 => 245.4-4ubuntu3.2)
   libudev1 (245.4-4ubuntu3.1 => 245.4-4ubuntu3.2)
   systemd (245.4-4ubuntu3.1 => 245.4-4ubuntu3.2)
   systemd-sysv (245.4-4ubuntu3.1 => 245.4-4ubuntu3.2)
   systemd-timesyncd (245.4-4ubuntu3.1 => 245.4-4ubuntu3.2)
   udev (245.4-4ubuntu3.1 => 245.4-4ubuntu3.2)
   ...
17 upgraded, 0 newly installed, 0 to remove and 0 not upgraded.

root@foo:~# reboot

Verifying the bug is fixed:

root@foo:~# systemctl status test.service
● test.service - Test Truncate
     Loaded: loaded (/etc/systemd/system/test.service; enabled; vendor preset: 
enabled)
     Active: active (exited) since Mon 2020-07-20 18:12:09 UTC; 1s ago
    Process: 139 ExecStart=/usr/lib/test.sh long-test-for-start (code=exited, 
status=0/SUCCESS)
   Main PID: 139 (code=exited, status=0/SUCCESS)

Jul 20 18:12:09 foo systemd[1]: Starting Test Truncate...
Jul 20 18:12:09 foo test.sh[140]: This will
Jul 20 18:12:09 foo test.sh[141]: usually fail
Jul 20 18:12:09 foo test.sh[142]: and be truncated
Jul 20 18:12:09 foo systemd[1]: Finished Test Truncate.


It is so marking as such, thanks!

** Tags removed: verification-needed verification-needed-focal
** Tags added: verification-done verification-done-focal

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

Title:
  Truncated messages in journald since systemd v244

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1875708/+subscriptions

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to