# Is it a normal behavior?

**URL:** <https://forums.suse.com/t/is-it-a-normal-behavior/24826>\
**Category:** SLED Configure-Administer\
**Created:** [December 2, 2013, 11:07am UTC](https://forums.suse.com/t/is-it-a-normal-behavior/24826 "2013-12-02T11:07:31Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![joe\_bics](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joe\_bics](https://forums.suse.com/u/joe_bics)\
**Post date:** [December 2, 2013, 11:07am UTC](https://forums.suse.com/t/is-it-a-normal-behavior/24826/1 "2013-12-02T11:07:31Z")

</div>

Hi friends,

i have got a suse machine, where ISC Bind and ISC Dhcp installed with chroot.

#uname -a  
Linux lab-suse-bind 2.6.34-12-desktop #1 SMP PREEMPT 2010-06-29 02:39:08 +0200 x86\_64 x86\_64 x86\_64 GNU/Linux

#ps -A -o comm,pid,args | grep dhcpd

dhcpd 30143 /usr/sbin/dhcpd -4 -cf /etc/dhcpd.conf -pf /var/run/dhcpd.pid -chroot /var/lib/dhcp -lf /db/dhcpd.leases -user dhcpd -group nogroup eth0

as per my research on ISC bind and DHCP on other distribution , when machine is configured with chroot, then the config file will be available in (/configfilepath)

- But this machine has config file in both /etc/dhcpd.conf and /var/lib/dhcp/etc/dhcpd.conf

in every restart It copies file from “etc/dhcpd.conf” to " /var/lib/dhcp/etc/dhcpd.conf " and start the service

i just want to know , is it a normal behavior in suse, because i do not find similarity in other distribution . (other distributions do point to a single file , and no replacing in every restart)

Thanks  
Joe

---

<div class="post-metadata">

**Author:** ![mikewillis](https://avatars.discourse-cdn.com/v4/letter/m/b2d939/32.png) [@mikewillis](https://forums.suse.com/u/mikewillis)\
**Post date:** [December 2, 2013, 11:45am UTC](https://forums.suse.com/t/is-it-a-normal-behavior/24826/2 "2013-12-02T11:45:25Z")

</div>

> [@joe\_bics;17774](#):
>
> i have got a suse machine

I think the first thing we need to do is establish which kind of SUSE and which version? There’s [SUSE Linux Enterprise Desktop](https://www.suse.com/desktop) which is the subject of this forum, [SUSE Linux Enterprise Server](https://www.suse.com/server)forums for which are at [https://forums.suse.com/forumdisplay.php?8-SUSE-Linux-Enterprise-Server](https://forums.suse.com/forumdisplay.php?8-SUSE-Linux-Enterprise-Server) and [openSUSE](http://www.opensuse.org/), the forums for which are at [http://forums.opensuse.org/](http://forums.opensuse.org/)

Can you post the output of

`
$ cat /etc/*release*`

I’m fairly certain 2.6.34 is not a Kernel version I recall seeing in use in SLED or SLES and it’s not on the list at [http://wiki.novell.com/index.php/Kernel\_versions](http://wiki.novell.com/index.php/Kernel_versions)

---

<div class="post-metadata">

**Author:** ![joe\_bics](https://avatars.discourse-cdn.com/v4/letter/j/cab0a1/32.png) [@joe\_bics](https://forums.suse.com/u/joe_bics)\
**Post date:** [December 2, 2013, 12:52pm UTC](https://forums.suse.com/t/is-it-a-normal-behavior/24826/3 "2013-12-02T12:52:18Z")

</div>

Hi Thanks for the reply ,

hear is the ouput,

lab-suse-bind:~ # cat /etc/_release_  
openSUSE 11.3 (x86\_64)  
VERSION = 11.3

---

<div class="post-metadata">

**Author:** ![ab1](https://avatars.discourse-cdn.com/v4/letter/a/d2c977/32.png) [@ab1](https://forums.suse.com/u/ab1)\
**Post date:** [December 2, 2013, 2:39pm UTC](https://forums.suse.com/t/is-it-a-normal-behavior/24826/4 "2013-12-02T14:39:19Z")

</div>

You probably want the openSUSE forums, then, which are hosted at  
[http://forums.opensuse.org/](http://forums.opensuse.org/) but before you head over there you may also  
want to either patch or be clear in the version of openSUSE used by  
providing the information you gave us just now.

This is normal functionality. I do not know for sure why it is done, but  
my guess is that it is to help make the migration from an environment that  
is not chrooted to one that is chrooted easier by helping copy over  
required files. If you look at the /etc/init.d/dhcpd script, at least on  
my system which is much newer than yours (and still outdated since 13.1 is  
out), you’ll see some logic that copies various files to the chroot  
environment onstartup.

–  
Good luck.

If you find this post helpful and are logged into the web interface,  
show your appreciation and click on the star below…

---

<div class="post-metadata">

**Author:** ![Jens-U](https://avatars.discourse-cdn.com/v4/letter/j/d78d45/32.png) [@Jens-U](https://forums.suse.com/u/Jens-U)\
**Post date:** [December 4, 2013, 1:32pm UTC](https://forums.suse.com/t/is-it-a-normal-behavior/24826/5 "2013-12-04T13:32:09Z")

</div>

Hi Joe,

> [@joe\_bics;17774](#):
>
> i just want to know , is it a normal behavior in suse, because i do not find similarity in other distribution . (other distributions do point to a single file , and no replacing in every restart)

although your question actually applies to openSUSE, the answer is the same both for openSUSE, SLED and SLES: Yes, this is normal behavior.

It helps to keep configuration at a standard location (/etc/named\*) and makes sure that everything is “in place” when you decide to change the run-time location (i.e. when running in a chroot jail).

Regards,  
Jens
