Not able to create pipe files in /dev with supervisor-2021.02.6
See original GitHub issueDescribe the issue you are experiencing
With the change of device handling in the supervisor update to 2021.02.6 the pigpio addon of mine stopped working.
Now it can’t create its pipe devices /dev/pigerr
and /dev/pigpio
from inside the addon.
2021-02-10 01:01:16 myCreatePipe: Can't set permissions (434) for /dev/pigpio, No such file or directory
2021-02-10 01:01:16 pthFifoThread: fopen /dev/pigpio failed(No such file or directory)
Is there a way to allow specific device creation? Or create them beforehand?
What is the used version of the Supervisor?
supervisor-2021.02.6
What type of installation are you running?
Home Assistant OS
Which operating system are you running on?
Home Assistant Operating System
What is the version of your installed operating system?
5.11
What version of Home Assistant Core is installed?
core-2021.2.2
Steps to reproduce the issue
- Install addon
- Logs state missing pipe files
Anything in the Supervisor logs that might be useful for us?
No response
Issue Analytics
- State:
- Created 3 years ago
- Reactions:15
- Comments:12 (6 by maintainers)
Top Results From Across the Web
Can't write to named pipe - Stack Overflow
I'm trying to write to a named pipe, made with mkfifo. But when I run the command, (ex) ls > myNamedPipe , I...
Read more >Use `mkfifo` to create named pipe - Linux Tips
We can use mkfifo or mknod command to create a named pipe. A pipe is a structure which one end can send message...
Read more >Using named pipes - IBM
Named pipes differ from standard unnamed pipes, created using the pipe() function, in that they involve the creation of a real file that...
Read more >find a way to make psub --fifo safe from deadlock #1040 - GitHub
use mktemp(1) to generate temporary file names ... The ability to use named pipes when /dev/fd is not available was added to ksh93...
Read more >pipe(7) - Linux manual page - man7.org
A pipe is created using pipe(2), which creates a new pipe and returns two file descriptors, ... It is not possible to apply...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Just an idea:
Would it be possible to map the devices in
/dev
separately instead of the the whole/dev
folder? That way, the host devices would be mounted ro like now, but the addons could create their own independent devices there.Also most addons which are just a wrapper around existing software have no possibility to change the way the internal software works.