autofs 5.1.6 : segfault at startup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

Sorry in advance if it is not the right place for this type a question,
I am tottally noob in mailing list.

I try to use autofs on Solus 4.1 (http://getsol.us). It seems there is
some problem with their package since version 5.1.3 and I want to help
to solve the issue but I cannot figure what is the problem. 

I have try on fedora without any problem so I compare two strace to see
the difference but it did not help me. It seems to crash when it need
to read the map file.

Here is a link the issue with the initial description of the problem
and a link to the source build of the package :
https://dev.getsol.us/T9026
https://dev.getsol.us/source/autofs/

SOLUS 4.1:
filovitch@solus ~/Downloads $ sudo automount -f -d -v
Starting automounter version 5.1.6, master map auto.master
using kernel protocol version 5.05
lookup_nss_read_master: reading master files auto.master
lookup_read_master: lookup(file): read entry /misc
Segmentation fault

filovitch@solus ~/Downloads $ sudo strace automount -f -d -v
...
openat(AT_FDCWD, "/etc/auto.master", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1289, ...}) = 0
read(4, "#\n# Sample auto.master file\n# Th"..., 4096) = 1289
write(2, "lookup_read_master: lookup(file)"..., 50lookup_read_master:
lookup(file): read entry /misc) = 50
write(2, "\n", 1
)                       = 1
--- SIGSEGV {si_signo=SIGSEGV, si_code=SEGV_MAPERR, si_addr=NULL} ---
+++ killed by SIGSEGV (core dumped) +++
Segmentation fault

FEDORA 33:
[filovitch@localhost ~]$ sudo strace automount -f -d -v
...
openat(AT_FDCWD, "/etc/auto.master", O_RDONLY|O_CLOEXEC) = 4
fstat(4, {st_mode=S_IFREG|0644, st_size=1289, ...}) = 0
read(4, "#\n# Sample auto.master file\n# Th"..., 4096) = 1289
write(2, "lookup_read_master: lookup(file)"..., 50lookup_read_master:
lookup(file): read entry /misc) = 50
write(2, "\n", 1
)
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
ioctl(0, TCGETS, {B38400 opost isig icanon echo ...}) = 0
brk(NULL)                               = 0x55d0336bc000
brk(0x55d0336de000)                     = 0x55d0336de000
...

--
filovitch




[Index of Archives]     [Linux Filesystem Development]     [Linux Ext4]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux