Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 852959 - sys-block/zram-init-8.1: ebuild messages upon first install misleading
Summary: sys-block/zram-init-8.1: ebuild messages upon first install misleading
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: AMD64 Linux
: Normal normal (vote)
Assignee: Mattéo Rossillol‑‑Laruelle
URL:
Whiteboard:
Keywords: PullRequest
Depends on:
Blocks:
 
Reported: 2022-06-18 21:34 UTC by Konstantin M
Modified: 2023-06-26 14:42 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 Konstantin M 2022-06-18 21:34:48 UTC
I just emerged sys-block/zram-init-8.1, like suggested by the documentation at https://wiki.gentoo.org/wiki/Zram .
After first installation, the following message is printed (for OpenRC users like me):
"To use zram, activate it in your kernel and add it to default runlevel: rc-config add zram default"

Copy/pasting that command leads to: "!!! Error: Please specify a valid init script!"
This is, because the script that is presumably meant is actually called /etc/init.d/zram-init - as the documentation on the wiki correctly states. The wiki also tells me to add it to runlevel boot, not default.

So I guess the ebuild messages should be updated.

I'm not attaching the output of "emerge --info", since it's probably irrelevant here and it's difficult for me to copy it from my remote server. If it is relevant here, tell me and I'll attach it.

Reproducible: Always

Steps to Reproduce:
1. emerge -v1a zram-init (on a system where it wasn't installed)

Actual Results:  
command in messages after successful installation don't work

Expected Results:  
command should've worked
Comment 1 Larry the Git Cow gentoo-dev 2023-06-26 14:42:57 UTC
The bug has been closed via the following commit(s):

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

commit aff22017cd2b98313ceaf079a31ff7854c8cbdbd
Author:     Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
AuthorDate: 2023-06-26 13:36:53 +0000
Commit:     Sam James <sam@gentoo.org>
CommitDate: 2023-06-26 14:42:23 +0000

    sys-block/zram-init: drop 8.1, 8.1-r1, 10.5, 11.0
    
    Closes: https://bugs.gentoo.org/852959
    Signed-off-by: Mattéo Rossillol‑‑Laruelle <beatussum@protonmail.com>
    Closes: https://github.com/gentoo/gentoo/pull/31617
    Signed-off-by: Sam James <sam@gentoo.org>

 sys-block/zram-init/Manifest                |  3 --
 sys-block/zram-init/zram-init-10.5.ebuild   | 72 -----------------------------
 sys-block/zram-init/zram-init-11.0.ebuild   | 69 ---------------------------
 sys-block/zram-init/zram-init-8.1-r1.ebuild | 55 ----------------------
 sys-block/zram-init/zram-init-8.1.ebuild    | 54 ----------------------
 5 files changed, 253 deletions(-)