Open AlexQuaken opened 10 months ago
@AlexQuaken привет!
Столкнулся с точной такой же проблемой, решил удалить самбу и собрать ее из исходников через AUR, но в итоге что-то настолько сильно сломалось что пришлось восстанавливать стим дек с флэшки.
Я обновил прошивку SteamOS до последней возможной, ввел некоторые изменения в текущий скрипт на гитхабе и пролил его, всё обрабатывается корректно:
➜ ~ sh -c "$(curl -fsSL https://raw.githubusercontent.com/malordin/steamdeck-samba-server/main/script.sh)"
WARNING: This script will install Samba server on your system.
Did you change the password via passwd? [Y/N] Y
Please enter your password: Continuing with Samba server installation...
Disabling steamos-readonly...
Editing pacman.conf file...
Initializing pacman keys...
Populating pacman keys...
==> Appending keys from archlinux.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2023-12-31
Installing samba...
:: Synchronizing package databases...
jupiter-3.5 is up to date
holo-3.5 is up to date
core-3.5 is up to date
extra-3.5 is up to date
community-3.5 is up to date
multilib-3.5 is up to date
resolving dependencies...
looking for conflicting packages...
Packages (1) samba-4.18.3-1
Total Installed Size: 56.41 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#######################################################] 100%
(1/1) checking package integrity [#######################################################] 100%
(1/1) loading package files [#######################################################] 100%
(1/1) checking for file conflicts [#######################################################] 100%
(1/1) checking available disk space [#######################################################] 100%
:: Processing package changes...
(1/1) installing samba [#######################################################] 100%
Optional dependencies for samba
python-dnspython: netads_dns.py, dnsresolver.py and traffic_packets.py
python-markdown: ms_schema_markdown.py and ms_forest_updates_markdown.py
python-cryptography: lockout_tests.py gp_cert_auto_enroll_ext.py gpo.py and kcrypto.py
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Creating temporary files...
/usr/lib/tmpfiles.d/steamos.conf:6: Duplicate line for path "/root", ignoring.
/usr/lib/tmpfiles.d/steamos.conf:23: Duplicate line for path "/var/empty", ignoring.
/usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path "/var/tmp", ignoring.
/usr/lib/tmpfiles.d/var.conf:19: Duplicate line for path "/var/cache", ignoring.
(3/3) Arming ConditionNeedsUpdate...
Writing new smb.conf file...
Adding 'deck' user to samba user database...
New SMB password:
Retype new SMB password:
Enabling and starting smb service...
Created symlink /etc/systemd/system/multi-user.target.wants/smb.service → /usr/lib/systemd/system/smb.service.
Restarting smb service...
Filesystem now read-only
Samba server set up successfully! You can access the 'steamapps', 'downloads' and 'mmcblk0p1' folders on your Steam Deck from any device on your local network.
Press Enter to continue...
➜ ~ sudo cat /etc/*-release
DISTRIB_ID="SteamOS"
DISTRIB_RELEASE="rolling"
DISTRIB_CODENAME="Holo"
DISTRIB_DESCRIPTION="SteamOS Holo"
NAME="SteamOS"
PRETTY_NAME="SteamOS"
VERSION_CODENAME=holo
ID=steamos
ID_LIKE=arch
ANSI_COLOR="1;35"
HOME_URL="https://www.steampowered.com/"
DOCUMENTATION_URL="https://support.steampowered.com/"
SUPPORT_URL="https://support.steampowered.com/"
BUG_REPORT_URL="https://support.steampowered.com/"
LOGO=steamos
VARIANT_ID=steamdeck
VERSION_ID=3.5.7
BUILD_ID=20231122.1
➜ ~
Предварительно я бы советовал попробовать удалить samba через команду sudo pacman -R samba
. Как я понимаю, при обновлении прошивки SteamOS обновляется какая-то библиотека которая работает не так как нужно с самбой, поэтому нужно немного потанцевать с бубном)
Не помогло ((, вроде сделал все аналогично с удалением и установкой заново, версия Stable
@. ~)$ sudo su
[sudo] password for deck:
@. deck)#
@. deck)#
@. deck)#
@. deck)#
@. deck)# pacman -R samba
checking dependencies...
:: libsoup optionally requires samba: Windows Domain SSO
:: libsoup3 optionally requires samba: Windows Domain SSO
Packages (1) samba-4.17.1-1
Total Removed Size: 56.35 MiB
:: Do you want to remove these packages? [Y/n] y
:: Processing package changes...
(1/1) removing samba [#######################################################] 100%
:: Running post-transaction hooks...
(1/2) Reloading system manager configuration...
(2/2) Arming ConditionNeedsUpdate...
@. deck)#
@. deck)#
@. deck)# sh -c "$(curl -fsSL https://raw.githubusercontent.com/malordin/steamdeck-samba-server/main/script.sh)"
WARNING: This script will install Samba server on your system.
Did you change the password via passwd? [Y/N] n
This script requires your password to work correctly. Please change your password via passwd and try again.
@. deck)# sh -c "$(curl -fsSL https://raw.githubusercontent.com/malordin/steamdeck-samba-server/main/script.sh)"
WARNING: This script will install Samba server on your system.
Did you change the password via passwd? [Y/N] y
Please enter your password: Continuing with Samba server installation...
Disabling steamos-readonly...
Warning: The rootfs is already read-write!
Nothing is performed.
Editing pacman.conf file...
Initializing pacman keys...
Populating pacman keys...
==> Appending keys from archlinux.gpg...
==> Updating trust database...
gpg: next trustdb check due at 2023-12-31
Installing samba...
:: Synchronizing package databases...
jupiter-rel is up to date
holo-rel is up to date
core-rel is up to date
extra-rel is up to date
community-rel is up to date
multilib-rel is up to date
resolving dependencies...
looking for conflicting packages...
Packages (1) samba-4.17.1-1
Total Installed Size: 56.35 MiB
:: Proceed with installation? [Y/n]
(1/1) checking keys in keyring [#######################################################] 100%
(1/1) checking package integrity [#######################################################] 100%
(1/1) loading package files [#######################################################] 100%
(1/1) checking for file conflicts [#######################################################] 100%
(1/1) checking available disk space [#######################################################] 100%
:: Processing package changes...
(1/1) installing samba [#######################################################] 100%
Optional dependencies for samba
python-dnspython: samba_dnsupdate and samba_upgradedns in AD setup
python-markdown: for samba-tool domain schemeupgrade
glusterfs: for vfs_glusterfs support
:: Running post-transaction hooks...
(1/3) Reloading system manager configuration...
(2/3) Creating temporary files...
/usr/lib/tmpfiles.d/steamos.conf:6: Duplicate line for path "/root", ignoring.
/usr/lib/tmpfiles.d/steamos.conf:23: Duplicate line for path "/var/empty", ignoring.
/usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path "/var/tmp", ignoring.
/usr/lib/tmpfiles.d/var.conf:19: Duplicate line for path "/var/cache", ignoring.
(3/3) Arming ConditionNeedsUpdate...
Writing new smb.conf file...
Adding 'deck' user to samba user database...
smbpasswd: /usr/lib/samba/libsamba3-util-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libmsrpc3-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libgenrand-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libreplace-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libcliauth-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/liblibsmb-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libsecrets3-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libsamba-debug-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
smbpasswd: /usr/lib/samba/libcli-smb-common-samba4.so: version SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libdcerpc-samba-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd)
Enabling and starting smb service...
Job for smb.service failed because the control process exited with error code.
See "systemctl status smb.service" and "journalctl -xeu smb.service" for details.
success
success
Restarting smb service...
Job for smb.service failed because the control process exited with error code.
See "systemctl status smb.service" and "journalctl -xeu smb.service" for details.
Filesystem now read-only
Samba server set up successfully! You can access the 'steamapps', 'downloads' and 'mmcblk0p1' folders on your Steam Deck from any device on your local network.
Press Enter to continue...
@. deck)# flatpack update
bash: flatpack: command not found
@. deck)# pacman update -y
error: invalid option '-y'
@. deck)# pacman update
error: no operation specified (use -h for help)
@. deck)# flatpak update
Looking for updates…
Nothing to do.
@. deck)#
@. deck)#
Вторник, 26 декабря 2023, 8:53 +02:00 от malordin @.***>: @AlexQuaken привет! Столкнулся с точной такой же проблемой, решил удалить самбу и собрать ее из исходников через AUR, но в итоге что-то настолько сильно сломалось что пришлось восстанавливать стим дек с флэшки. Я обновил прошивку SteamOS до последней возможной, ввел некоторые изменения в текущий скрипт на гитхабе и пролил его, всё обрабатывается корректно: ➜ ~ sh -c "$(curl -fsSL https://raw.githubusercontent.com/malordin/steamdeck-samba-server/main/script.sh)" WARNING: This script will install Samba server on your system. Did you change the password via passwd? [Y/N] Y Please enter your password: Continuing with Samba server installation... Disabling steamos-readonly... Editing pacman.conf file... Initializing pacman keys... Populating pacman keys... ==> Appending keys from archlinux.gpg... ==> Updating trust database... gpg: next trustdb check due at 2023-12-31 Installing samba... :: Synchronizing package databases... jupiter-3.5 is up to date holo-3.5 is up to date core-3.5 is up to date extra-3.5 is up to date community-3.5 is up to date multilib-3.5 is up to date resolving dependencies... looking for conflicting packages...
Packages (1) samba-4.18.3-1
Total Installed Size: 56.41 MiB
:: Proceed with installation? [Y/n] (1/1) checking keys in keyring [#######################################################] 100% (1/1) checking package integrity [#######################################################] 100% (1/1) loading package files [#######################################################] 100% (1/1) checking for file conflicts [#######################################################] 100% (1/1) checking available disk space [#######################################################] 100% :: Processing package changes... (1/1) installing samba [#######################################################] 100% Optional dependencies for samba python-dnspython: netads_dns.py, dnsresolver.py and traffic_packets.py python-markdown: ms_schema_markdown.py and ms_forest_updates_markdown.py python-cryptography: lockout_tests.py gp_cert_auto_enroll_ext.py gpo.py and kcrypto.py :: Running post-transaction hooks... (1/3) Reloading system manager configuration... (2/3) Creating temporary files... /usr/lib/tmpfiles.d/steamos.conf:6: Duplicate line for path "/root", ignoring. /usr/lib/tmpfiles.d/steamos.conf:23: Duplicate line for path "/var/empty", ignoring. /usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path "/var/tmp", ignoring. /usr/lib/tmpfiles.d/var.conf:19: Duplicate line for path "/var/cache", ignoring. (3/3) Arming ConditionNeedsUpdate... Writing new smb.conf file... Adding 'deck' user to samba user database... New SMB password: Retype new SMB password: Enabling and starting smb service... Created symlink /etc/systemd/system/multi-user.target.wants/smb.service → /usr/lib/systemd/system/smb.service. Restarting smb service... Filesystem now read-only Samba server set up successfully! You can access the 'steamapps', 'downloads' and 'mmcblk0p1' folders on your Steam Deck from any device on your local network. Press Enter to continue... ➜ ~ sudo cat /etc/*-release DISTRIB_ID="SteamOS" DISTRIB_RELEASE="rolling" DISTRIB_CODENAME="Holo" DISTRIB_DESCRIPTION="SteamOS Holo" NAME="SteamOS" PRETTY_NAME="SteamOS" VERSION_CODENAME=holo ID=steamos ID_LIKE=arch ANSI_COLOR="1;35" HOME_URL="https://www.steampowered.com/" DOCUMENTATION_URL="https://support.steampowered.com/" SUPPORT_URL="https://support.steampowered.com/" BUG_REPORT_URL="https://support.steampowered.com/" LOGO=steamos VARIANT_ID=steamdeck VERSION_ID=3.5.7 BUILD_ID=20231122.1 ➜ ~
Предварительно я бы советовал попробовать удалить samba через команду sudo pacman -R samba . Как я понимаю, при обновлении прошивки SteamOS обновляется какая-то библиотека которая работает не так как нужно с самбой, поэтому нужно немного потанцевать с бубном) — Reply to this email directly, view it on GitHub , or unsubscribe . You are receiving this because you were mentioned. Message ID: <malordin/steamdeck-samba-server/issues/8/1869308451 @ github . com>
Alex Отправлено из Почты Mail.ru
I have the same problem with my steamdeck after updating the OS, I cant seem to fix it, even after removing samba and reinstalling, I have also tried "sudo pacman -Rsnu samba" but that did not resolve the problem either
I'm using Arch linux and I'm having this same logs with samba sharing there's no smbd.service to start but samba pakage is installed on my system.
It depends on the SteamOS version. I have VERSION_ID=3.6.19 now and the library package requires samba 4.19. You can install it like this: sudo pacman -U https://steamdeck-packages.steamos.cloud/archlinux-mirror/extra-3.6/os/x86_64/samba-4.19.5-1-x86_64.pkg.tar.zst Otherwise, the script works.
It depends on the SteamOS version. I have VERSION_ID=3.6.19 now and the library package requires samba 4.19. You can install it like this: sudo pacman -U https://steamdeck-packages.steamos.cloud/archlinux-mirror/extra-3.6/os/x86_64/samba-4.19.5-1-x86_64.pkg.tar.zst Otherwise, the script works.
Thanks a lot, sudo pacman -U https://steamdeck-packages.steamos.cloud/archlinux-mirror/extra-3.6/os/x86_64/samba-4.19.5-1-x86_64.pkg.tar.zst, then reinstall script, samba now work.
Там проблема что репы в /etc/pacman.conf указаны от 3.5, нужно поменять на 3.6 и потом sudo pacman -Syyu. Ну и стоит обновить скрипт исходя из этого.
Ранее ставил уже раз 5 (после каждого обновления ессно слетает). При последней попытке вылезло вот такое, ни вручную ни автоматически не ставится, полагаю вопрос скорее не к скрипту но сам поправить версии не смог.
(1)(deck@steamdeck ~)$ sudo pacman -Sy samba :: Synchronizing package databases... jupiter-rel is up to date holo-rel is up to date core-rel is up to date extra-rel is up to date community-rel is up to date multilib-rel is up to date resolving dependencies... looking for conflicting packages...
Packages (1) samba-4.17.1-1
Total Installed Size: 56.35 MiB
:: Proceed with installation? [Y/n] y (1/1) checking keys in keyring [#######################################################] 100% (1/1) checking package integrity [#######################################################] 100% (1/1) loading package files [#######################################################] 100% (1/1) checking for file conflicts [#######################################################] 100% (1/1) checking available disk space [#######################################################] 100% :: Processing package changes... (1/1) installing samba [#######################################################] 100% Optional dependencies for samba python-dnspython: samba_dnsupdate and samba_upgradedns in AD setup python-markdown: for samba-tool domain schemeupgrade glusterfs: for vfs_glusterfs support :: Running post-transaction hooks... (1/3) Reloading system manager configuration... (2/3) Creating temporary files... /usr/lib/tmpfiles.d/steamos.conf:6: Duplicate line for path "/root", ignoring. /usr/lib/tmpfiles.d/steamos.conf:23: Duplicate line for path "/var/empty", ignoring. /usr/lib/tmpfiles.d/tmp.conf:12: Duplicate line for path "/var/tmp", ignoring. /usr/lib/tmpfiles.d/var.conf:19: Duplicate line for path "/var/cache", ignoring. (3/3) Arming ConditionNeedsUpdate... (deck@steamdeck ~)$ sudo systemctl enable smb.service (deck@steamdeck ~)$ sudo smbpasswd -a deck smbpasswd: /usr/lib/samba/libsamba3-util-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libmsrpc3-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libgenrand-samba4.so: versionSAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libreplace-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libcliauth-samba4.so: versionSAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/liblibsmb-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libsecrets3-samba4.so: versionSAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libsamba-debug-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libcli-smb-common-samba4.so: versionSAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) smbpasswd: /usr/lib/samba/libdcerpc-samba-samba4.so: version
SAMBA_4.17.1_SAMBA4' not found (required by smbpasswd) (1)(deck@steamdeck ~)$