Skip to contentSkip to conversation

Humfs in 2.4.26-um1 bug

uml-devel Piotr Neuman 1 participant 1 message Jul 18, 2004 User-mode Linux (UML)

lore
Share & tools
lore
#0 lore raw

There is a bug in Humfs making ownerships() function misreport grup id (used by stat). The fix is in humfs-2.4.26-2-meta_tdb-1.patch.bz2 already so if you use that, there's no need to patch.

ps. I have seen lockups during 2.4.26-um2 bootup, redirecting all output (in bash for example by "&>") to file or /dev/null ;-) is a quick fix.

meta_fs.c +1 -1
Index: meta_fs.c
===================================================================
@@ -365,7 +365,7 @@
 	if(uid_out != NULL)
 		*uid_out = uid;
 	if(gid_out != NULL)
-		*gid_out = uid;
+		*gid_out = gid;
 	if(type_out != NULL)
 		*type_out = type;
 	if(maj_out != NULL)