Bug 887140

Summary: New .mount files can't be enabled to boot on startup
Product: [Fedora] Fedora Reporter: Vasiliy Glazov <vascom2>
Component: systemdAssignee: systemd-maint
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 17CC: arthur-fayzullin, johannbg, lnykryn, metherid, mschmidt, msekleta, notting, plautrba, systemd-maint, vpavlin
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2013-05-06 17:49:47 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Vasiliy Glazov 2012-12-14 06:33:32 UTC
Description of problem:
New .mount files can't be enabled to boot on startup via systemctl tool. It can be done only with manual ln -s linking to target directory.

Version-Release number of selected component (if applicable):
systemd-44-21.fc17.x86_64
kernel-3.6.9-2.fc17.x86_64
All packages up to date.

How reproducible:
Always

Steps to Reproduce:
1. Create new .mount file
2. Link it to /etc/systemd/system/
3. systemctl enable mnt-disk_c.mount
  
Actual results:
Failed to issue method call: No such file or directory

Expected results:
No output

Additional info:
Other commans work good: status, start...
It can be mounted manually systemctl start mnt-disk_c.mount

The same bug in F18.

Comment 1 Arthur 2012-12-14 06:36:26 UTC
+1 so am I :(

Comment 2 Michal Schmidt 2012-12-14 15:42:44 UTC
(In reply to comment #0)
> Steps to Reproduce:
> 1. Create new .mount file
> 2. Link it to /etc/systemd/system/

Does it work if the unit file is stored directly in the /etc/systemd/system/ directory, rather than merely symlinked there?

Comment 3 Vasiliy Glazov 2012-12-14 17:36:25 UTC
Yes, it work if the unit file is stored directly in the /etc/systemd/system/ directory.

Comment 4 Lennart Poettering 2013-05-06 17:49:47 UTC

*** This bug has been marked as a duplicate of bug 955379 ***