ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] systemd разучился монтировать CIFS?
@ 2017-10-07 20:36 Alexei V. Mezin
  2017-10-07 20:43 ` Alexei V. Mezin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexei V. Mezin @ 2017-10-07 20:36 UTC (permalink / raw)
  To: Sisyphus

Давным давно все было настроено, все работало. А тут вдруг обнаружилось, 
что не получается зайти на автомонтируемую CIFS-шару. С серверной 
стороны минимальные настройки, никакого пароля, smbclient'ом я 
подключаюсь и все вижу. А systemd в логи пишет

systemd[1]: BOOKS.automount: Got automount request for /BOOKS, triggered 
by 14628 (bash)
kernel: CIFS: Unknown mount option "passwd="""
kernel: CIFS: Unknown mount option "passwd="""
systemd[1]: Mounting /ALT/BOOKS Samba share...
systemd[1]: BOOKS.mount: Mount process exited, code=exited status=32
systemd[1]: Failed to mount /ALT/BOOKS Samba share.
mount[15197]: sh: systemd-ask-password: команда не найдена
systemd[1]: BOOKS.mount: Unit entered failed state.
mount[15205]: sh: systemd-ask-password: команда не найдена
systemd[1]: BOOKS.automount: Got automount request for /BOOKS, triggered 
by 14628 (bash)
mount[15197]: Password for guest@//192.168.0.254/books: mount error(22): 
Invalid argument
mount[15197]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
systemd[1]: Mounting /ALT/BOOKS Samba share...
mount[15205]: Password for guest@//192.168.0.254/books: mount error(22): 
Invalid argument
mount[15205]: Refer to the mount.cifs(8) manual page (e.g. man mount.cifs)
systemd[1]: BOOKS.mount: Mount process exited, code=exited status=32
systemd[1]: Failed to mount /ALT/BOOKS Samba share.
systemd[1]: BOOKS.mount: Unit entered failed state.


Во-первых, если этой поделке нужен какой-то systemd-ask-password, то в 
каком пакете он находится, и почему не установлен по умолчанию?

Во-вторых, man mount.cifs говорит, что есть параметр password=, а 
никакого passwd= нету.


^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [sisyphus] systemd разучился монтировать CIFS?
  2017-10-07 20:36 [sisyphus] systemd разучился монтировать CIFS? Alexei V. Mezin
@ 2017-10-07 20:43 ` Alexei V. Mezin
  0 siblings, 0 replies; 2+ messages in thread
From: Alexei V. Mezin @ 2017-10-07 20:43 UTC (permalink / raw)
  To: sisyphus

07.10.2017 23:36, Alexei V. Mezin пишет:
> Давным давно все было настроено, все работало.

Хотя в итоге оказывается, что сломалась samba, а не systemd. И это она 
разучилась понимать параметры. :( Пришлось переучивать конфиги.



^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2017-10-07 20:43 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-07 20:36 [sisyphus] systemd разучился монтировать CIFS? Alexei V. Mezin
2017-10-07 20:43 ` Alexei V. Mezin

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.sisyphus


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git