question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Not able to create pipe files in /dev with supervisor-2021.02.6

See original GitHub issue

Describe 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

  1. Install addon
  2. Logs state missing pipe files

Anything in the Supervisor logs that might be useful for us?

No response

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:15
  • Comments:12 (6 by maintainers)

github_iconTop GitHub Comments

4reactions
Poeschlcommented, Feb 11, 2021

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.

2reactions
Poeschlcommented, Feb 11, 2021

Also most addons which are just a wrapper around existing software have no possibility to change the way the internal software works.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found