Mailinglist Archive: opensuse (686 mails)

< Previous Next >
[opensuse] systemd dependency question
  • From: Greg Freemyer <greg.freemyer@xxxxxxxxx>
  • Date: Wed, 31 Jul 2013 10:03:32 -0400
  • Message-id: <CAGpXXZLJrbSr7guGowtDU7kaAh++umY=z_=h8HWpR3MLZhZ0rA@mail.gmail.com>
All,

I'm hitting my first real systemd problem. This may be a trivial
problem, I just don't know what the steps are to fix it.

How do I get it to only depend on /srv/maildirs, not all of /srv?

btw: I know how to fix the NFS error below. I want to know how to
prevent it from killing postfix for no reason.

-- details

I have postfix setup to deliver mail to the /srv/maildirs tree. It
was working before I started experimenting with a NFS mount point I'm
trying to setup unrelated to postfix.

I'm testing a NFS mount for use with sftp. I've got it doing bind
links in the /srv/sftp directory tree. Those bind links may or may be
right as I test. Also I currently have /srv_new as the mount point
for a NFS share. Postfix should have no dependency on: NFS mount on
/srv_new, nor of the bind mounts within /srv/sftp

Somehow that is interacting with my postfix setup, but they seem to be
conflicting.

Here's the transcript of a what I just tried:
===
# date; rcpostfix start
Wed Jul 31 09:51:00 EDT 2013
redirecting to systemctl start postfix
A dependency job for postfix.service failed. See 'journalctl -n' for details.
cloud1:/srv/sftp # journalctl -n

-- Logs begin at Mon, 2013-07-29 16:35:21 EDT, end at Wed, 2013-07-31
09:51:00 EDT. --
Jul 31 09:51:00 <server> mount[8565]: mount.nfs: an incorrect mount
option was specified
Jul 31 09:51:00 <server> systemd[1]: srv_new.mount mount process
exited, code=exited status=32
Jul 31 09:51:00 <server> systemd[1]: Failed to mount /srv_new.
Jul 31 09:51:00 <server> systemd[1]: Dependency failed for Remote File Systems.
Jul 31 09:51:00 <server> systemd[1]: Dependency failed for Postfix
Mail Transport Agent.
Jul 31 09:51:00 <server> systemd[1]: Job postfix.service/start failed
with result 'dependency'.
Jul 31 09:51:00 <server> systemd[1]: Job remote-fs.target/start failed
with result 'dependency'.
Jul 31 09:51:00 <server> systemd[1]: Dependency failed for
/srv/sftp/GUEST/incoming.
Jul 31 09:51:00 <server> systemd[1]: Job
srv-sftp-GUEST-incoming.mount/start failed with result 'dependency'.
Jul 31 09:51:00 <server> systemd[1]: Unit srv_new.mount entered failed state

Greg
--
Greg Freemyer
--
To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
This Thread
  • No further messages