Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 737450 - sys-apps/systemd-245.5 should depend on sys-kernel/linux-headers-5.8
Summary: sys-apps/systemd-245.5 should depend on sys-kernel/linux-headers-5.8
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Gentoo systemd Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2020-08-16 14:42 UTC by Andrius Štikonas
Modified: 2020-08-22 01:58 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Andrius Štikonas 2020-08-16 14:42:28 UTC
I was trying to run ansible playbook to configure some services and it failed to determine service state. Ansible reads ActiveState from systemctl show.

Reproducible: Always

Steps to Reproduce:
1. Run # systemctl show dhcpcd | grep ActiveState
(I've picked dhcpcd since it was running on my system but you can pick any other unit file)

Actual Results:  
Failed to parse bus message: Invalid argument

Expected Results:  
ActiveState=active

The fix was to recompile systemd against linux-headers-5.8 (which has cap_bpf) but linux-headers-5.8 is not yet stable.
Comment 1 Alexander Tsoy 2020-08-16 15:02:23 UTC
This was fixed in systemd-246:

commit e41de5e491942b5391b1efb71c82ffd329b3d23d
Author: Michal Koutný <mkoutny@suse.com>
Date:   Wed Jun 24 12:43:22 2020 +0200

    missing: Add new Linux capabilities
    
    Linux kernel v5.8 adds two new capabilities. Make sure we can recongize
    them even when built with older kernel.
Comment 2 Alexander Tsoy 2020-08-16 15:20:13 UTC
Oh, and it was fixed in v245.7
Comment 3 Andrius Štikonas 2020-08-16 15:22:25 UTC
(In reply to Alexander Tsoy from comment #2)
> Oh, and it was fixed in v245.7

Ok, that's good. We can probably get this version in and stabilize then.
Comment 4 Larry the Git Cow gentoo-dev 2020-08-17 01:50:13 UTC
The bug has been referenced in the following commit(s):

https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e434e157c5629d4e200126d5f3f3565306698cc0

commit e434e157c5629d4e200126d5f3f3565306698cc0
Author:     Mike Gilbert <floppym@gentoo.org>
AuthorDate: 2020-08-17 01:45:53 +0000
Commit:     Mike Gilbert <floppym@gentoo.org>
CommitDate: 2020-08-17 01:46:30 +0000

    sys-apps/systemd: bump to 245.7
    
    Bug: https://bugs.gentoo.org/737450
    Signed-off-by: Mike Gilbert <floppym@gentoo.org>

 sys-apps/systemd/Manifest             |   1 +
 sys-apps/systemd/systemd-245.7.ebuild | 526 ++++++++++++++++++++++++++++++++++
 2 files changed, 527 insertions(+)