First Last Prev Next    No search results available      Search page      Enter new bug
Bug#: 141981
Alias:
Product:
Component:
Status: RESOLVED
Resolution: FIXED
Assigned To: Andrew Ross (RETIRED) <aross@gentoo.org>
Hardware:
OS:
Version:
Priority:
Severity:
Reporter: R. May <Tinitus1@onlinehome.de>
Add CC:
CC:
Remove selected CCs
URL:
Summary:
Status Whiteboard:
Keywords:

Filename Description Type Creator Created Size Actions
Create a New Attachment (proposed patch, testcase, etc.) View All

Bug 141981 depends on: Show dependency tree
Bug 141981 blocks:
Votes: 0    Show votes for this bug    Vote for this bug

Additional Comments: (this is where you put emerge --info)


Not eligible to see or edit group visibility for this bug.






View Bug Activity   |   Format For Printing   |   XML   |   Clone This Bug


Description:   Opened: 2006-07-28 02:10 0000
The ebuild will not create a

/usr/share/xen/xen-consoles-logrotate





/etc/init.d/xendomains restart
 * Starting /etc/xen/auto Xen domains
error: cannot stat /usr/share/xen/xen-consoles-logrotate: No such file or
directory
xenserver / # touch /usr/share/xen/xen-consoles-logrotate
xenserver / # /etc/init.d/xendomains restart
 * Shutting down /etc/xen/auto Xen domains
 * Starting /etc/xen/auto Xen domains

emerge xen xen-tools -pv

These are the packages that would be merged, in order:

Calculating dependencies... done!
[ebuild   R   ] app-emulation/xen-3.0.2  USE="-custom-cflags -debug -hardened
-pae" 0 kB
[ebuild   R   ] app-emulation/xen-tools-3.0.2-r1  USE="doc screen sdl vnc
-custom-cflags -debug -hardened" 0 kB

R.R.

------- Comment #1 From Nick Devito 2006-08-09 17:57:44 0000 -------
It seems that this bug is being caused by this section of code in
/etc/init.d/xendomains:

<code>
        if [[ ${SCREEN} == "yes" ]]; then
                screen -d -m -S xen -t dom0
                screen -r xen -X zombie dr
                logrotate -f /usr/share/xen/xen-consoles-logrotate
                screen -r xen -X logfile /var/log/xen-consoles/%t
                screen -r xen -X logfile flush 1
                screen -r xen -X deflog on
        fi
</code>

Disabling SCREEN in /etc/conf.d/xendomains would also fix the issue here. But,
seeing that it is enabled by default, it would probably be a good idea to
create that directory when the xen-tools ebuild is installed. Or disable SCREEN
by default. 

------- Comment #2 From Andrew Ross (RETIRED) 2006-08-10 02:01:21 0000 -------
Looks like there's a missing (conditional) dependency of logrotate as well.

------- Comment #3 From Andrew Ross (RETIRED) 2006-08-13 00:39:12 0000 -------
Please ignore comment #2 .

Nick, thanks for your diagnosis. By the way, the value of SCREEN in
conf.d/xendomains is actually set according to the screen USE flag.

------- Comment #4 From Andrew Ross (RETIRED) 2006-08-13 04:20:28 0000 -------
*** Bug 137874 has been marked as a duplicate of this bug. ***

------- Comment #5 From Andrew Ross (RETIRED) 2006-08-14 00:17:59 0000 -------
Fixed in xen-tools-3.0.2-r3.

First Last Prev Next    No search results available      Search page      Enter new bug