summaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
authorRob Crittenden <rcritten@redhat.com>2015-04-09 19:20:03 -0400
committerPatrick Uiterwijk <puiterwijk@redhat.com>2015-04-13 18:30:37 +0200
commitf73332fb7d55bd5753a8bafc2493172203fcf377 (patch)
treec6eeb53e1b16519bbd01d9b041b406259826ab16 /tests
parentc4c121e57516ffb70b980ea1fbafe1e6f8611c3f (diff)
downloadipsilon-f73332fb7d55bd5753a8bafc2493172203fcf377.tar.gz
ipsilon-f73332fb7d55bd5753a8bafc2493172203fcf377.tar.xz
ipsilon-f73332fb7d55bd5753a8bafc2493172203fcf377.zip
Better error handling for login mgrs in server install/uninstall
The purpose is to catch it when either no modules are enabled or if you try to set the login module order and one of them is not available/installed, then fail gracefully. There were some baked-in assumptions that all login providers are installed. Add some error handling around trying to determine what is available, and rather than trying to force pam to be enabled just exit with a handy message. Don't rely on lm_order during uninstall. Use the list of enabled Login managers instead. Bail out of argument checking if uninstall is requested. https://fedorahosted.org/ipsilon/ticket/105 Signed-off-by: Rob Crittenden <rcritten@redhat.com> Reviewed-by: Patrick Uiterwijk <puiterwijk@redhat.com>
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions