Bug 30641 - a function to detect if the binary being run will need libgcc_s
Summary: a function to detect if the binary being run will need libgcc_s
Status: NEW
Alias: None
Product: Sisyphus
Classification: Development
Component: chrooted (show other bugs)
Version: unstable
Hardware: all Linux
: P3 normal
Assignee: placeholder@altlinux.org
QA Contact: qa-sisyphus
URL:
Keywords:
Depends on:
Blocks: 25280 30639 30640
  Show dependency tree
 
Reported: 2015-01-11 01:50 MSK by Ivan Zakharyaschev
Modified: 2015-01-11 01:50 MSK (History)
3 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ivan Zakharyaschev 2015-01-11 01:50:11 MSK
Some programs would need libgcc_s.so.1 in their chroot during their work. 

3 examples: 

* slapd -- https://bugzilla.altlinux.org/show_bug.cgi?id=25280
* policyd -- https://bugzilla.altlinux.org/show_bug.cgi?id=30639
* pdnsd -- https://bugzilla.altlinux.org/show_bug.cgi?id=30640

So, to detect this, any chrooted program's configuration should call a function on the program's binary which would tell whether it would need any additional libs (such as libgcc_s) in the chroot during their work and copy them if needed.