View Issue Details

IDProjectCategoryView StatusLast Update
0000480AlmaLinux-8almalinux-releasepublic2024-11-01 14:35
Reportermesb1 Assigned Toelkhan  
PrioritynormalSeverityminorReproducibilityalways
Status assignedResolutionopen 
Summary0000480: icecast missing
DescriptionHi.

I was trying to move from centos to almalinux, and unfortunately icecast server is missing from repos.
Can someone to take a look and add it for alm8\9 repos?

P.S. regular src rpm from centos 7 can be recompiled with enabled powertools repo and looks alive
TagsNo tags attached.
abrt_hash
URL

Activities

elkhan

2024-10-02 10:07

developer   ~0001067

Last edited: 2024-10-02 12:03

Hi mesb1,

Thanks a lot for your report.

The initial builds for AlmaLinux OS 9 and 8 is ready. May we ask for a help on the testing?

Source: https://git.almalinux.org/rpms/icecast
Builds:
- AlmaLinux OS 9: https://build.almalinux.org/build/19452
- AlmaLinux OS 8: https://build.almalinux.org/build/19453

Instruction:
AlmaLinux OS 9:
dnf config-manager --add-repo https://build.almalinux.org/pulp/content/builds/AlmaLinux-9-x86_64-19452-br/

AlmaLinux OS 8:
dnf config-manager --add-repo https://build.almalinux.org/pulp/content/builds/AlmaLinux-8-x86_64-19453-br/

dnf makecache
dnf install icecast

mesb1

2024-10-10 19:09

reporter   ~0001070

Planned update test on this weekend.
Please stay tuned, I'll be back with results.

mesb1

2024-10-10 19:37

reporter   ~0001071

While preparing test system, at first look there is a some misconfig there:

Default logrotate config included into rpm is awaiting icecast pid under /var/run/icecast/icecast.pid
Default placed config /etc/icecast.xml also included correct setting:
<pidfile>/var/run/icecast/icecast.pid</pidfile>

But after i have started icecast, i see no any /var/run/icecast directory created.
I assume it will never be restarted as logrotate will never find any pid for sending HUP signal.

So do we need any additional scriptlet included in rpm for /var/run/icecast directory creation maybe?

mesb1

2024-10-10 19:58

reporter   ~0001072

Hm, did some reboots, it looks like manually created /var/run/icecast just disappeared.
Well, maybe best move is just change config and logrotate into /var/run/icecast.pid then.

mesb1

2024-10-13 18:50

reporter   ~0001073

Well, i can confirm it is running fine.
The only question is about pid file location.

elkhan

2024-10-31 12:51

developer   ~0001077

mesb1,

Thanks for the feedbacks.

We use Fedora source of icecast package and it is stable for a while on https://src.fedoraproject.org/rpms/icecast


Please, check the %changelog field of the RPM spec file.

* Fri Feb 24 2012 Petr Pisar <ppisar@redhat.com> - 2.3.2-7
- Remove obsolete buildroot and defattr declarations from spec file
- Move to systemd (bug #782149)
- Drop unneeded /var/run/icecast because of non-forking systemd unit
  (bug #656601)
  
Here are the bug reports about the changes:
- https://bugzilla.redhat.com/show_bug.cgi?id=782149
- https://bugzilla.redhat.com/show_bug.cgi?id=656601


On our tests, we used the icecast.service[1] for starting the icecast. On our tests, we used Ezstream as a source client and https://en.wikipedia.org/wiki/File:Rondo_Alla_Turka.ogg as an audio to stream.

[1]: https://src.fedoraproject.org/rpms/icecast/blob/rawhide/f/icecast.service

elkhan

2024-10-31 12:54

developer   ~0001078

mesb1,

Since we have report on https://forums.almalinux.org/t/streaming-or-my-internet-radio/4478 too. May I ask which source client do you use? We are considering to package https://icecast.org/ezstream/ too complete the icecast stack.

mesb1

2024-10-31 16:53

reporter   ~0001079

elkhan,

In my case there was a few installs, one used just for restreaming purposes and others used this clients:
ices2 that's also provided by centos7, but ogg support only.
ices0 not provided by centos7, but used for our project so it would be nice to include.
Ezstream also was used earlier the only issue we had no way for db use as far as I remember.

So ezstream is a good choice, but if possible please take a look for ices includes also.

mesb1

2024-10-31 16:58

reporter   ~0001080

Also I didn't get the idea about fedora changes, should I repeat my tests for some other rpm of icecast?

elkhan

2024-11-01 14:33

developer   ~0001081

Last edited: 2024-11-01 14:35

mesb1,

We check the Fedora package sources first and use them as a base when we add a package to the AlmaLinux OS Synergy Repository[1]. Currently, the both sources are identical.
- AlmaLinux OS: https://git.almalinux.org/rpms/icecast
- Fedora: https://src.fedoraproject.org/rpms/icecast/tree/rawhide

The reason of the sharing links from the Fedora sources and redhat bugzilla to help you find the core reasoning behind of dropping the /var/run/icecast. Considering this change is made on Fedora 17 times, our tests are fine and if yours are fine too. We would like to publish the icecast package on the AlmaLinux OS Synergy Repository.

About the source clients for icecast.

Since the https://src.fedoraproject.org/rpms/ezstream is available but not the https://icecast.org/ices. Since Ezstream has more features (We also used it to test icecast), we started to build it and planning to publish with the icecast on AlmaLinux OS Synergy Repository then consider building of ices. Maybe you would like to give a ezstream a shot and help us with testing?

[1] https://wiki.almalinux.org/repos/Synergy.html

Issue History

Date Modified Username Field Change
2024-09-22 09:06 mesb1 New Issue
2024-10-02 10:07 elkhan Note Added: 0001067
2024-10-02 10:14 elkhan Note Edited: 0001067
2024-10-02 12:03 elkhan Note Edited: 0001067
2024-10-02 21:21 elkhan Assigned To => elkhan
2024-10-02 21:21 elkhan Status new => feedback
2024-10-10 19:09 mesb1 Note Added: 0001070
2024-10-10 19:09 mesb1 Status feedback => assigned
2024-10-10 19:37 mesb1 Note Added: 0001071
2024-10-10 19:58 mesb1 Note Added: 0001072
2024-10-13 18:50 mesb1 Note Added: 0001073
2024-10-31 12:51 elkhan Note Added: 0001077
2024-10-31 12:54 elkhan Note Added: 0001078
2024-10-31 16:53 mesb1 Note Added: 0001079
2024-10-31 16:58 mesb1 Note Added: 0001080
2024-11-01 14:33 elkhan Note Added: 0001081
2024-11-01 14:34 elkhan Note Edited: 0001081
2024-11-01 14:35 elkhan Note Edited: 0001081