Bug 25512

Summary: chroot and run as rpcbind user broken
Product: Sisyphus Reporter: Sergey Vlasov <vsu>
Component: rpcbindAssignee: Sergey Bolshakov <sbolshakov>
Status: CLOSED FIXED QA Contact: qa-sisyphus
Severity: critical    
Priority: P3 CC: sbolshakov
Version: unstable   
Hardware: all   
OS: Linux   

Description Sergey Vlasov 2011-04-25 23:35:59 MSK
В rpcbind-0.2.1-alt0.4 (на самом деле ещё в 0.2.1-alt0.3) сломались изменения, добавлявшие поддержку chroot и работу под пользователем rpc по умолчанию.  В результате сейчас не работает даже service rpcbind restart:

# killall rpcbind
# service rpcbind start
Starting rpcbind service:                                               [ DONE ]
# service rpcbind restart
Service rpcbind is not running.                                         [PASSED]
Starting rpcbind service: rpcbind: another rpcbind is already running. Aborting
                                                                        [FAILED]

В выводе ps можно наблюдать, что процесс rpcbind выполняется с правами root (поэтому start-stop-daemon --expect-user=rpc его и не видит). Кроме того, прямо в корневом каталоге появляются файлы /rpcbind.xdr и /portmap.xdr.
Comment 1 Sergey Bolshakov 2011-04-26 00:18:35 MSK
fixed in rpcbind-0.2.1-alt0.5