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

Fixes #8837: Makke uuidgen a single point of uuid generation #1039

Conversation

peckpeck
Copy link
Member

@peckpeck peckpeck commented Sep 9, 2016

@peckpeck peckpeck force-pushed the bug_8837/makke_uuidgen_a_single_point_of_uuid_generation branch from 8e8bd39 to cbfdfb1 Compare September 9, 2016 10:11
@peckpeck
Copy link
Member Author

peckpeck commented Sep 9, 2016

Commit modified

@peckpeck peckpeck force-pushed the bug_8837/makke_uuidgen_a_single_point_of_uuid_generation branch from cbfdfb1 to a054f16 Compare September 9, 2016 10:14
@peckpeck
Copy link
Member Author

peckpeck commented Sep 9, 2016

Commit modified

1 similar comment
@peckpeck
Copy link
Member Author

peckpeck commented Sep 9, 2016

Commit modified

@peckpeck peckpeck force-pushed the bug_8837/makke_uuidgen_a_single_point_of_uuid_generation branch 2 times, most recently from e7dac95 to 2813ce3 Compare September 12, 2016 09:07
@peckpeck
Copy link
Member Author

Commit modified

setfacl -R -k /var/rudder/
fi
fi

# launch rudder agent check script, it will generate an UUID on first install or repair it if needed
nohup /opt/rudder/bin/check-rudder-agent >/dev/null 2>/dev/null &
${RUDDER_CMD} agent check >> ${LOG_FILE} 1>&1
Copy link
Member

Choose a reason for hiding this comment

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

Why removing the nohup?

Copy link
Member Author

Choose a reason for hiding this comment

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

Because it is not needed (agent check is quick) and if the check fails, i means the agent has failed to install properly, so we should keep its result in the postinstall

@peckpeck peckpeck force-pushed the bug_8837/makke_uuidgen_a_single_point_of_uuid_generation branch from 2813ce3 to c01c2bc Compare September 12, 2016 09:16
@peckpeck
Copy link
Member Author

Commit modified

@Kegeruneku
Copy link

Looks good to me

@peckpeck peckpeck force-pushed the bug_8837/makke_uuidgen_a_single_point_of_uuid_generation branch from c01c2bc to 5b14b8f Compare September 12, 2016 09:24
@peckpeck
Copy link
Member Author

Commit modified

@Normation-Quality-Assistant
Copy link
Contributor

OK, merging this PR

@Normation-Quality-Assistant Normation-Quality-Assistant merged commit 5b14b8f into Normation:master Sep 12, 2016
@peckpeck peckpeck deleted the bug_8837/makke_uuidgen_a_single_point_of_uuid_generation branch July 13, 2020 14:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants