Git Product home page Git Product logo

Comments (6)

Coachonko avatar Coachonko commented on June 9, 2024

I gave up.

from podman.

rhatdan avatar rhatdan commented on June 9, 2024

We have seen issues with apps failing because the start before the network stack is up. If you added requirements to make sure the network stack is up, your redis server might work better.

from podman.

ygalblum avatar ygalblum commented on June 9, 2024

I was able to reproduce this issue with both 4.6.1 and 4.9.4 and it does seem related to the symlink.

I'm looking into this issue, but fixes will only be part of future versions. So, for 4.6.x the solution is not to use symlinks.

from podman.

ygalblum avatar ygalblum commented on June 9, 2024

@Coachonko Are you sure that manually running systemctl daemon-reload generates the service? For me it does not work when the symlink is in /etc/containers/systemd

from podman.

ygalblum avatar ygalblum commented on June 9, 2024

After further testing, I found that the success or failure of the procedure does depend on the location of the actual file and only for system services.
When the actual file was under /tmp and linked from /etc/containers/systemd, Quadlet failed to open the file resulting in open /etc/containers/systemd/test-redis.container: no such file or directory (I had to make some changes to the code to see the print). However, storing the file under ~/tmp/ with a similar symlink worked.
Can you please elaborate on where the actual file is stored?

from podman.

Coachonko avatar Coachonko commented on June 9, 2024

Thank you for trying to reproduce the issue, I had already given up, I do not have the project set up any longer so I cannot attempt to repro it any more.
The file used to be in my user's home dir, in this exact path: /home/coachonko/Documents/projects/containers/deploy/nginx.container
I did do a symbolic link of the nginx.container file to the /etc/containers/systemd/ directory.
systemctl daemon-reload did generate the service.

If I will need to use containers again on this version of podman I will use hard file copies and stay away from symbolic links.

from podman.

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.