Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 895956 - app-containers/podman-4.4.1: wrong podman path for systemd units generated with quadlet
Summary: app-containers/podman-4.4.1: wrong podman path for systemd units generated wi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: Zac Medico
URL: https://bugs.archlinux.org/task/77364
Whiteboard:
Keywords: PullRequest
: 902447 (view as bug list)
Depends on:
Blocks:
 
Reported: 2023-02-23 04:11 UTC by Kenton Groombridge
Modified: 2023-03-22 01:20 UTC (History)
2 users (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 Kenton Groombridge gentoo-dev 2023-02-23 04:11:39 UTC
Podman 4.4.0 adds a new systemd-generator, quadlet, that creates systemd units from various template files using similar logic as "podman generate systemd". However, currently the units generated by quadlet have an ExecStart= line with the incorrect podman path:

ExecStart=/usr/local/bin/podman run [...]

Passing PREFIX=/usr to emake in src_compile() fixes the issue. Please see URL for the fix in Arch Linux. This was also reported upstream to podman: https://github.com/containers/podman/issues/17359
Comment 1 Mathieu Tortuyaux 2023-03-20 15:39:09 UTC
*** Bug 902447 has been marked as a duplicate of this bug. ***
Comment 2 Larry the Git Cow gentoo-dev 2023-03-22 01:20:25 UTC
The bug has been closed via the following commit(s):

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

commit 76106fe05b59a02991a7394096b13b02697f5496
Author:     Mathieu Tortuyaux <mtortuyaux@microsoft.com>
AuthorDate: 2023-03-20 15:43:22 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-03-22 01:17:57 +0000

    app-containers/podman: fix quadlet generation issue
    
    Without prefix, the podman path generated by quadlet was targetting
    /usr/local/bin/podman (instead of /usr/bin/podman)
    
    Closes: https://bugs.gentoo.org/895956
    Signed-off-by: Mathieu Tortuyaux <mtortuyaux@microsoft.com>
    Closes: https://github.com/gentoo/gentoo/pull/30264
    Signed-off-by: Sam James <sam@gentoo.org>

 app-containers/podman/{podman-4.4.1.ebuild => podman-4.4.1-r1.ebuild} | 1 +
 1 file changed, 1 insertion(+)