Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug
Bug#: 171561
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Crypto team <crypto@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: Oliver Welter <gentoo@oliwel.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
app-crypt-tpm-emulator-0.5.tgz ebuild and helper files application/octet-stream Oliver Welter 2007-03-20 14:49 0000 1.88 KB Details
tpm-emulator-0.5.ebuild tpm-emulator-0.5.ebuild text/plain Alon Bar-Lev (RETIRED) 2007-03-31 18:30 0000 1.46 KB Details
tpm-emulator.initd files/tpm-emulator.initd text/plain Alon Bar-Lev (RETIRED) 2007-03-31 18:30 0000 1.07 KB Details
tpm-emulator.udev files/tpm-emulator.udev text/plain Alon Bar-Lev (RETIRED) 2007-03-31 18:31 0000 67 bytes Details
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 171561 depends on: Show dependency tree
Bug 171561 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2007-03-20 13:57 0000
The version of app-crypt/tpm-emulator is very outdated. 
The new version has major improvements.
Ebuild for installing current version 0.5 attached, product is installed and
tested on my machine without errors 

Reproducible: Always

------- Comment #1 From Oliver Welter 2007-03-20 14:49:57 0000 -------
Created an attachment (id=113873) [details]
ebuild and helper files

------- Comment #2 From Alon Bar-Lev (RETIRED) 2007-03-21 16:04:29 0000 -------
Thank you for your report.

Next time, please:
1. Attach individual files to bug, not archives.
2. If an existing file is modify please attach only diff.
3. Please explain any architecture changes.

Issues:
1. Why you removed the kernel modules from ebuild? Should we add a new ebuild
for this?
2. The checkconfig device handling should be done using udev rule and not
manually.
3. What is the /dev/tpm0 story?

Thanks!

------- Comment #3 From Oliver Welter 2007-03-29 06:44:50 0000 -------
Hi Alon,

1. Why you removed the kernel modules from ebuild? Should we add a new ebuild
for this?
The Makefile of the original package takes care of the module, so I left the
Makefile unchanged. 

2. The checkconfig device handling should be done using udev rule and not
manually.

I copied this over from the trousers script, I am not that familiar with udev,
sorry...if you give me a pointer I will try.

3. What is the /dev/tpm0 story?
Several apps use /dev/tpm0 and do not allow this to be configured, while the
emulator creates /dev/tpm. I use this workaround for a long time now and it
does the job. 

Oliver

------- Comment #4 From Alon Bar-Lev (RETIRED) 2007-03-31 18:30:30 0000 -------
Created an attachment (id=115069) [details]
tpm-emulator-0.5.ebuild

------- Comment #5 From Alon Bar-Lev (RETIRED) 2007-03-31 18:30:48 0000 -------
Created an attachment (id=115070) [details]
files/tpm-emulator.initd

------- Comment #6 From Alon Bar-Lev (RETIRED) 2007-03-31 18:31:03 0000 -------
Created an attachment (id=115071) [details]
files/tpm-emulator.udev

------- Comment #7 From Alon Bar-Lev (RETIRED) 2007-03-31 18:35:36 0000 -------
This was an effort...
Please check this.

Issues for upstram:

1. Allow specifying LDFLAGS, current fix is:
sed -i 's/LDFLAGS :=/override LDFLAGS +=/g' tpmd/Makefile

2. Put runtime state in /var/run/tpm and not /var/tpm, or allow specifying it
externally. Current fix is:
sed -i 's#/var/tpm#/var/run/tpm#g' tpmd/tpmd.c tddl/tddl.c
tpm_dev/linux_module.c

3. Ask upstream to separate kernel module build and userspace.

4. "make install" should allow to use DESTDIR to install into temperary
location, current solution is to install manually.

5. "make install" does not use "install" command, so file attributes are not
set correctly, current solution is to install manually.

6. Upstream should add udev rules to distribution.

------- Comment #8 From Alon Bar-Lev (RETIRED) 2007-03-31 18:51:16 0000 -------
https://developer.berlios.de/feature/index.php?func=detailfeature&feature_id=3304&group_id=2491

------- Comment #9 From Alon Bar-Lev (RETIRED) 2007-06-23 20:02:08 0000 -------
Upstream does not seems to be responsive at all.

Bug List: (This bug is not in your last search results)   Show last search results      Search page      Enter new bug