Topic for #qi-hardware is now Copyleft hardware - http://qi-hardware.com | hardware hackers join here to discuss Ben NanoNote, atben / atusb 802.15.4 wireless, and other community driven hw projects | public logging at http://en.qi-hardware.com/irclogs
jluis has quit [Ping timeout: 245 seconds]
pabspabspabs is now known as pabs3
jluis has joined #qi-hardware
guanucoluis has joined #qi-hardware
guanucoluis has quit [Ping timeout: 246 seconds]
xiangfu has joined #qi-hardware
freakazoid0223 has joined #qi-hardware
fire_ has joined #qi-hardware
he2 has joined #qi-hardware
fire_ has quit [Ping timeout: 240 seconds]
rejon has joined #qi-hardware
kristianpaul has quit [Ping timeout: 260 seconds]
kristianpaul has joined #qi-hardware
kristianpaul has quit [Changing host]
kristianpaul has joined #qi-hardware
he2 has quit [Ping timeout: 260 seconds]
fire_ has joined #qi-hardware
kristianpaul has quit [Ping timeout: 260 seconds]
kristianpaul has joined #qi-hardware
kristianpaul has quit [Changing host]
kristianpaul has joined #qi-hardware
guanucoluis has joined #qi-hardware
kristianpaul has quit [Remote host closed the connection]
kristianpaul has joined #qi-hardware
kristianpaul has quit [Changing host]
kristianpaul has joined #qi-hardware
nikescar has quit [Read error: Connection reset by peer]
nikescar has joined #qi-hardware
urandom_ has quit [Quit: Konversation terminated!]
fire_ has quit [Ping timeout: 240 seconds]
wolfspra1l has quit [Quit: leaving]
wolfspraul has joined #qi-hardware
guanucoluis has quit [Ping timeout: 246 seconds]
fire_ has joined #qi-hardware
guanucoluis has joined #qi-hardware
guanucoluis has quit [Ping timeout: 246 seconds]
rejon has quit [Ping timeout: 255 seconds]
rejon has joined #qi-hardware
DocScrutinizer05 has quit [Disconnected by services]
DocScrutinizer05 has joined #qi-hardware
emeb has quit [Quit: Leaving.]
xiangfu has quit [Ping timeout: 255 seconds]
xiangfu has joined #qi-hardware
Ayla has quit [Quit: dodo]
jekhor has joined #qi-hardware
kristoffer has joined #qi-hardware
rejon has quit [Remote host closed the connection]
porchao has quit [Ping timeout: 246 seconds]
porchao has joined #qi-hardware
rejon has joined #qi-hardware
kilae has joined #qi-hardware
fire_ has quit [Quit: WeeChat 0.3.8]
kristoffer has quit [Read error: Connection reset by peer]
kristoffer has joined #qi-hardware
xiangfu has quit [Ping timeout: 240 seconds]
xiangfu has joined #qi-hardware
xiangfu has quit [Ping timeout: 256 seconds]
hellekin has quit [Ping timeout: 246 seconds]
hellekin has joined #qi-hardware
rejon has quit [Ping timeout: 246 seconds]
he2 has joined #qi-hardware
he2 has quit [Remote host closed the connection]
antoniodariuh_ has joined #qi-hardware
antoniodariuh_ has quit [Client Quit]
xiangfu has joined #qi-hardware
xiangfu has quit [Read error: Connection reset by peer]
wej has quit [Ping timeout: 260 seconds]
wej has joined #qi-hardware
Jurting has joined #qi-hardware
kristoffer has quit [Quit: Leaving]
xiangfu has joined #qi-hardware
cladamw has joined #qi-hardware
cladamw has quit [Quit: Ex-Chat]
xiangfu has quit [Ping timeout: 252 seconds]
woakas has joined #qi-hardware
dandon has quit [Ping timeout: 240 seconds]
dandon has joined #qi-hardware
heberth has joined #qi-hardware
lekernel_ has joined #qi-hardware
lekernel has quit [Ping timeout: 246 seconds]
rejon has joined #qi-hardware
lekernel__ has joined #qi-hardware
lekernel_ has quit [Ping timeout: 240 seconds]
emeb has joined #qi-hardware
porchaso0 has joined #qi-hardware
porchao has quit [Ping timeout: 255 seconds]
Ayla has joined #qi-hardware
lekernel__ has quit [Quit: Konversation terminated!]
lekernel has joined #qi-hardware
urandom__ has joined #qi-hardware
rejon has quit [Ping timeout: 260 seconds]
heberth has quit [Quit: leaving]
Ayla has quit [Read error: Connection reset by peer]
Ayla has joined #qi-hardware
Ayla is now known as AwAyla
kilae_ has joined #qi-hardware
kilae has quit [Ping timeout: 248 seconds]
GNUtoo-desktop has joined #qi-hardware
heberth has joined #qi-hardware
Freemor has joined #qi-hardware
Jurting has quit [Remote host closed the connection]
heberth_ has joined #qi-hardware
heberth has quit [Ping timeout: 248 seconds]
<kyak> jow_laptop: have you ever encountered an "Error: output file cannot be in the UBIFS root directory" in mkfs.ubifs? Obviously, the output file is not requested to be located in ubifs root
<kyak> seems like a bug in mkfs.ubifs
Jurting has joined #qi-hardware
<kyak> seems like this problem has appeared recently
lekernel has quit [Ping timeout: 240 seconds]
lekernel has joined #qi-hardware
kristoffer has joined #qi-hardware
<kyak> but mkfs.ubifs.c hadn't really changed.. i supposed it doesn't like something.. maybe some links in root-xburst
heberth_ has quit [Ping timeout: 240 seconds]
<kyak> hah
heberth has joined #qi-hardware
<kyak> mkfs.ubifs fails miserable because /home directory is not readable for user
<kyak> and there is a code trying to traverse directories doing open(dir_name, O_RDONLY);
<kyak> perhaps it returns something mkfs.ubifs doesn't expect
<wpwrak> if you run as root, does it work then ? or if you make /home user-readable
<wpwrak> the complaint about the root directory seems rather bogus anyway. i.e., would a subdirectory be any better ?
<kyak> it works if i run as root
<kyak> this shit is reproducible, see:
<wpwrak> maybe it's just a case of bad error checking ?
<kyak> cd ~; mkdir -p /tmp/wtf/wtf1; chmod u-r /tmp/wtf; mkfs.ubifs -m 4096 -e 516096 -c 4095 -d /tmp/wtf/wtf1 -o mytest.img
<kyak> this is a real bad checking if the file (-o) is inside the root (-d)
<kyak> you can have a look at in_path(..) in mkfs.ubifs.c
<kyak> mytest.img is not inside /tmp/wtf/wtf1, but mkfs.ubifs fails because /tmp/wtf is not readable
<wpwrak> yeah, that's what i meant
<wpwrak> actually, the error message already raised a red flag for me
<kyak> i think i will post to their mailing list really fast
<kyak> since i don't want to reveal my /home yet :)
<wpwrak> i suppose the purpose of this is to avoid trying to add the output file to its own input. that's a very reasonable precaution
<kyak> yep, indeed
<wpwrak> but the implementation seems to only consider one special case, out of many
<kyak> but maybe the way this check is done is not quite good
<kyak> so we agree :)
<wpwrak> so the error message is either unusually specific (i.e., it would also catch other cases but complain in a different way), or
<wpwrak> they were just too lazy to handle the general case, or
Freemor has left #qi-hardware [#qi-hardware]
<wpwrak> they didn't quite realize what the general case is.
AwAyla is now known as Ayla
<wpwrak> laziness or lack of understanding are reason to distrust what else is there
<wpwrak> i call such things "negative competence markers" :)
<kyak> but i'm not going to look into a solution/workaround, because i'm both lazy and uncompetent :)
<wpwrak> heh :)
<wpwrak> well, with running as root, you already have a solution :)
<wpwrak> now join the fight against those stupid programs that tell you not to do things under root ;-)
<kyak> i'd rather set the /home back to readable than build openwrt as root :)
<kyak> i had ocassions several times when my packages wanted to touch the host filesystem :)
<wpwrak> how cowardly ;-)
<kyak> --)
xdpirate has joined #qi-hardware
<kyak> though i realize it won't probably be fixed without a suggested patch :)
<kyak> i remember how i tried to submit a three-line patch to linux kernel.. Never ever i will do that again
<kyak> it's much more efficient just to apply this patch locally on every kernel update than to push anything to linux kernel
<wpwrak> huh ? never had much trouble with kernel patches
<larsc> back in your days nobody cared about code quality ;)
<wpwrak> of course not. the folks writing bad code hadn't even noticed linux at that time, let alone submitted patches :)
<larsc> hehe
<kyak> this is how i gave up
<kyak> there was a pre-story, when i posted to the "wrong ML".. who it knew it should go to "net-next"
heberth has quit [Ping timeout: 244 seconds]
<kyak> back to mtd; on a second thought, it might be not trivial at all to find if a file is in directory or subdirectories
heberth has joined #qi-hardware
<kyak> have to handle all types of shit, like links and mount --bind and whatnot
<kyak> so i've sent that patch 5 times, just checked my outbox
<kyak> "wrong ML and no right people in cc", then "no proper sign-offs", then something else, at last "git am your_patch" fails."
<kyak> too much for two lines of actual code, how do you think?
<whitequark> kyak: the fact that your patch is 2-line doesn't mean it shouldn't be reviewed as throughly as a 1000-line one
<whitequark> e.g. remember the trivial, 2-line patch in openssl which exposed all keys in Debian for 2 years?
kristoffer has quit [Quit: Leaving]
heberth has quit [Quit: leaving]
kilae has joined #qi-hardware
kilae_ has quit [Ping timeout: 260 seconds]
Jay7 has quit [Ping timeout: 246 seconds]
Jay7 has joined #qi-hardware
kilae has quit [Quit: ChatZilla 0.9.89 [Firefox 15.0.1/20120905151427]]
porchao has joined #qi-hardware
heberth has joined #qi-hardware
porchaso0 has quit [Ping timeout: 255 seconds]
bzb has joined #qi-hardware
LunaVorax has joined #qi-hardware
GNUtoo-desktop has quit [Quit: [INFO] fsogsmd : received signal -11, exiting.]
heberth has quit [Read error: Connection reset by peer]
heberth has joined #qi-hardware
heberth has quit [Read error: Connection reset by peer]
heberth has joined #qi-hardware
jekhor has quit [Ping timeout: 260 seconds]
jluis has quit [Ping timeout: 245 seconds]
jluis has joined #qi-hardware
dandon has quit [Quit: .]
LunaVorax has quit [Ping timeout: 256 seconds]
bzb has quit [Quit: Leaving]
xdpirate has quit [Quit: http://gamelauncher.pvpsucks.com/]
heberth has quit [Read error: Connection reset by peer]
heberth has joined #qi-hardware