mbox series

[v1,0/1] dts: fix hugepage mounting

Message ID 20240812150421.31226-1-jspewock@iol.unh.edu (mailing list archive)
Headers
Series dts: fix hugepage mounting |

Message

Jeremy Spewock Aug. 12, 2024, 3:04 p.m. UTC
From: Jeremy Spewock <jspewock@iol.unh.edu>

Currently in the DTS framework there are some commands used for
remounting hugepages that require super-user privileges but do not use
them, causing them to throw errors whenever they are run as a non-root
user. This patches fixes these problems by simply adding a flag that
enables admin privileges for the commands that are missing them.

Jeremy Spewock (1):
  dts: add admin privileges to hugepage mounting

 dts/framework/testbed_model/linux_session.py | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
  

Comments

Juraj Linkeš Sept. 9, 2024, 8:23 a.m. UTC | #1
Reviewed-by: Juraj Linkeš <juraj.linkes@pantheon.tech>

On 12. 8. 2024 17:04, jspewock@iol.unh.edu wrote:
> From: Jeremy Spewock <jspewock@iol.unh.edu>
> 
> Currently in the DTS framework there are some commands used for
> remounting hugepages that require super-user privileges but do not use
> them, causing them to throw errors whenever they are run as a non-root
> user. This patches fixes these problems by simply adding a flag that
> enables admin privileges for the commands that are missing them.
> 
> Jeremy Spewock (1):
>    dts: add admin privileges to hugepage mounting
> 
>   dts/framework/testbed_model/linux_session.py | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>
  
Juraj Linkeš Sept. 9, 2024, 3:52 p.m. UTC | #2
Applied to next-dts, thanks.

On 12. 8. 2024 17:04, jspewock@iol.unh.edu wrote:
> From: Jeremy Spewock <jspewock@iol.unh.edu>
> 
> Currently in the DTS framework there are some commands used for
> remounting hugepages that require super-user privileges but do not use
> them, causing them to throw errors whenever they are run as a non-root
> user. This patches fixes these problems by simply adding a flag that
> enables admin privileges for the commands that are missing them.
> 
> Jeremy Spewock (1):
>    dts: add admin privileges to hugepage mounting
> 
>   dts/framework/testbed_model/linux_session.py | 6 +++---
>   1 file changed, 3 insertions(+), 3 deletions(-)
>