Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 657480 - sys-block/zram-init-7.1 installs /usr/sbin/zram-init but systemd expects /sbin/zram-init
Summary: sys-block/zram-init-7.1 installs /usr/sbin/zram-init but systemd expects /sbi...
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Jason Zaman
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2018-06-06 19:05 UTC by Pablo Cholaky
Modified: 2018-06-08 09:56 UTC (History)
0 users

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 Pablo Cholaky 2018-06-06 19:05:56 UTC
I just emerged sys-block/zram-init-7.1, and systemd scripts are broken now.

Current systemd scripts are trying to locate /sbin/zram-init, but gentoo is installing with dosbin into /usr/sbin/zram-init (at least under portage 2.3)

If you could at least symlink /usr/sbin/zram-init to /sbin/zram-init should be enough.

Thanks.
Comment 1 Larry the Git Cow gentoo-dev 2018-06-08 09:56:30 UTC
The bug has been closed via the following commit(s):

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

commit 99fe9fe295ed09cd4b0e88bad39314d48dcefe8f
Author:     Jason Zaman <perfinion@gentoo.org>
AuthorDate: 2018-06-08 08:19:30 +0000
Commit:     Jason Zaman <perfinion@gentoo.org>
CommitDate: 2018-06-08 09:56:14 +0000

    sys-block/zram-init: install into /sbin
    
    Closes: https://bugs.gentoo.org/657480
    Package-Manager: Portage-2.3.40, Repoman-2.3.9

 .../zram-init/{zram-init-7.1.ebuild => zram-init-7.1-r1.ebuild}  | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)