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

Bug#552778: udev: preinst fails to detect kernel symbols ???sys_inotify_init??? and ???sys_signalfd???



On Oct 28, Ben Finney <ben+debian@benfinney.id.au> wrote:

Does anybody know why, and if ther are other architecture-specific
cases I need to care about? I checked pescetti.d.o which is powerpc,
but it has regular symbols.

As a workaround you can create /etc/udev/kernel-upgrade and then
manually stop/restart udevd.

> The symbols *do* appear in the kernel symbol table, but they are named
> with a leading period (I don't know why), so the following regex
> succeeds in matching the symbols:
> 
> =====
> $ needed_symbols='sys_inotify_init sys_signalfd'
> $ for symbol in $needed_symbols; do egrep "^[a-fA-F0-9]+ T \.${symbol}$" /proc/kallsyms; done
> c000000000170e00 T .sys_inotify_init
> c000000000172e84 T .sys_signalfd
> $
> =====

> Kernel: Linux 2.6.30-2-powerpc64 (SMP w/2 CPU cores)

-- 
ciao,
Marco

Attachment: signature.asc
Description: Digital signature


Reply to: