Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

bsdmainutils requirement limits gcbmgr to debian distros #684

Closed
tpepper opened this issue Mar 22, 2019 · 10 comments
Closed

bsdmainutils requirement limits gcbmgr to debian distros #684

tpepper opened this issue Mar 22, 2019 · 10 comments
Assignees
Labels
area/release-eng Issues or PRs related to the Release Engineering subproject lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/release Categorizes an issue or PR as relevant to SIG Release.
Milestone

Comments

@tpepper
Copy link
Member

tpepper commented Mar 22, 2019

In pull request #667

commit e7685c51783afc6577bac7cb787c9e5a783c159a
Author: Hannes Hörl <[email protected]>
Date:   Mon Feb 25 09:17:29 2019 +0000

    Make sure essential packages are installed

adds "bsdmainutils" package to the gcbmgr package check list. Lacking this package installed on Fedora, the following is displayed:

Checking required system packages: FAILED
PREREQ: Missing prerequisites: bsdmainutils Run the following and try again:

$ sudo dnf install bsdmainutils

Exiting...

That does not work as there is no bsdmainutils package in the Fedora ecosystem.

Debian info for the package indicates quite a number of utilities:

It provides banner (as printerbanner), calendar, col, colcrt, colrm, column, from (as bsd-from), hexdump (or hd), look, lorder, ncal (or cal), ul, and write (as bsd-write).

These come from a variety of locations in Fedora.

@tpepper tpepper changed the title bsdmainutils requirement limits gbrmgr to debian distros bsdmainutils requirement limits gcbmgr to debian distros Mar 22, 2019
@tpepper
Copy link
Member Author

tpepper commented Mar 22, 2019

I'm guessing it was pulled in for 'column', which Fedora gets via util-linux.

@justaugustus
Copy link
Member

/milestone v1.15
/priority important-soon
/area release-eng

@k8s-ci-robot k8s-ci-robot added this to the v1.15 milestone May 1, 2019
@k8s-ci-robot k8s-ci-robot added priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. area/release-eng Issues or PRs related to the Release Engineering subproject labels May 1, 2019
@pswica
Copy link
Contributor

pswica commented May 21, 2019

What would you think of changing common::check_packages to something like:

for prereq in $*; do
    command -v $PREREQ > /dev/null 2>&1 || missing+=($prereq)
done

if ((${#missing[@]}>0)); then
    logecho -r "$FAILED"
    logecho "PREREQ: Missing prerequisites: ${missing[@]}"
    return 1
fi

Where the prerequisites are binaries rather than packages. This way, when distributions differ on package management there's no need to update the script. I assume that whoever is using the script can figure out how to install the required bins.

I'm a bit new to contributing to open source, and this repo, so apologies if I'm making assumptions. Let me know if you think this is good idea and I can try a PR.

@pswica
Copy link
Contributor

pswica commented Jun 28, 2019

@hoegaarden
My PR above should have resolved this. Let me know if it's good to close

@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 26, 2019
@idealhack
Copy link
Member

/remove-lifecycle stale

since the change of linked PR got reverted later after its merge.

@k8s-ci-robot k8s-ci-robot removed the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Sep 29, 2019
@justaugustus justaugustus added the sig/release Categorizes an issue or PR as relevant to SIG Release. label Dec 9, 2019
@fejta-bot
Copy link

Issues go stale after 90d of inactivity.
Mark the issue as fresh with /remove-lifecycle stale.
Stale issues rot after an additional 30d of inactivity and eventually close.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle stale

@k8s-ci-robot k8s-ci-robot added the lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. label Mar 8, 2020
@fejta-bot
Copy link

Stale issues rot after 30d of inactivity.
Mark the issue as fresh with /remove-lifecycle rotten.
Rotten issues close after an additional 30d of inactivity.

If this issue is safe to close now please do so with /close.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/lifecycle rotten

@k8s-ci-robot k8s-ci-robot added lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. and removed lifecycle/stale Denotes an issue or PR has remained open with no activity and has become stale. labels Apr 7, 2020
@fejta-bot
Copy link

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

@k8s-ci-robot
Copy link
Contributor

@fejta-bot: Closing this issue.

In response to this:

Rotten issues close after 30d of inactivity.
Reopen the issue with /reopen.
Mark the issue as fresh with /remove-lifecycle rotten.

Send feedback to sig-testing, kubernetes/test-infra and/or fejta.
/close

Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/release-eng Issues or PRs related to the Release Engineering subproject lifecycle/rotten Denotes an issue or PR that has aged beyond stale and will be auto-closed. priority/important-soon Must be staffed and worked on either currently, or very soon, ideally in time for the next release. sig/release Categorizes an issue or PR as relevant to SIG Release.
Projects
None yet
Development

No branches or pull requests

7 participants