Llink:opensolaris

From Lundman Wiki
Revision as of 07:45, 12 November 2009 by Lundman (talk | contribs)

OpenSolaris Llink Binaries

Wow, someone had already done the hard work for me! Awesome, thank you. I have replicated your work and done a package for 2.2.1. As I intend to use this for embedded NAS device, I have it running as root. We should probably find a way to be able to do either. (setprop user=root perhaps?)

llink-2.2.2.Solaris_x86.pkg.gz

You can set custom attributes on any mountpoint you wish llink to use, for example:

zfs set net.lundman:sharellink=on zpool1/media


Older versions

llink-2.2.1.Solaris_x86.pkg.gz


2.2.0

Packaged up for OpenSolaris 11/08 i386 Latest Version.

Llink_2.2.0.gz

I hope that I am not stepping on anybody's toes by posting this...

Instructions:

Extract the gzipped package file.

As a privileged user: run pkgadd -d <decompressed file name>

package and config files are installed to /usr/local/...

edit config file in /usr/local/etc/llink/llink.conf

package is configured to run as a seperate user (llink), adjust file permissions or add llink user to appropriate user group.

start the Llink service:


Example:

gzip -d ~/Desktop/Llink_2.2.0.gz‎ 
sudo pkgadd -d ~/Desktop/Llink_2.2.0
  Follow the prompts, Will warn you there may be permissions changes to some files,
  and the install scripts will run as setuid 0 (root user), install scripts are to create llink user,
  generate the service config and to remove the service config on package removal.
vi /usr/local/etc/llink/llink.conf
  Adjust to your own preferences (eg, change the ROOT directive)
/usr/bin/chmod -R A+user:llink:rxRac:fd:allow /terra/blu-ray
  set Recursively(-R) acl attributes to llink user, Read(r), Execute(x), Read Attributes(a), Read Extended Attributes(R), Read ACL's(c)
  with  inherited permissions to new files(f) and directories(d) is allowed for /terra/blu-ray.
sudo svcadm enable llink
svcs -xv llink