Uh oh!
There was an error while loading. Please reload this page.
Properly apt-get install inn2 in a GitHub Action. - #310
Conversation
Julien-Elie
commented
Sep 15, 2024
Couldn't the sample be provided as an example instead of being run at each push or pull request? Installing the inn2 package provided with stock Ubuntu (currently
The last time I heard someone installing INN in Docker, the trick was to create the configuration file in /etc/news/inn.conf before installing the inn2 package. You can put |
cclauss
commented
Sep 15, 2024
Thanks for this review. I agree that should be a contrib and we do not need this to run on each PR after we get it to work. I need help getting this action to work before we move it to I will work on your suggestion above this evening. |
cclauss
commented
Sep 15, 2024
|
It is a working inn.conf file that should be pre-installed (like the one the inn2 package installs), not an inn.conf file with only one line for the |
Julien-Elie
commented
Sep 15, 2024
Alternately, maybe it would be easier to create an /etc/hostname file? Or whatever preferred value for your container. INN uses the value returned by |
OK... On my own repo https://github.com/cclauss/inn2-in-docker I am getting closer to a solution.
In any case, where I could use help now is on the proof that inn2 is functioning properly. Things like:
|
Julien-Elie
commented
Sep 15, 2024
Oh, great news you managed to make it work! For commands to test the installation, including posting articles, you may want to see the autopkgtest script Marco wrote for the inn2 Debian package. Otherwise, using inews to post an article, and sm to retrieve it would work. |
2246419 to
fc84600CompareDemonstrate how to properly `apt-get install inn2` in a GitHub Action. Configure the inn2 instance so that other code can test interactions with the inn2 server. Much of this project's documentation covers how to build inn2 from source. It would be helpful if there were working examples of how to `apt-get install inn2` in Docker or in a GitHub Action. I have been struggling to do so for a few hours without success.
OK. The GitHub Action works as I wished... On push, pull_request, and workflow_dispatch the Action does:
I will move that all into the Now, I would like to use the lessons learned to create a Docker image but without an At build-time in both Debian and Ubuntu containers, At Docker build-time, it has proven quite tricky to change the output of Dockerfile: % |
Julien-Elie
commented
Sep 17, 2024
Hi Christian! Thanks for your work. What are the reasons for the failure of
Yes, I agree the sample GitHub Actions could go to |
Julien-Elie
commented
Sep 17, 2024
You should ask the Debian maintainer via opening an inn2 bug for this feature. A custom preseed file could for instance be implemented for setting |
cclauss
commented
Sep 18, 2024
|
Julien-Elie
commented
Dec 22, 2024
As |
Julien-Elie
commented
Mar 30, 2025
cclauss
commented
Mar 30, 2025
Sorry for the delay. I will revise these pull requests this week. |
cclauss
commented
Apr 25, 2025
Which INN config files must be modified to get two INN2 servers to exchange news articles?
|
Julien-Elie
commented
May 24, 2026
Yes, the 3 config files you mentioned (newsfeeds, incoming.conf and innfeed.conf) are the ones to parameterize in order to feed news articles with NNTP. There's also the possibility to use UUCP but it is more complicated to set up, and it adds a delay. Any possibility to find out where the segfault you face with occurs? |
Julien-Elie
commented
Aug 17, 2026
Let's commit your current working GitHub Action example to the |
Demonstrate how to properly
apt-get install inn2in a GitHub Action. Configure the inn2 instance so that other code can test interactions with the inn2 server.Much of this project's documentation covers how to build inn2 from source. It would be helpful if there were working examples of how to properly
apt-get install inn2in Docker or in a GitHub Action. I have been struggling to do so for a few hours without success.We probably need
hostname=localhostanddomain=localhost.localdomainbut I have been unable to get it right.