Bug 31399

Summary: UPDATE PKG REQUEST: Zram generator
Product: Mageia Reporter: Otto Leipälä <ottoleipala1>
Component: New RPM package requestAssignee: Base system maintainers <basesystem>
Status: RESOLVED FIXED QA Contact:
Severity: normal    
Priority: Normal CC: jani.valimaa, lohmaier+mageia
Version: Cauldron   
Target Milestone: ---   
Hardware: All   
OS: Linux   
URL: https://github.com/systemd/zram-generator
Whiteboard:
Source RPM: zramstart-1.0.2-5.mga9.src.rpm CVE:
Status comment:

Description Otto Leipälä 2023-01-12 17:44:33 CET
Systemd generator should be build.....
Mageia only have upstream dead zramstart last commit git is 2008 year
There is Fedora package can import to Mageia
Comment 1 Otto Leipälä 2023-01-12 17:48:12 CET
Sorry typo year not 2008 2018
Comment 2 Lewis Smith 2023-01-12 20:30:17 CET
$ urpmq -i zramstart
URL         : https://github.com/mystilleef/FedoraZram

Rather looks as if we already have what you suggest. Do you agree?

CC: (none) => lewyssmith
Source RPM: https://download-ib01.fedoraproject.org/pub/fedora/linux/releases/37/Everything/source/tree/Packages/r/rust-zram-generator-1.1.2-2.fc37.src.rpm => zramstart-1.0.2-5.mga9.src.rpm
Summary: Zram generator => UPDATE PKG REQUEST: Zram generator

Comment 3 Otto Leipälä 2023-01-13 06:35:50 CET
No look that new url it's called systemd zram generator
zramstart is dead in upstream

https://github.com/systemd/zram-generator
Comment 4 Lewis Smith 2023-01-13 19:43:45 CET
Thanks; OK, believing you.

Assigning to Basesystem for consideration.

CC: lewyssmith => (none)
Assignee: bugsquad => basesystem

Comment 5 Otto Leipälä 2024-01-04 13:35:49 CET
Ping?
 
This needs ronn-ng we don't have in repos...

https://github.com/apjanke/ronn-ng

Fedora have this already build in repos so can import...

https://packages.fedoraproject.org/pkgs/rust-zram-generator/zram-generator/
Comment 6 Otto Leipälä 2024-02-26 14:11:37 CET
https://github.com/systemd/zram-generator

I managed to build it from sources Vbox, working good...

This one is active developement

Zramstart we have in repos is more than 5 years old...

Can some of dev team take a look this????
Comment 7 Christian Lohmaier 2024-04-03 17:39:05 CEST
zramstart by itself is not too bad if all you want to create a ram-device - although you should modify it to not create a device for each CPU/thread - that is done internally already since quite a while.
(see also https://forums.gentoo.org/viewtopic-t-1100326-start-0.html )

I only hardcoded num_cpus=1 in the zramstart script and that solves that specific issue.

So I agree that there's a problem with zramstart, but not because it is old...

CC: (none) => lohmaier+mageia

Comment 8 Jani Välimaa 2024-04-15 19:01:03 CEST
Fixed with rust-zram-generator-1.1.2-1.mga10.

zramstart is still available. If there are bugs in it, please file a bug.

Resolution: (none) => FIXED
CC: (none) => jani.valimaa
Status: NEW => RESOLVED