Creating and using namespace for management applications

Hi
I am looking to create a Management Namespace and attach management service to it on SLES 15.1 systems
specifically

  • ssh
  • apache
  • vnc

I added a post_up_script / post_down_script to ifcfg-eth0 which seemed to work (except the down failed to delete the name space)

I created a copy of sshd.service as sshd@management.server and replaced the ExecStart with
ExecStart=/sbin/ip netns exec Management /usr/sbin/sshd -D $SSHD_OPTS

When I tried the same thing with the vncserver.service i got
setting the network namespace “Management” failed: Operation not permitted
Although the equivalent command works from the command line

Has anyone done this successfully ?
Notes/guides etc would be helpful

Mark