Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 791184 - ssl-cert.eclass: gen_key() fails when pre-compiled binary package is being installed
Summary: ssl-cert.eclass: gen_key() fails when pre-compiled binary package is being in...
Status: UNCONFIRMED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Eclasses (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-05-20 10:15 UTC by Tomoatsu Shimada
Modified: 2023-01-12 19:47 UTC (History)
2 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Tomoatsu Shimada 2021-05-20 10:15:45 UTC
When package is being installed with emerge -k,  "environment" and "eclass-debug.log" are not there unser ${T} during install process.

In that case, "openssl genrsa" fails as gen_key() passes those filenames as random seed.

Reproducible: Always

Steps to Reproduce:
1. emerge -b apache
2. rm -rf /etc/ssl/apache2
3. emerge -k apache
Actual Results:  
Directory /etc/ssl/apache2 is not created

Expected Results:  
Default ssl cert is generated under /etc/ssl/apache2
Comment 1 Martin Dummer 2023-01-12 19:47:52 UTC
I am working on that.