GNOME Bugzilla – Bug 722410
Confusing error when attempting to commit device files to OSTree
Last modified: 2014-02-18 20:15:11 UTC
I tried to commit a filesystem that had some nodes in /dev created, and got this: error: Corrupted archive file; invalid mode 8576 It took a little while to work out the cause. A more helpful error would be something like: error: You cannot commit device nodes to an OSTree repo
https://git.gnome.org/browse/ostree/commit/?id=5034bf3a9d9afc3918fa2ffd106c43de2414072b
A quick note: OSTree *used* to support device files; it wasn't too hard to do. But there's also no good reason I could think of to do so, so I dropped it. On modern systemd systems, it's expected you use devtmpfs + udev. And no one really uses fifos anymore except sysvinit. Which in any case could easily go in /run and be created on boot.
This was fixed: