[ 
https://issues.apache.org/jira/browse/VCL-915?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16005458#comment-16005458
 ] 

ASF subversion and git services commented on VCL-915:
-----------------------------------------------------

Commit 1794763 from [email protected] in branch 'vcl/trunk'
[ https://svn.apache.org/r1794763 ]

VCL-915
Renamed subroutines to make them easier to find in a list:
* Linux.pm::mount_nfs_share --> nfs_mount_share
* Linux.pm::unmount_nfs_share --> nfs_unmount_share

Added OS.pm::unmount_nfs_shares which reverts what mount_nfs_shares does for 
the sanitize stage.

Added code to nfs_mount_share and nfs_unmount_share to add/remove corresponding 
lines from /etc/fstab.

Added code to delete the local mount directory after unmounting if it is empty. 
Also added code to delete the local directory if nfs_mount_share fails and the 
directory did not exist beforehand.

Added call to OS.pm::unmount_nfs_shares in Linux.pm::sanitize.

Reworked how the Linux code caches service info:
* Added Linux.pm::_delete_cached_service_info
* Added $no_cache argument to Linux.pm::service_exists

Added calls to Linux.pm::_delete_cached_service_info to install_package 
subroutines.

Removed service_exists subroutine from systemd.pm. By design it should be a 
utility module and shouldn't ever check this. All logic should be in Linux.pm.

Fixed parsing issue in SysV.pm. It was considering a line beginning with 
"Info:" to be a service name.

Other
Found a few locations where lines were missing trailing semicolons but no Perl 
warnings were being generated.

> Add ability to automatically mount NFS share when user logs in
> --------------------------------------------------------------
>
>                 Key: VCL-915
>                 URL: https://issues.apache.org/jira/browse/VCL-915
>             Project: VCL
>          Issue Type: New Feature
>          Components: vcld (backend), web gui (frontend)
>            Reporter: Andy Kurth
>             Fix For: 2.5
>
>
> It would be beneficial if NFS shares could be mounted automatically when a 
> user logs in to the reservation computer.  Ideally, this would be 
> configurable on a per management node, per user, per user group basis.
> For VCL 2.5, this feature will only be implemented on a per-management node 
> basis and should work with both Linux and Windows images.



--
This message was sent by Atlassian JIRA
(v6.3.15#6346)

Reply via email to