Skip to content
This repository was archived by the owner on Sep 18, 2020. It is now read-only.

Conversation

@marineam
Copy link
Contributor

The baselayout package now creates and installs /usr/lib/pam.d, causing
mv to fail. Move the contents instead which is happy with both versions.

# Move the PAM configuration into /usr
sudo mv ${root_fs_dir}/etc/pam.d ${root_fs_dir}/usr/lib
sudo mkdir -p ${root_fs_dir}/usr/lib/pam.d
sudo mv -n ${root_fs_dir}/etc/pam.d/* ${root_fs_dir}/usr/lib/pam.d/
Copy link
Contributor

Choose a reason for hiding this comment

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

Why no-clobber? Should we empty this directory before doing the move?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

The directory isn't and shouldn't be empty following the new baselayout version. I tossed in -n on the off chance that something weird happened. What I really want is "fail if you would have clobbered" but there isn't any such option.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

oh, I could do rmdir and that'll be that sanity check

Copy link
Contributor Author

Choose a reason for hiding this comment

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

updated

The baselayout package now creates and installs /usr/lib/pam.d, causing
mv to fail. Move the contents instead which is happy with both versions.
@crawford
Copy link
Contributor

LGTM

@marineam marineam merged commit 8ce4a15 into coreos:master Jun 13, 2016
@marineam marineam deleted the baselayout branch June 13, 2016 21:54
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants