Bug 40887 - Не работает монтирование сетевой папки с помощью pam_mount
Summary: Не работает монтирование сетевой папки с помощью pam_mount
Status: ASSIGNED
Alias: None
Product: Branch p10
Classification: Unclassified
Component: cifs-utils (show other bugs)
Version: не указана
Hardware: x86_64 Linux
: P5 normal
Assignee: Evgeny Sinelnikov
QA Contact: qa-p10@altlinux.org
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2021-09-09 11:17 MSK by Alexander Makeenkov
Modified: 2021-10-19 09:38 MSK (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alexander Makeenkov 2021-09-09 11:17:23 MSK
При логине пользователя в систему сетевая папка не монтируется с помощью pam_mount.

В логах journalctl такие ошибки:

cifs.upcall[5483]: switch_to_process_ns: setns() failed for cgroup
cifs.upcall[5483]: unable to switch to process namespace: Operation not permitted
cifs.upcall[5483]: Exit status 1

cifs-utils-6.13-alt2

В p9 не воспроизводится.

Проблема известна:
https://bugs.archlinux.org/task/70521
https://www.spinics.net/lists/linux-cifs/msg21549.html
Comment 1 Evgeny Sinelnikov 2021-09-12 05:55:52 MSK
Забрал патч из арча:
https://www.spinics.net/lists/linux-cifs/msg21551.html

"I'll open a task on the Arch bugtracker and let the package maintainer
decide what to do with the package until a proper fix is done."
Comment 2 Evgeny Sinelnikov 2021-09-12 06:50:16 MSK
Для тестов готова сборка:
#285066 BUILDING #2 [locked] [test-only] p9 cifs-utils.git=6.13-alt3
#285065 BUILDING #2 [locked] [test-only] p10 cifs-utils.git=6.13-alt3
#285064 TESTED #3 [test-only] sisyphus cifs-utils.git=6.13-alt3