From: Zdenek Kabelac <zdenek.kabelac@gmail.com>
To: "LVM2 development" <lvm-devel@redhat.com>,
"Bartłomiej Błachut" <bartlomiejblachut@gmail.com>,
linux-lvm@redhat.com
Subject: Re: [linux-lvm] How to change default system dir
Date: Thu, 29 Sep 2022 12:58:40 +0200 [thread overview]
Message-ID: <17734cfc-cef2-3f6b-1426-ea8100bdd667@gmail.com> (raw)
In-Reply-To: <CAPA01J3mh6G22h1938GYvPAZunah2Nv+HGikjBef05RBNHBj3w@mail.gmail.com>
Dne 28. 09. 22 v 17:16 Bartłomiej Błachut napsal(a):
> Hi,
> I have a question for you, because what I need is to change in my
> ubuntu(22.04) the localisation of default-system-dir from /etc/lvm to a place
> where I have write access e.g. /home/my_user/new_lvm_dir. I've tried so far to
> provide to ./configure option
> --with-default-system-dir=/home/my_user/new_lvm_dir or later I replace
> everywhere in code pattern /etc/lvm to /home/my_user/new_lvm_dir but without
> any success. Are you able to give me any idea how I can do it ?
>
> I tried it on main/stable branches git://sourceware.org/git/lvm2.git
> <http://sourceware.org/git/lvm2.git>
>
Hi
lvm2 basically always require a 'root' access for any 'real usable' lvm2
command - so saying you don't have write access to /etc looks very strange to
start with.
We have also configure option --with-confdir=[/etc]
but I still think you should start with explaining what are you actually
trying to do - as maybe there is some design issue??
Regards
Zdenek
_______________________________________________
linux-lvm mailing list
linux-lvm@redhat.com
https://listman.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
next prev parent reply other threads:[~2022-09-29 10:58 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-09-28 15:16 [linux-lvm] How to change default system dir Bartłomiej Błachut
2022-09-29 10:58 ` Zdenek Kabelac [this message]
2022-09-29 14:37 ` Roger Heflin
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=17734cfc-cef2-3f6b-1426-ea8100bdd667@gmail.com \
--to=zdenek.kabelac@gmail.com \
--cc=bartlomiejblachut@gmail.com \
--cc=linux-lvm@redhat.com \
--cc=lvm-devel@redhat.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox