ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Alexei V. Mezin" <alexei@nanoscantech.ru>
To: Sisyphus@lists.altlinux.org
Subject: [sisyphus] systemd разучился монтировать CIFS?
Date: Sat, 7 Oct 2017 23:36:39 +0300
Message-ID: <0bf1edc2-d4bd-ae04-bcaa-088612d59b64@gmail.com> (raw)

Давным давно все было настроено, все работало. А тут вдруг обнаружилось, 
что не получается зайти на автомонтируемую 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= нету.


             reply	other threads:[~2017-10-07 20:36 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-10-07 20:36 Alexei V. Mezin [this message]
2017-10-07 20:43 ` Alexei V. Mezin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0bf1edc2-d4bd-ae04-bcaa-088612d59b64@gmail.com \
    --to=alexei@nanoscantech.ru \
    --cc=Sisyphus@lists.altlinux.org \
    --cc=alexei.mezin@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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