tschettervictor
454288b2b1
bastille: Load config only from commons.sh
...
Since all files source common.sh anyway, we don't want to source the config twice.
2025-03-02 11:23:35 -07:00
tschettervictor
6ba11dc762
bastille: Support user based config
...
This PR will allow bastille to be configured based on the user you run as.
To load the config for a specifig user, you must be logged in as the specified user, and there must be a file called "bastille_user.conf" inside /usr/local/etc/bastille or else bastille will just load the default config file.
2025-03-01 18:48:14 -07:00
tschettervictor
8b6e5338f1
mount: Fix var
2025-02-03 11:20:35 -07:00
tschettervictor
1348452afa
mount: Add auto-mode/debug mode
2025-01-28 11:09:09 -07:00
tschettervictor
f0072cebbd
mount: Do not show debug as an option
2025-01-20 18:53:04 -07:00
tschettervictor
dee9ab0865
mount: Remove debug option for later addition
2025-01-20 18:52:16 -07:00
tschettervictor
c790e65f13
mount: Call usage on unknown option
2025-01-20 18:42:39 -07:00
tschettervictor
90777ca37e
mount: Stay consistent with "Unknown Option."
2025-01-20 18:38:47 -07:00
tschettervictor
c27f0a7408
mount: Add options block to notify message
2025-01-20 18:36:54 -07:00
tschettervictor
391abe2335
mount: just change "must start with" to "must include" for documentation
2025-01-20 18:32:35 -07:00
tschettervictor
caee31a621
mount: Spacing
2025-01-20 18:30:23 -07:00
tschettervictor
0bf87b1980
mount: Add debug mode
2025-01-20 18:28:33 -07:00
tschettervictor
f994df3bad
mount: Revert [] > ()
2025-01-18 07:51:00 -07:00
tschettervictor
e1a2ed1b6b
mount: Fix () > []
2025-01-18 07:39:42 -07:00
tschettervictor
bbb1555ecc
mount: Fix similar path mount grep
2025-01-18 07:33:00 -07:00
tschettervictor
03214c4f0a
Merge branch 'master' into patch-2
2025-01-17 22:18:03 -07:00
tschettervictor
ee0b8b8f96
mount: fix perms check
2025-01-17 08:11:58 -07:00
Matthias Petermann
ce0ab9d364
Commit fb71f0d introduced to possibility to add options behind permissions
...
in fstab. Unfortunately it breaks scenarios where no options are provided
as the current regex expects the comma with the options always to be present.
This patch fixes the regex to handle the options as group.
2025-01-17 09:58:23 +01:00
tschettervictor
e33dd04ad1
mount: Docs, one more typo "on > one"
2025-01-11 12:10:27 -07:00
Juan David Hurtado G
8b0411c111
Add SPDX license identifiers and update copyright years
...
Added SPDX-License-Identifier to all scripts for better license clarity and compliance. Updated the copyright years from 2024 to 2025 in various files to reflect the current maintenance period.
2025-01-11 14:07:41 -05:00
tschettervictor
753c537e52
mount: allow [ro|rw|rq|sw|xx] as available mount options
2025-01-11 12:06:30 -07:00
tschettervictor
fb71f0dda5
mount: allow mount with options behind permissions
...
Allow mounting with permissions like “rw,other,options” that are needed for tmpfs mounting.
2025-01-10 15:22:31 -07:00
tschettervictor
a3d96003b8
mount: change " -gt 6" > "-gt 7"
2025-01-10 10:22:31 -07:00
tschettervictor
9d7b727432
minor fix
2024-12-31 12:27:32 -07:00
tschettervictor
67185a5a42
fix for multiple spacing in directiry
2024-12-27 13:33:26 -07:00
tschettervictor
30aa0c1408
better error handling
2024-12-27 12:13:38 -07:00
tschettervictor
d2dc83d320
bugfixes and code cleanup
2024-12-23 18:21:09 -07:00
Juan David Hurtado G
889308465f
shellcheck: mount. Style: indication of line continuation
2024-12-15 21:06:59 -05:00
Juan David Hurtado G
7bad37c250
shellcheck: export, mount. Logic syntax
2024-12-10 14:14:07 -05:00
Juan David Hurtado G
7927385458
[WIP] shellcheck linting
2024-12-08 21:34:36 -05:00
Juan David Hurtado G
7e6a9fa896
[WIP] shellcheck linting
2024-12-08 20:37:02 -05:00
Juan David Hurtado G
7dbe1e761b
rel: update copyright year and release version
2024-11-24 09:46:09 -05:00
Christer Edwards
4efcc5021c
update copyright dates
2023-07-14 21:02:14 -06:00
Lars Engels
64c3b6045e
Allow running bastille and subcomands with help flags as regular user
2023-03-16 20:58:11 +01:00
Sagformas
d451573889
Advanced Mount Types Support
2022-10-04 11:05:05 +02:00
Christer Edwards
aafc2b3323
0.9.20220216 release
2022-02-16 23:28:09 -07:00
Christer Edwards
cc38fabd31
fix overloaded variable in mount command
2021-07-31 15:22:17 -06:00
Götz Salzmann
f8f508f6f6
Fix wrong mountpoint
...
In ed50e3fa04 _jailpath was updated to include the full path on the host.
The test and if required mkdir were then done with the jail’s root pirectory perpended to that full path.
2021-05-25 23:12:34 +02:00
Bike Dude
53ae7fe744
Warn if fstab exists
2021-03-22 20:48:50 +01:00
Christer Edwards
6fa744bbda
update 2021 copyright
2021-01-15 20:00:26 -07:00
Chris Wells
8b4d18f8f3
Create info() and warn() for cleaner print statements.
2020-11-25 21:19:08 -05:00
Chris Wells
c6aded8d0a
Ensure target is specified and exists in 1 place instead of many.
...
Require target to be running for commands that need it.
Closes #239 .
2020-08-30 20:15:22 -04:00
Chris Wells
aaffc882f9
Create and leverage global error functions
2020-08-30 10:57:14 -04:00
cynix
ed50e3fa04
Fix deduplication in 'mount' command as well
2020-06-22 00:19:02 +10:00
Chris Wells
1d21ff58fe
Add mount and umount commands to manage volumes inside containers.
2020-05-23 18:35:00 -04:00