Coder Social home page Coder Social logo

Comments (5)

martinpitt avatar martinpitt commented on August 16, 2024

Apparently the "anaconda" package ships that, but this has waaaay to heavy dependencies:

Installing:
 anaconda-core                                        x86_64                     21.48.22.121-1.el7.centos                        base                        1.6 M
Installing for dependencies:
 GeoIP                                                x86_64                     1.5.0-11.el7                                     base                        1.1 M
 NetworkManager                                       x86_64                     1:1.8.0-11.el7_4                                 updates                     1.6 M
 NetworkManager-glib                                  x86_64                     1:1.8.0-11.el7_4                                 updates                     1.1 M
 NetworkManager-libnm                                 x86_64                     1:1.8.0-11.el7_4                                 updates                     1.2 M
 NetworkManager-ppp                                   x86_64                     1:1.8.0-11.el7_4                                 updates                     157 k
 NetworkManager-team                                  x86_64                     1:1.8.0-11.el7_4                                 updates                     156 k
 anaconda-tui                                         x86_64                     21.48.22.121-1.el7.centos                        base                        279 k
 augeas-libs                                          x86_64                     1.4.0-2.el7_4.2                                  updates                     355 k
 authconfig                                           x86_64                     6.2.8-30.el7                                     base                        424 k
 bind-libs-lite                                       x86_64                     32:9.9.4-51.el7_4.2                              updates                     733 k
 boost-system                                         x86_64                     1.53.0-27.el7                                    base                         40 k
 boost-thread                                         x86_64                     1.53.0-27.el7                                    base                         57 k
 btrfs-progs                                          x86_64                     4.9.1-1.el7                                      base                        678 k
 chrony                                               x86_64                     3.1-2.el7.centos                                 base                        237 k
 createrepo                                           noarch                     0.9.9-28.el7                                     base                         94 k
 cryptsetup                                           x86_64                     1.7.4-3.el7_4.1                                  updates                     128 k
 cryptsetup-python                                    x86_64                     1.7.4-3.el7_4.1                                  updates                      35 k
 deltarpm                                             x86_64                     3.6-3.el7                                        base                         82 k
 device-mapper-event                                  x86_64                     7:1.02.140-8.el7                                 base                        180 k
 device-mapper-event-libs                             x86_64                     7:1.02.140-8.el7                                 base                        179 k
 device-mapper-multipath                              x86_64                     0.4.9-111.el7_4.2                                updates                     134 k
 device-mapper-multipath-libs                         x86_64                     0.4.9-111.el7_4.2                                updates                     252 k
 device-mapper-persistent-data                        x86_64                     0.7.0-0.1.rc6.el7_4.1                            updates                     400 k
 dhclient                                             x86_64                     12:4.2.5-58.el7.centos.1                         updates                     282 k
 dhcp-common                                          x86_64                     12:4.2.5-58.el7.centos.1                         updates                     174 k
 dhcp-libs                                            x86_64                     12:4.2.5-58.el7.centos.1                         updates                     130 k
 dmidecode                                            x86_64                     1:3.0-5.el7                                      base                         88 k
 dmraid                                               x86_64                     1.0.0.rc16-28.el7                                base                        151 k
 dmraid-events                                        x86_64                     1.0.0.rc16-28.el7                                base                         21 k
 dracut-network                                       x86_64                     033-502.el7_4.1                                  updates                      98 k
 ebtables                                             x86_64                     2.0.10-15.el7                                    base                        123 k
 ethtool                                              x86_64                     2:4.8-1.el7                                      base                        123 k
 fcoe-utils                                           x86_64                     1.0.32-1.el7                                     base                        120 k
 fipscheck                                            x86_64                     1.4.1-6.el7                                      base                         21 k
 fipscheck-lib                                        x86_64                     1.4.1-6.el7                                      base                         11 k
 firewalld                                            noarch                     0.4.4.4-6.el7                                    base                        416 k
 firewalld-filesystem                                 noarch                     0.4.4.4-6.el7                                    base                         47 k
 grubby                                               x86_64                     8.28-23.el7                                      base                         70 k
 ipset                                                x86_64                     6.29-1.el7                                       base                         41 k
 ipset-libs                                           x86_64                     6.29-1.el7                                       base                         54 k
 iscsi-initiator-utils                                x86_64                     6.2.0.874-4.el7                                  base                        420 k
 iscsi-initiator-utils-iscsiuio                       x86_64                     6.2.0.874-4.el7                                  base                         90 k
 jansson                                              x86_64                     2.10-1.el7                                       base                         37 k
 json-c                                               x86_64                     0.11-4.el7_0                                     base                         31 k
 kbd                                                  x86_64                     1.15.5-13.el7                                    base                        346 k
 kbd-legacy                                           noarch                     1.15.5-13.el7                                    base                        465 k
 kbd-misc                                             noarch                     1.15.5-13.el7                                    base                        1.4 M
 kernel                                               x86_64                     3.10.0-693.17.1.el7                              updates                      43 M
 kexec-tools                                          x86_64                     2.0.14-17.2.el7                                  updates                     333 k
 langtable                                            noarch                     0.0.31-3.el7                                     base                         32 k
 langtable-data                                       noarch                     0.0.31-3.el7                                     base                        620 k
 langtable-python                                     noarch                     0.0.31-3.el7                                     base                         28 k
 libaio                                               x86_64                     0.3.109-13.el7                                   base                         24 k
 libarchive                                           x86_64                     3.1.2-10.el7_2                                   base                        318 k
 libconfig                                            x86_64                     1.4.9-5.el7                                      base                         59 k
 libdaemon                                            x86_64                     0.14-7.el7                                       base                         30 k
 libedit                                              x86_64                     3.0-12.20121213cvs.el7                           base                         92 k
 libmodman                                            x86_64                     2.0.1-8.el7                                      base                         28 k
 libndp                                               x86_64                     1.2-7.el7                                        base                         31 k
 libnl3                                               x86_64                     3.2.28-4.el7                                     base                        278 k
 libnl3-cli                                           x86_64                     3.2.28-4.el7                                     base                        160 k
 libpcap                                              x86_64                     14:1.5.3-9.el7                                   base                        138 k
 libproxy                                             x86_64                     0.4.11-10.el7                                    base                         64 k
 librados2                                            x86_64                     1:0.94.5-2.el7                                   base                        1.7 M
 libreport                                            x86_64                     2.1.11-38.el7.centos                             base                        451 k
 libreport-anaconda                                   x86_64                     2.1.11-38.el7.centos                             base                         49 k
 libreport-cli                                        x86_64                     2.1.11-38.el7.centos                             base                         51 k
 libreport-filesystem                                 x86_64                     2.1.11-38.el7.centos                             base                         39 k
 libreport-plugin-bugzilla                            x86_64                     2.1.11-38.el7.centos                             base                         87 k
 libreport-plugin-reportuploader                      x86_64                     2.1.11-38.el7.centos                             base                         63 k
 libreport-plugin-rhtsupport                          x86_64                     2.1.11-38.el7.centos                             base                         73 k
 libreport-python                                     x86_64                     2.1.11-38.el7.centos                             base                         68 k
 libreport-rhel-anaconda-bugzilla                     x86_64                     2.1.11-38.el7.centos                             base                         41 k
 libreport-web                                        x86_64                     2.1.11-38.el7.centos                             base                         56 k
 libseccomp                                           x86_64                     2.3.1-3.el7                                      base                         56 k
 libselinux-utils                                     x86_64                     2.5-11.el7                                       base                        151 k
 libtar                                               x86_64                     1.2.11-29.el7                                    base                         33 k
 libteam                                              x86_64                     1.25-5.el7                                       base                         47 k
 libuser-python                                       x86_64                     0.60-7.el7_1                                     base                         52 k
 linux-firmware                                       noarch                     20170606-58.gitc990aae.el7_4                     updates                      35 M
 lldpad                                               x86_64                     1.0.1-3.git036e314.el7                           base                        283 k
 lsof                                                 x86_64                     4.87-4.el7                                       base                        331 k
 lvm2                                                 x86_64                     7:2.02.171-8.el7                                 base                        1.3 M
 lvm2-libs                                            x86_64                     7:2.02.171-8.el7                                 base                        1.0 M
 make                                                 x86_64                     1:3.82-23.el7                                    base                        420 k
 mdadm                                                x86_64                     4.0-5.el7                                        base                        428 k
 newt                                                 x86_64                     0.52.15-4.el7                                    base                        105 k
 newt-python                                          x86_64                     0.52.15-4.el7                                    base                         54 k
 oddjob                                               x86_64                     0.31.5-4.el7                                     base                         69 k
 oddjob-mkhomedir                                     x86_64                     0.31.5-4.el7                                     base                         38 k
 openssh                                              x86_64                     7.4p1-13.el7_4                                   updates                     509 k
 openssh-clients                                      x86_64                     7.4p1-13.el7_4                                   updates                     654 k
 openssl                                              x86_64                     1:1.0.2k-8.el7                                   base                        492 k
 policycoreutils                                      x86_64                     2.5-17.1.el7                                     base                        858 k
 ppp                                                  x86_64                     2.4.5-33.el7                                     base                        357 k
 pyparted                                             x86_64                     1:3.9-13.el7                                     base                        195 k
 python-IPy                                           noarch                     0.75-6.el7                                       base                         32 k
 python-blivet                                        noarch                     1:0.61.15.65-1.el7                               base                        811 k
 python-coverage                                      x86_64                     3.6-0.5.b3.el7                                   base                        153 k
 python-decorator                                     noarch                     3.4.0-3.el7                                      base                         27 k
 python-deltarpm                                      x86_64                     3.6-3.el7                                        base                         31 k
 python-firewall                                      noarch                     0.4.4.4-6.el7                                    base                        325 k
 python-meh                                           noarch                     0.25.2-1.el7                                     base                         84 k
 python-nss                                           x86_64                     0.16.0-3.el7                                     base                        266 k
 python-ntplib                                        noarch                     0.3.2-1.el7                                      base                         15 k
 python-pwquality                                     x86_64                     1.2.3-4.el7                                      base                         11 k
 python-pyblock                                       x86_64                     0.53-6.el7                                       base                         72 k
 python-pyudev                                        noarch                     0.15-9.el7                                       base                         55 k
 python-slip                                          noarch                     0.4.0-2.el7                                      base                         30 k
 python-slip-dbus                                     noarch                     0.4.0-2.el7                                      base                         31 k
 pytz                                                 noarch                     2016.10-2.el7                                    base                         46 k
 realmd                                               x86_64                     0.16.1-9.el7                                     base                        208 k
 rsync                                                x86_64                     3.0.9-18.el7                                     base                        360 k
 satyr                                                x86_64                     0.13-14.el7                                      base                        538 k
 sgpio                                                x86_64                     1.2.0.10-13.el7                                  base                         13 k
 slang                                                x86_64                     2.2.4-11.el7                                     base                        512 k
 snappy                                               x86_64                     1.1.0-3.el7                                      base                         40 k
 systemd-sysv                                         x86_64                     219-42.el7_4.7                                   updates                      71 k

None of that, including anaconda itself, is appropriate to install into a container, and a lot of this doesn't belong forced upon a server either. As for RHEL/CentOS 7 it's impractical to split out the python module, could lorax-composer remove the dependency again? Perhaps you can instead using signals or messages on a socket or Unix pipe if that needs to transcend processes, or something even simpler if it's just within lorax-composer?

from lorax.

bcl avatar bcl commented on August 16, 2024

lorax-composer needs anaconda-tui which satisfies this import.

from lorax.

martinpitt avatar martinpitt commented on August 16, 2024

@bcl: This isn't true both in the current COPR version nor in the spec file in master. Merely installing the package does not pull in the required dependencies, which is what this bug is about. Please reopen.

from lorax.

martinpitt avatar martinpitt commented on August 16, 2024

anaconda-tui also doesn't help much - it still pulls in 125 MB (compressed) stuff, many of which must not be forced upon a server (like realmd, NetworkManager, mozjs, chrony, teamd, ppp, and many others) and even less belongs into a container (it pulls in systemd, tons of libraries, etc.). This is just simply a ginormous overhead for a simple queue Python object - can you please just copy that bit, or use a different implementation?

from lorax.

bcl avatar bcl commented on August 16, 2024

lorax-composer uses Anaconda so it's always going to be pulling in anaconda-tui. I'll get the spec file updated in the next build since it can now actually use it.

from lorax.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.