Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 272159 Details for
Bug 365915
[>=sys-kernel/hardened-sources-2.6.38-r1] Invalid alignment/Bus error occurred
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
/etc/init.d/gentoo32
gentoo32 (text/plain), 2.60 KB, created by
taaroa
on 2011-05-05 08:39:59 UTC
(
hide
)
Description:
/etc/init.d/gentoo32
Filename:
MIME Type:
Creator:
taaroa
Created:
2011-05-05 08:39:59 UTC
Size:
2.60 KB
patch
obsolete
>#!/sbin/runscript > >depend() { > need localmount > need bootmisc >} > >start() { > ebegin "Mounting 32bits chroot dirs" > mount -o bind /dev /mnt/gentoo32/dev >/dev/null > mount -o bind /dev/pts /mnt/gentoo32/dev/pts >/dev/null & > mount -o bind /dev/shm /mnt/gentoo32/dev/shm >/dev/null & > mount -o bind /proc /mnt/gentoo32/proc >/dev/null > mount -o bind /proc/bus/usb /mnt/gentoo32/proc/bus/usb >/dev/null & > mount -o bind /sys /mnt/gentoo32/sys >/dev/null & > mount -o bind /tmp /mnt/gentoo32/tmp >/dev/null & > mount -o bind /usr/portage /mnt/gentoo32/usr/portage >/dev/null & > mount -o bind /var/lib/layman /mnt/gentoo32/var/lib/layman >/dev/null & > eend $? "An error occured while attempting to mount 32bits chroot directories" > ebegin "Copying 32bits chroot files" > cp -pf /etc/resolv.conf /mnt/gentoo32/etc >/dev/null & > cp -pf /etc/passwd /mnt/gentoo32/etc >/dev/null & > cp -pf /etc/shadow /mnt/gentoo32/etc >/dev/null & > cp -pf /etc/group /mnt/gentoo32/etc >/dev/null & > cp -pf /etc/gshadow /mnt/gentoo32/etc >/dev/null & > cp -pf /etc/sudoers /mnt/gentoo32/etc >/dev/null & > cp -pf /etc/hosts /mnt/gentoo32/etc > /dev/null & > cp -Ppf /etc/localtime /mnt/gentoo32/etc >/dev/null & > eend $? "An error occured while attempting to copy 32bits chroot files" > ebegin "Partial remove of the chroot restrictions" > sysctl -w kernel.grsecurity.chroot_deny_chmod=0 >/dev/null & > sysctl -w kernel.grsecurity.chroot_execlog=0 >/dev/null & > sysctl -w kernel.grsecurity.chroot_findtask=0 >/dev/null & > sysctl -w kernel.grsecurity.chroot_deny_unix=0 >/dev/null & > eend $? "An error occured while attempting to remove chroot restrictions" >} > >stop() { > ebegin "Unmounting 32bits chroot dirs" > umount -f /mnt/gentoo32/dev/pts >/dev/null > umount -f /mnt/gentoo32/dev/shm >/dev/null > umount -f /mnt/gentoo32/dev >/dev/null & > umount -f /mnt/gentoo32/proc/bus/usb >/dev/null > umount -f /mnt/gentoo32/proc >/dev/null & > umount -f /mnt/gentoo32/sys >/dev/null & > umount -f /mnt/gentoo32/tmp >/dev/null & > umount -f /mnt/gentoo32/usr/portage >/dev/null & > umount -f /mnt/gentoo32/var/lib/layman >/dev/null & > eend $? "An error occured while attempting to unmount 32bits chroot directories" > ebegin "Restoring chroot restrictions" > sysctl -w kernel.grsecurity.chroot_deny_chmod=1 >/dev/null & > sysctl -w kernel.grsecurity.chroot_execlog=1 >/dev/null & > sysctl -w kernel.grsecurity.chroot_findtask=1 >/dev/null & > sysctl -w kernel.grsecurity.chroot_deny_unix=1 >/dev/null & > eend $? "An error occured while attempting to restore chroot restrictions" >} >
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 365915
:
272157
| 272159 |
272161
|
272163
|
272199
|
272615