|
Bugzilla – Full Text Bug Listing |
| Summary: | encrypted user home can be created when already exist | ||
|---|---|---|---|
| Product: | [openSUSE] openSUSE 11.1 | Reporter: | Pavel Nemec <pnemec> |
| Component: | YaST2 | Assignee: | Jiří Suchomel <jsuchome> |
| Status: | RESOLVED FIXED | QA Contact: | Jiri Srain <jsrain> |
| Severity: | Normal | ||
| Priority: | P3 - Medium | CC: | jengelh |
| Version: | Alpha 2 | ||
| Target Milestone: | --- | ||
| Hardware: | Other | ||
| OS: | Other | ||
| Whiteboard: | |||
| Found By: | --- | Services Priority: | |
| Business Priority: | Blocker: | --- | |
| Marketing QA Status: | --- | IT Deployment: | --- |
| Attachments: |
requested y2logs
requested logs with Y2DEBUG=1 right logs testcase |
||
|
Description
Pavel Nemec
2008-09-12 07:46:37 UTC
Pavel, you might want to add y2logs (http://en.opensuse.org/Bugs/YaST) to this bug. Yes, you want to. Hm, ok I thought for a minute that exact reproduction steps are enough. Even when I expect that this behavior is totally hw independent. But I will provide them ASAP Created attachment 242266 [details]
requested y2logs
Forget to remove NEEDINFO. Created attachment 244867 [details]
requested logs with Y2DEBUG=1
These are some logs from installation (without Y2DEBUG btw), when yast2-users is not run. I need the logs of step 5: only yast2-users (on installed system, I assume) with Y2DEBUG. Created attachment 245073 [details]
right logs
I uploaded wrong logs, sorry.
Chris, what should I call when a) new user is not configured in pam_mount.conf.xml (= new installation), so I need to call cryptconfig b) the old image already exist and it should not be rewritten, but reused? For A you would just use the make-ehd command like normal. See cryptconfig make-ehd --help For B you can use the pm-enable command to setup pam_mount. This won't actually touch the image, just setup the configuration for it. See cryptconfig pm-enable --help pam_mount has its own ehd tool, pmt-ehd. (Or mkehd in the older scripts.) Created attachment 263728 [details]
testcase
OK, I finally got to this one. The problem is, that in that described scenario, data from pam_mount.xml are lost so YaST actually does not know which images are present and to which user they belong. And it is also true that during the new installation, img file is not lost, just new (empty) user directory is created. So I think acceptable solution is to fix this situation on next run of yast2-users (after the installation), when you would select 'use crypted directory' for that user and YaST would retake existing img file by selected user. Done in yast2-users-2.21.0 |