Commit graph

38 commits

Author SHA1 Message Date
Raphael Dannecker
14822ebb47 Revert "Switch to systemd automount ..." and "krb5.conf from ..."
SMB automount seems to have major problems with multiuser mounts.
For the first logged in user, everything seems to be fine.
For every following logged in user, strange things will happen (e.g. firefox has problems showing the webdev console).

This reverts following commits:
 - 9df6c93636 (Switch to systemd automount for /srv/samba/schools/default-school)
 - f08c06d7a6 (krb5.conf from package krb5-user ist require)
2025-07-28 10:32:07 +02:00
Raphael Dannecker
5c1d2d0ce5 Revert "Enable POSIX SMB mount option through cifsopt variable"
POSIX mode works only with linux 6.15

This reverts commit 83744196e1.
2025-07-28 10:21:47 +02:00
Raphael Dannecker
83744196e1 Enable POSIX SMB mount option through cifsopt variable 2025-07-18 12:16:48 +02:00
Raphael Dannecker
9df6c93636 Switch to systemd automount for /srv/samba/schools/default-school
Replaced pam_mount with systemd automount to manage the mounting of the default school Samba share.
This change improves system integration and simplifies the mount process by leveraging systemd's capabilities.
2025-07-16 08:02:37 +02:00
Raphael Dannecker
58418bf48f Automounter automatically creates the mount point for NFS systems 2025-07-02 11:42:31 +02:00
Raphael Dannecker
7243c8d265 Mount home via NFS automount 2025-07-01 14:54:12 +02:00
Raphael Dannecker
2602189911 Control execution of localuser by variable instead of group-membership 2025-03-25 09:14:47 +01:00
Raphael Dannecker
f965f4466c Improve ansible code so that ansibe-lint shows fewer errors 2025-03-24 07:33:56 +01:00
Raphael Dannecker
831f453512 Configuring the NFS server using variables is more customizable 2025-03-02 11:12:16 +01:00
Raphael Dannecker
18cde94846 Mount nfs share for additional programs and data 2025-01-22 14:40:52 +01:00
Raphael Dannecker
f201332a4b Run virtiofsd in usermode and mount shares with correct gid.
- The new virtiofsd provides the ability to map a specified
  UID and GID to that of the user when running in user mode.
  As a result, virtiofsd is moved to userland for VMs and
  the new -uid and -gid options are introduced that specify
  the IDs on the guest.New v
- The drives no longer have to be mounted with the group ID 1010.
  Therefore, the mount options are changed to the real group ID
2024-06-17 21:35:18 +02:00
Andreas B. Mundt
b4a78bdd84 Revert "Implement cifs caching with cachefilesd."
This reverts commit 6c7209e82b.
2024-03-12 11:25:18 +01:00
Andreas B. Mundt
e30a7032a5 No 'cache=loose' mount option for teachers' PCs.
Use the default 'cache=strict' for the CIFS mount to
provide extra data consistency.
2024-01-18 08:41:52 +01:00
Andreas B. Mundt
2c0182ffe6 Cache file and directory attributes for 10 minutes. 2024-01-13 11:05:03 +01:00
Andreas B. Mundt
6c7209e82b Implement cifs caching with cachefilesd. 2023-12-22 14:13:41 +01:00
Andreas B. Mundt
e48c761935 Provide a local guest user. 2023-10-21 10:01:02 +02:00
Andreas B. Mundt
fd4c55ffea kdevelop hangs, unusual path ownership, permissions. 2023-09-27 15:02:57 +02:00
Andreas B. Mundt
d234a13495 More packages for programming classes. 2023-09-26 17:09:27 +02:00
Andreas B. Mundt
431acebfa3 Make playbook more general: Split into general and specific roles, use variables. 2023-09-02 16:19:05 +02:00
Andreas B. Mundt
c59fb67ed0 Try smart umount as a simple solution (no credentials needed). 2023-08-19 18:31:09 +02:00
Andreas B. Mundt
fac98e9f09 Attempt to umount properly. 2023-08-19 13:44:26 +02:00
Andreas B. Mundt
2f7da9c1b4 Move PAM mount config for VMs to corresponding role. Cleanup. 2023-08-18 10:43:33 +02:00
Andreas B. Mundt
793b37853e Move VM mount functionality to PAM for better umount handling. 2023-08-18 09:23:14 +02:00
Raphael Dannecker
cc4010b1bb umount all user mounts on logout 2023-08-16 10:01:37 +02:00
Raphael Dannecker
bdbd4f8ce5 symbolic links to home and share don't work on windows 2023-08-14 18:44:02 +02:00
Raphael Dannecker
e64008c714 store vmimages in /lmn/vm and mount media in /lmn/media 2023-08-14 16:18:34 +02:00
Raphael Dannecker
68239b56cb Mount default-school by pam_mount and create symlinks to home and share 2023-08-14 08:26:06 +02:00
Andreas B. Mundt
fc410dcb2d Add missing package for webdav and activate nextcloud mount. 2023-08-12 09:13:21 +02:00
Raphael Dannecker
67afa03c67 prepare nextcloud mount 2023-08-11 19:42:49 +02:00
Raphael Dannecker
1221f7899f fix problems with nss (thunderbird, chromium, firefox) 2023-08-11 18:16:04 +02:00
Andreas B. Mundt
50cf61844c Fix marker quotation. 2023-05-03 08:06:58 +02:00
Andreas B. Mundt
5f59910cf2 Fix XML comments. 2023-04-19 12:47:32 +02:00
Andreas B. Mundt
ba7eca15fa Prepare a persistent local cache directory and define XDG_CACHE_HOME. 2023-03-24 12:40:57 +01:00
Andreas B. Mundt
a502d37c61 Fixes for akonadi, however, it still does not like the smb working dir. 2023-03-17 20:59:00 +01:00
Andreas B. Mundt
7a3f106ee3 Switch to cifs for home dirs. 2023-03-15 14:55:33 +01:00
Andreas B. Mundt
18928f2818 Implement VM configuration and deploy the images. 2023-02-07 19:18:57 +01:00
Andreas B. Mundt
396a91fb40 Allow access for VMs (virtiofs), support new hardware. 2023-02-07 19:18:57 +01:00
Andreas B. Mundt
0cc41715d8 Configure KDE, move package installation to extra role. 2023-02-07 19:18:57 +01:00
Renamed from roles/lmn-mount/tasks/main.yml (Browse further)