Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 231961 Details for
Bug 318727
net-misc/nxnode and net-misc/nxserver-freeedition don't work with a readonly /usr filesystem
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
nxserver-freeedition-3.4.0.8.patch
nxserver-freeedition-3.4.0.8.patch (text/plain), 2.46 KB, created by
Bruno Redondi
on 2010-05-18 12:12:12 UTC
(
hide
)
Description:
nxserver-freeedition-3.4.0.8.patch
Filename:
MIME Type:
Creator:
Bruno Redondi
Created:
2010-05-18 12:12:12 UTC
Size:
2.46 KB
patch
obsolete
>--- /usr/portage/net-misc/nxserver-freeedition/nxserver-freeedition-3.4.0.8.ebuild 2009-12-15 19:06:39.000000000 +0100 >+++ /usr/local/portage/net-misc/nxserver-freeedition/nxserver-freeedition-3.4.0.8.ebuild 2010-05-18 13:59:43.000000000 +0200 >@@ -28,7 +28,7 @@ > > pkg_preinst() > { >- enewuser nx -1 -1 /usr/NX/home/nx >+ enewuser nx -1 -1 /var/lib/NX > } > > src_unpack() >@@ -47,8 +47,9 @@ > into /usr/NX > dobin bin/nxserver > >- dodir /usr/NX/etc/keys >- insinto /usr/NX/etc >+ dodir /etc/NX/keys >+ dosym /etc/NX /usr/NX/etc >+ insinto /etc/NX > doins etc/administrators.db.sample > doins etc/guests.db.sample > doins etc/passwords.db.sample >@@ -58,11 +59,24 @@ > > newins etc/server-debian.cfg.sample server-gentoo.cfg.sample > >- cp -R home "${D}"/usr/NX || die "Unable to install home folder" >+ dodir /var/lib >+ cp -R home/nx "${D}"/var/lib || die "Unable to install home folder" >+ mv "${D}"/var/lib/{nx,NX} >+ dodir /usr/NX/home >+ dosym /var/lib/NX /usr/NX/home/nx >+ > cp -R lib "${D}"/usr/NX || die "Unable to install lib folder" > cp -R scripts "${D}"/usr/NX || die "Unable to install scripts folder" > cp -R share "${D}"/usr/NX || die "Unable to install share folder" >- cp -R var "${D}"/usr/NX || die "Unable to install var folder" >+ >+ dodir /var/db/NX >+ dosym /var/db/NX /usr/NX/var/db >+ cp -R var/db/. "${D}"/var/db/NX || die "Unable to install var/db folder" >+ dodir /var/run/NX >+ dosym /var/run/NX /usr/NX/var/run >+ cp -R var/run/. "${D}"/var/run/NX || die "Unable to install var/run folder" >+ dodir /var/log/NX >+ dosym /var/log/NX /usr/NX/var/log > > newinitd "${FILESDIR}"/nxserver-2.1.0-init nxserver > } >@@ -73,16 +87,16 @@ > # However they use different login shell/home directory paths > if [[ ${ROOT} == "/" ]]; then > usermod -s /usr/NX/bin/nxserver nx || die "Unable to set login shell of nx user!!" >- usermod -d /usr/NX/home/nx nx || die "Unable to set home directory of nx user!!" >+ usermod -d /var/lib/NX nx || die "Unable to set home directory of nx user!!" > else > elog "If you had another NX server installed before, please make sure" > elog "the nx user account is correctly set to:" > elog " * login shell: /usr/NX/bin/nxserver" >- elog " * home directory: /usr/NX/home/nx" >+ elog " * home directory: /var/lib/NX" > fi > > # only run install when no configuration file is found >- if [ -f /usr/NX/etc/server.cfg ]; then >+ if [ -f /etc/NX/server.cfg ]; then > einfo "Running NoMachine's update script" > "${ROOT}"/usr/NX/scripts/setup/nxserver --update || die "Update script failed" > else
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 Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 318727
:
230565
|
230567
|
231907
|
231961
|
231963
|
235393
|
235397
|
235401
|
245616
|
245622
|
251233
|
251235
|
260347
|
260349
|
260350
|
264581
|
264583
|
265795
|
274369
|
274371
|
284581
|
284583