Installing EMACS

Status
Not open for further replies.

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
Weird, the docs say very clearly *not* to install applications in a jail since that will corrupt the package database.
[citation needed]

Can I even *see* the system logs from a jail?
Sure, if you mount /var/log as storage to the jail.
 
Joined
Jul 13, 2013
Messages
286
Joined
Jul 13, 2013
Messages
286
[citation needed]

Section 13.2.2, "Warning

do not use the pkg_add command in a FreeNAS® jail as it will cause inconsistencies in your package management database."
 

JDCynical

Contributor
Joined
Aug 18, 2014
Messages
141
While installing a package to the base of FreeNAS isn't something one should do, the idea was to use Emacs to view the logs on the machine. So why not just forward the syslog to a collector and use $FOO to view them there?
 

pirateghost

Unintelligible Geek
Joined
Feb 29, 2012
Messages
4,219
While installing a package to the base of FreeNAS isn't something one should do, the idea was to use Emacs to view the logs on the machine. So why not just forward the syslog to a collector and use $FOO to view them there?
Or even mount the logs as storage for a jail and use anything you like....I don't understand the want for modifying the appliance
 

solarisguy

Guru
Joined
Apr 4, 2014
Messages
1,125
Gals and Guys, David had said that he worked on Solaris, and it is natural that people arrange their new environments like the old ones, so the experience stays the same.

P.S.
I would get a FreeBSD installation equivalent to the FreeNAS version I am running, and try to compile Emacs in such a way that I could transfer it to FreeNAS
 
Last edited:

danb35

Hall of Famer
Joined
Aug 16, 2011
Messages
15,504
I don't understand the want for modifying the appliance
No doubt he's used to running an actual server and having certain tools available. It isn't the FreeNAS way, but if he has experience elsewhere this doesn't strike me as a particularly bizarre desire. Nonetheless, using a jail is of course the correct answer.

@David Dyer-Bennet, to expand a little on my previous answer, FreeBSD had a change a while back in package managers. pkg_add was a tool to work with the old system, while pkg is the command for the new system. The section you quoted from the manual was saying not to use the old system, because it would mess up the package database for the new system. Inside a new jail, these commands will get emacs installed for you:

Code:
pkg update
pkg upgrade
pkg install emacs-nox11


...then mount /var/log as storage to that jail under whatever mountpoint you want to place it.
 
Joined
Jul 13, 2013
Messages
286
dabb35, thanks for saying that explicitly. I was was starting to think that's what had been meant, but the way I read it at first didn't make clear that the old and new systems were what was being distinguished.
 
Joined
Jul 13, 2013
Messages
286
I am sorry, Emacs is the way of life :D

Yes, yes it is. As I said above, it's been my primary editor since 1981, when I ran RMS's ITS TECO-based EMACS on a TOPS-20 system via the Incompatibility Package (ITS was MIT's "Incompatible Timesharing System", which ran on PDP-10 hardware same as TOPS-10 and TOPS-20). And it works in my command lines as well as editor windows, so my finger just take it more and more for granted.
 
Status
Not open for further replies.
Top