Displaying 1 result from an estimated 1 matches for "mtab_writ".
2001 Oct 24
3
a bug in ext3 code for 2.4.7
...onding ext3 patch. The problem I
have is that when I startup I get a panic in a kernel. I started
to debug util-linux and found that mount does a segmentation fault when
trying to open /etc/mtab file.
The segmentation fault ocurrs on open() call inside mtab_is_writable()
procedure:
printf("mtab_writable: pass 1\n");
if (ret == -1) {
int fd;
if (!MOUNTED) printf("mtab_writable: MOUNTED=null\n");
fd = open("/etc/passwd", O_RDWR | O_CREAT, 0644);
printf("mtab_writable: could open /etc/passwd with no probs\n");
printf("mtab_writable: opening f...