Re: aplicar opcion nodev a rpc_pipefs

2022-01-14 Por tema Enrique Herrera Noya
dejo por acá

como queda

paso 1.-

se crea sino existe/etc/modprobe.d/modprobe.conf

 
paso 2.-

se agrega la sieguiente linea:

install sunrpc /sbin/modprobe --first-time --ignore-install sunrpc &&
{ /bin/mount -o nodev -t rpc_pipefs sunrpc /var/lib/nfs/rpc_pipefs >
/dev/null 2>&1 || :; }

paso 3.-

reiniciar el sistema operativo  

paso 4.-

verificamos: mount | grep rpc 

deberia aparecer al final de la linea (rw,nodev,realtime)



saludox
Almirantux 



El 14-01-22 a las 11:29, Carlos "casep" Sepulveda escribió:
> On Fri, 14 Jan 2022 at 13:50, Enrique Herrera Noya <
> enrique.herreran...@gmail.com> wrote:
>
>> Estimados
>>
>> he buscado información para aplicar opcion nodev cuando se monte el
>> filesystem rpc_pipefs, pero no encuentro detallado donde se debe hacer.
>>
>>
>>
> De acuerdo a la RH KB
>
>
>- Create (or edit) file : /etc/modprobe.d/modprobe.conf.dist , add the
>following line:
>
> Raw 
>
> #  cat  /etc/modprobe.d/modprobe.conf.dist
> install sunrpc /sbin/modprobe --first-time --ignore-install sunrpc &&
> { /bin/mount -o nodev -t rpc_pipefs sunrpc /var/lib/nfs/rpc_pipefs >
> /dev/null 2>&1 || :; }
>
>
>- Reboot the system and verify the mount options.
>
>
>

Enrique Herrera Noya
-- 
+56 992303151
Red Hat Certified Engineer RHCE Nº100223072 (RH6.0)
Red Hat Certified System Administrato RHCSA Nº100223072 (RH6.0)
Red Hat Certified Technician (RHCT) Nº605010753835478 (RH5.0)
Novell Certified Linux Professional CLP 10 
Red Hat Delivery Specialist -Container Platform Application Deployment I
Red Hat Delivery Specialist - Container Platform Administration I
RED HAT SPECIALIST 
How to Sell Red Hat OpenShift for Infrastructure
How to Sell Red Hat OpenShift for Developers
Red Hat Sales Engineer Specialist - Container Platform
Red Hat Sales Engineer Specialist – Automation



Re: aplicar opcion nodev a rpc_pipefs

2022-01-14 Por tema Carlos "casep" Sepulveda
On Fri, 14 Jan 2022 at 13:50, Enrique Herrera Noya <
enrique.herreran...@gmail.com> wrote:

> Estimados
>
> he buscado información para aplicar opcion nodev cuando se monte el
> filesystem rpc_pipefs, pero no encuentro detallado donde se debe hacer.
>
>
>
De acuerdo a la RH KB


   - Create (or edit) file : /etc/modprobe.d/modprobe.conf.dist , add the
   following line:

Raw 

#  cat  /etc/modprobe.d/modprobe.conf.dist
install sunrpc /sbin/modprobe --first-time --ignore-install sunrpc &&
{ /bin/mount -o nodev -t rpc_pipefs sunrpc /var/lib/nfs/rpc_pipefs >
/dev/null 2>&1 || :; }


   - Reboot the system and verify the mount options.



-- 
"Never, never, in nothing great or small, large or petty, never give in
except to convictions of honour and good sense. Never yield to force; never
yield to the apparently overwhelming might of the enemy.''
Winston Churchill
https://stackoverflow.com/users/3670118/casep


aplicar opcion nodev a rpc_pipefs

2022-01-14 Por tema Enrique Herrera Noya
Estimados

he buscado información para aplicar opcion nodev cuando se monte el
filesystem rpc_pipefs, pero no encuentro detallado donde se debe hacer.


alguien ya lo ha hecho?


saludos


Enrique Herrera Noya
-- 
+56 992303151
Red Hat Certified Engineer RHCE Nº100223072 (RH6.0)
Red Hat Certified System Administrato RHCSA Nº100223072 (RH6.0)
Red Hat Certified Technician (RHCT) Nº605010753835478 (RH5.0)
Novell Certified Linux Professional CLP 10 
Red Hat Delivery Specialist -Container Platform Application Deployment I
Red Hat Delivery Specialist - Container Platform Administration I
RED HAT SPECIALIST 
How to Sell Red Hat OpenShift for Infrastructure
How to Sell Red Hat OpenShift for Developers
Red Hat Sales Engineer Specialist - Container Platform
Red Hat Sales Engineer Specialist – Automation