-
Notifications
You must be signed in to change notification settings - Fork 14
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
Split specfile output for client and server #116
base: master
Are you sure you want to change the base?
Split specfile output for client and server #116
Conversation
keymaster.spec
Outdated
%description | ||
Simple utilites for checking state of ldap infrastructure | ||
Certificate based identity system. Contains both a daemon | ||
and a clients. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
typo: clients -> client
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
/usr/sbin/userdel keymaster | ||
systemctl daemon-reload | ||
|
||
|
||
%files |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think you can remove this line?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done
%{_bindir}/keymaster-unlocker | ||
/usr/lib/systemd/system/keymaster.service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should these be under %files client
as well? (since they are keymaster, not keymasterd)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
no, the service name is called keymaster. And is precisely what why are trying to split. Clientd do not need the systemd parts.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Intention is not 100% clear.
If the goal is to deprecate keymaster package and create keymaster-server and keymaster-client packages, then this works. Unsure if this is intended. Approving if that is the case.
The alternative would be to remove "%package server" and all references to server in other sections. This will allow the keymaster server to continue to simply be the keymaster rpm package and create a separate package for keymaster-client.
#%doc | ||
%{_sbindir}/keymasterd | ||
%{_bindir}/keymaster | ||
%{_bindir}/keymaster-unlocker | ||
/usr/lib/systemd/system/keymaster.service |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If we rename the package keymaster-server, shouldn't this service file also be renamed keymaster-server.service?
Sorry, clicked the wrong thing. Should be for line 92.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
As discussed elsewhere, please split into these packages:
- keymaster (CLI tool)
- keymasterd (Keymaster server)
- keymaster-eventmond
- keymaster-admin (keymaster-unlocker, new binary to create CA and config files)
What about the split out of |
No description provided.