Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - Distributions > Bedrock Linux
User Name
Bedrock Linux This forum is for the discussion of Bedrock Linux.


  Search this Thread
Old 12-30-2022, 04:52 PM   #1
LQ Newbie
Registered: Dec 2022
Posts: 1

Rep: Reputation: 0
Unhappy Hijacked musl Void Linux with Btrfs causes readdir to always return DT_UNKNOWN

Hello, a couple days ago I hijacked my musl Void Linux install which I had been running for a month or so. The hijack went well after I switched to rEFInd from grub due to the incompatibility caused by grub+btrfs, but after rebooting I immediately noticed that my CapsLock to Esc key switch, which I achieved by using udevmon from interception-tools, stopped working, and it was because it could not read any of its configuration files (located in /etc/interception/udevmon.d/**.yaml).
So I decided to look further into this by first manually specifying some other config file located in a non-cross-stratum directory, but that didn't work either. So I decided to just manually build the program with debug symbols.
By then debugging the program I found that what's happening is that to know what are config files and what isn't, is to filter out everything that doesn't have a d_type of DT_REG or DT_LNK, but for some reason, when getting the directory entry for any file, readdir always returns DT_UNKOWN.
I'm not really sure if this is really caused by bedrock, but because this happened right after hijacking my OS, it is a safe guess, I think.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
musl-related issues on void linux GoodSolonius Linux - Software 3 12-28-2022 06:45 PM
LXer: Void Linux gave itself to the void, Korora needs a long siesta -- life is hard for small distros LXer Syndicated Linux News 0 05-16-2018 10:50 AM
Void Linux is... void black-clover Linux - Networking 8 11-23-2017 09:04 PM
pthread giving error: invalid conversion from ‘void* (*)(int*)’ to ‘void* (*)(void*)’ knobby67 Programming 4 05-05-2017 11:54 AM
void foo(void) and void foo() lackluster Programming 9 02-15-2003 11:57 AM > Forums > Linux Forums > Linux - Distributions > Bedrock Linux

All times are GMT -5. The time now is 04:59 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration