GithubHelp home page GithubHelp logo

Comments (2)

nroi avatar nroi commented on August 19, 2024

Hi @cuberoot74088, thanks for reporting this.

I've installed zfs and tried to reproduce this, but I wasn't able to. This is my config:

$ uname -a
Linux archWS 5.16.14-arch1-1 #1 SMP PREEMPT Fri, 11 Mar 2022 17:40:36 +0000 x86_64 GNU/Linux

$ zfs version
zfs-2.1.3-1
zfs-kmod-2.1.3-1

However, something that surprised me when I read your logs is the following:

Unable to serve request "": 

Notice the empty string "": This looks like the request does not include an actual file name. I was able to get the same error message by running curl against flexo and requesting an empty path, like this:

curl -v 'http://localhost:7878' > /dev/null

Apparently, there's some input validation lacking, because Flexo should return a 400 in such cases. But instead, it translates the empty request to the path /var/cache/flexo/pkg/ (or whatever your cache_directory is) and then assumes that the request can be served from cache, because the path already exists on the file system. This obviously does not work, so it runs into IO-errors.

However, I'm surprised how you ran into this error. Requests sent by pacman should always include a filename (afaik). Is this issue reproducible for you? Can you give me a pacman command or whatever command you executed that resulted in this error?

from flexo.

cuberoot74088 avatar cuberoot74088 commented on August 19, 2024

Hi @nroi,
thank you very much for your rapid response.
I have now also upgraded to

Linux  5.16.14-arch1-1 #1 SMP PREEMPT Fri, 11 Mar 2022 17:40:36 +0000 x86_64 GNU/Linux

zfs-2.1.3-1
zfs-kmod-2.1.3-1

and can confirm that it is working. 👍

So, I guess we can close it then.
Thank you very much for testing it on your side as well.

from flexo.

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.