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

used_free_uidgids.sh: new script to output information regarding free #359

Closed
wants to merge 1 commit into from

Conversation

jkroonza
Copy link
Contributor

and used UID and GID values.

Signed-off-by: Jaco Kroon [email protected]

@juippis
Copy link
Member

juippis commented Jan 19, 2021

Mostly that can it be stored in /bin or does some cron job run all the files there periodically. I believe this script should be hosted within api.git where it can be ran anytime someone is choosing a new UID+GID. Since it's getting increasingly difficult to find the next available UID+GID set manually.

EDIT: Picture how it looks:
https://dev.gentoo.org/~juippis/pics/free_uid_gid_by_jkroon.png

Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Writing such things in bash cause my brain to melt.

bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
Copy link
Member

@mgorny mgorny left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Always use ${brackets} when referencing variables, wrap some long lines, combine [[ ... ]] when possible.

bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
@jkroonza jkroonza force-pushed the used-free-uidgids branch 2 times, most recently from a8bbbfb to f22611b Compare January 22, 2021 06:24
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
@jkroonza jkroonza force-pushed the used-free-uidgids branch 2 times, most recently from e055df8 to 1e707db Compare January 26, 2021 14:43
bin/used_free_uidgids.sh Outdated Show resolved Hide resolved
@jkroonza jkroonza force-pushed the used-free-uidgids branch 2 times, most recently from e4d4ef9 to f4b2521 Compare January 26, 2021 18:09
and used UID and GID values.

Signed-off-by: Jaco Kroon <[email protected]>
@juippis
Copy link
Member

juippis commented Feb 4, 2021

What's the status here? Everything seems to have been resolved. @ulm @mgorny

@juippis
Copy link
Member

juippis commented Feb 9, 2021

f3639b2 thank you!

@juippis juippis closed this Feb 9, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants