You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@bigtop.apache.org by "iwasakims (via GitHub)" <gi...@apache.org> on 2025/05/08 06:33:13 UTC

[PR] BIGTOP-4418. Fix installation failure of packages on Fedora 40 due to lack of /lib/lsb/init-functions. [bigtop]

iwasakims opened a new pull request, #1345:
URL: https://github.com/apache/bigtop/pull/1345

   https://issues.apache.org/jira/browse/BIGTOP-4418
   
   While redhat-lsb provides the [/lib/lsb/init-functions](https://github.com/apache/bigtop/blob/master/bigtop-packages/src/rpm/zookeeper/SPECS/zookeeper.spec#L138), it can not be pulled by package dependency nor Puppet manifest.
   
   ```
   Error: /Stage[main]/Hadoop_zookeeper::Server/Package[zookeeper-server]/ensure: change from 'purged' to 'latest' failed: Could not update: Execution of '/usr/bin/dnf -d 0 -e 1 -y install zookeeper-server' returned 1: Error:
    Problem: conflicting requests
     - nothing provides /lib/lsb/init-functions needed by zookeeper-server-3.8.4-1.fc40.x86_64 from Bigtop_0
   ```
   
   This PR adds Fedora specific conditionals to the .spec files. While I think conditionals for SUSE and Megaia are obsolete and useless, I left them as-is. It should be removed by follow-up JIRAs.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4418. Fix installation failure of packages on Fedora 40 due to lack of /lib/lsb/init-functions. [bigtop]

Posted by "sekikn (via GitHub)" <gi...@apache.org>.
sekikn commented on PR #1345:
URL: https://github.com/apache/bigtop/pull/1345#issuecomment-2870997049

   +1, tested against ZK on Fedora 40. Thanks @iwasakims.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4418. Fix installation failure of packages on Fedora 40 due to lack of /lib/lsb/init-functions. [bigtop]

Posted by "iwasakims (via GitHub)" <gi...@apache.org>.
iwasakims commented on PR #1345:
URL: https://github.com/apache/bigtop/pull/1345#issuecomment-3065457776

   @laixiong redhat-lsb-core is provided by `devel` repository which is disabled by default on Rocky Linux 9. You need to enable it by `dnf config-manager --set-enabled devel` (or `dnf install --enablerepo=devel` on-the-fly).
   https://github.com/apache/bigtop/blob/master/bigtop-deploy/puppet/manifests/yumrepo.pp#L40-L43


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4418. Fix installation failure of packages on Fedora 40 due to lack of /lib/lsb/init-functions. [bigtop]

Posted by "iwasakims (via GitHub)" <gi...@apache.org>.
iwasakims commented on PR #1345:
URL: https://github.com/apache/bigtop/pull/1345#issuecomment-2870399173

   > Livy also seems to have init-functions in its requirements. Should it be fixed too?
   
   Yes. I updated the PR. Thanks.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4418. Fix installation failure of packages on Fedora 40 due to lack of /lib/lsb/init-functions. [bigtop]

Posted by "sekikn (via GitHub)" <gi...@apache.org>.
sekikn commented on PR #1345:
URL: https://github.com/apache/bigtop/pull/1345#issuecomment-2870217895

   @iwasakims Livy also seems to have init-functions in its requirements. Should it be fixed too?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4418. Fix installation failure of packages on Fedora 40 due to lack of /lib/lsb/init-functions. [bigtop]

Posted by "laixiong (via GitHub)" <gi...@apache.org>.
laixiong commented on PR #1345:
URL: https://github.com/apache/bigtop/pull/1345#issuecomment-3065204751

   Hi, thanks for the patch!
   
   I noticed that this PR replaces the hardcoded path dependency on /lib/lsb/init-functions with a conditional requirement on redhat-lsb-core for Fedora ≥ 40 and EL9 systems.
   
   However, on Rocky Linux 9 (and generally RHEL 9-based systems), the redhat-lsb-core package is no longer available in the official repositories. As a result, even though the RPM no longer directly depends on the path /lib/lsb/init-functions, it may still fail to install due to the missing package dependency.
   
   Could you please confirm whether, with this change, the resulting RPMs can now be installed successfully on Rocky Linux 9 without additional manual steps (like creating symlinks or building dummy packages)? Or would it still require further compatibility handling?
   
   Thanks again for your work on this!


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4418. Fix installation failure of packages on Fedora 40 due to lack of /lib/lsb/init-functions. [bigtop]

Posted by "iwasakims (via GitHub)" <gi...@apache.org>.
iwasakims merged PR #1345:
URL: https://github.com/apache/bigtop/pull/1345


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] BIGTOP-4418. Fix installation failure of packages on Fedora 40 due to lack of /lib/lsb/init-functions. [bigtop]

Posted by "iwasakims (via GitHub)" <gi...@apache.org>.
iwasakims commented on PR #1345:
URL: https://github.com/apache/bigtop/pull/1345#issuecomment-2871531681

   I merged this to master and branch-3.4. Thanks, @sekikn.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@bigtop.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org