[ https://issues.apache.org/jira/browse/SOLR-15967?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17524192#comment-17524192 ]
Martin Häcker commented on SOLR-15967: -------------------------------------- I have since updated the systemd unit file to work around a problem I found with centos 7 versions of pod man that errored out when too many old images accumulated for the user. {code} # ansible managed - changes will be overwritten [Unit] Description=Apache SOLR search engine [Service] Type=simple User=solr Restart=always Environment="GODEBUG=netdns=go" # Need to remove the container first to build a new image with the same name ExecStartPre=-/usr/bin/podman container stop solr ExecStartPre=-/usr/bin/podman container rm solr # clean out old images so they don't pile up and crash podman as it eventually isn't abel to read the directory # with error: readdirent: too many open files ExecStartPre=/usr/bin/podman system prune --all --force ExecStartPre=/usr/bin/podman rmi --all --force # Ensure securiy updates are applied each time solr is restarted ExecStartPre=/usr/bin/podman build --pull --no-cache -f /home/solr/Dockerfile -t solr:8-security-updated ExecStart=/usr/bin/podman run --rm -it -v "/home/solr/data:/var/solr" -p 8983:8983 --name solr solr:8-security-updated ExecStop=/usr/bin/podman stop solr [Install] WantedBy=multi-user.target {code} Out of interest - did anything come from that discussion on the Mailinglist? Sorry, but it seems as a guest I cannot easily access the whole thread to read what is / was going on there. > Add rpm repo for red hat based distros > -------------------------------------- > > Key: SOLR-15967 > URL: https://issues.apache.org/jira/browse/SOLR-15967 > Project: Solr > Issue Type: New Feature > Security Level: Public(Default Security Level. Issues are Public) > Components: packages > Affects Versions: 8.11.1 > Environment: # uname -a > Linux my.host 3.10.0-1160.53.1.el7.x86_64 #1 SMP Fri Jan 14 13:59:45 UTC 2022 > x86_64 x86_64 x86_64 GNU/Linux > Reporter: Martin Häcker > Priority: Major > Labels: centos, centos7, debian, fedora, ubuntu > Attachments: Skjermbilde 2022-02-01 kl. 15.17.02.png > > > Hi there, > it's surprisingly hard to install Solr in a way where I can guarantee to > automatically get updates, especially security updates in a reliable manner, > as well as get a documented way to start / run Solr on my distro of choice. > What I am really looking for is an official rpm repository (and probably a > deb repo too) that I can add to my package manager and then install a package > that will give me all the updates I want, as well as starts the database with > a systemd file that is known good. > I in particular am looking for a centos 7 repository. > I think, that this would make installation of Solr so much easier. > What do you say? -- This message was sent by Atlassian Jira (v8.20.1#820001) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@solr.apache.org For additional commands, e-mail: issues-h...@solr.apache.org