« first day (1441 days earlier)      last day (3507 days later) » 

8:00 AM
I'm having issues installing a new kernel onto my openvz container. My provider told me they enabled ipsec on the host openvz machine and that I have to compile a generic kernel. I've tried building 3.16.3, appeared to have finished creating the kernel image, /boot shows image files but I am not sure what step to do next to install it?
i've tried 'mkinitramfs -o initrd.img-3.16.3 3.16.3' that did not appear to install it.
i have also tried installing generic .deb kernel builds of 3.16.3 and it appeared to successfully install the .deb files but when I rebooted the kernel still says 2.6.32
 
8:18 AM
@RyanGrant this sounds like something that should be asked on the site. Have you?
 
8:47 AM
Ok, apparently this one:
1
Q: ipsec VPN setup on ubuntu 12.04 server, pluto not finding interface

Ryan GrantI'm trying to setup ipsec however pluto appears not to bind to a public IP. Sep 18 04:36:45 shiftmy ipsec_setup: Starting Openswan IPsec 2.6.41... Sep 18 04:36:45 shiftmy ipsec_setup: Using NETKEY(XFRM) stack Sep 18 04:36:45 shiftmy ipsec_setup: multiple ip addresses, using 127.0.0.2 on venet0 ...

@RyanGrant If you are using Debian, I strongly recommend building a binary deb of the kernel image. Much easier to keep track of it then.
@RyanGrant which kernel is booted depends on your grub entry. Paste your current grub entry into your (hypothetical) question.
@RyanGrant ask your questions on the site, not here. you can point to them from here if you want.
@RyanGrant if you want further information about building binary kernel debs, there are a couple of ways to go. if you want further information, you can ping me.
 
 
1 hour later…
9:59 AM
@L.D.James Hi. Just visiting?
 
 
4 hours later…
1:47 PM
Hi folks, does anyone know if you can still use HP-UX's ignite to make a backup on tape ?
 
2:32 PM
I have a question. If an user deletes his account, does that mean all the answers of the user's questions are also gone?
 
@Ramesh Normally the answers remain.
 
So the user account becomes void in this case?
I wanted to know if all my answers will remain just in case if some one decides to leave the site.
 
Oh, yes, they do.
 
Wouldn't that mean the questions would have to remain too?
 
I think the question would remain and the OP greyed out if that is the case.
 
2:42 PM
@Ramesh if the question is negative scored the answers goes kaput
 
oh, what if it has an accepted answer?
 
doesn't matter, the script looks for any negative scored question and deletes it
 
@Braiam Really? I thought accepted answers protected from deletion.
 
8
A: Community User Deleting Posts with Upvoted Answers

Anna LearThe post was deleted because it was negatively scored and the user who posted it was deleted at their own request. See also: What happens to a question when a user is deleted?

 
@Braiam Are you a secret agent of SO? you seem to know a lot than anyone here.
 
2:47 PM
@Ramesh If I tell you, I will need to kill you... and fill forms
 
So many forms...
 
Don't kill me now. I don't have insurance,
 
actually Gilles might know too, he is active in many sites, as I am
 
Oh, @Braiam by the way, sorry but I just had to star that "@brainam", that was pretty good :)
 
@terdon yeh, I knew that was the reason why someone would star it...
what bothers me is that pinned message there... it isn't funny!
 
2:52 PM
Fixed
 
@terdon, did you use dd to create the sample file for this solution?
 
@Ramesh No, I wanted it to be similar to the OP's so I used the list of human proteins (alphanumeric identifiers) and then random numbers.
 
oh ok. I was trying to find a solution for that question yesterday.
Actually came to know that truncate just shows the file size that we specify rather than actually allocating.
I have to read more on to find an efficient way to create an actual file with random contents.
This answer is good.
 
@terdon why bio.SE allows books recommendations?
 
@terdon That question should be rolled back.
0
Q: scp command with password

VasuI need to execute scp command without using expect command in script. How to use scp with password? I have tried with following code. HOST=lnx1 USERNAME=user PASSWORD=pwd DES_PATH=/ngdata/nc_donotdelete/work_donotdelete FILE=$1 echo $DES_PATH sshpass -p "$PASSWORD" scp $FILE $USERNAME@$HOST...

 
3:03 PM
@Braiam Well, because there are certain standard text books and because we're still in beta so we haven't really given it much thought.
 
The answer warwick provided was correct. Than the question was changed so that that answer doesn't make sense anymore. A new question should be posted.
 
grr!
 
I rolled back this question to its original version. Once you receive an answer that solves your initial problem, accept it and then post a new question to pursue it further. Editing the original one in this way renders the existing answers irrelevant. — terdon ♦ 36 secs ago
Thanks
 
@terdon much better for a mod to do that than a humble site-user ;-) thanks
 
@Anthon actually is fine if you do it, in fact you should only poke @terdon with a sharp stick ask moderators when you can't ;)
 
3:14 PM
Just not too sharp.
 
slm
@Anthon - you lead everyone in the review queues by like 100's I think that qualifies you to do it 8-)
Doesn't building deb files have this same feature?
1
Q: Can `capabilities(7)` be specified in Debian packages?

Bob DoolittleSince RPM 4.7, there has been the ability to specify that a file in an RPM package should be installed with capabilities(7) set (via %caps). See http://www.rpm.org/wiki/Releases/4.7.0#POSIX.1edraft15filecapabilities for details. Is there a similar feature for Debian packages? For bonus points, ...

 
3:31 PM
Wow, I just found a 2 year old cross posted question.
This in U & L and also cross posted here in SO.
 
@Ramesh On it.
The one on SO is now closed.
 
slm
@Ramesh - I find them too from time to time. Just bring them to our attention, house cleaning is a never ending task 8-)
The older things were viewed in a slightly different light too. ppl were happy to have any questions so things were allowed more so than they are now IMO.
 
@slm I've never heard of anything like that. I'm not even sure what this 'capabilities' thing is.
 
@slm, I am trying the cp solution that you have in your blog.
Which is when I get the cp cannot stat error.
 
slm
   For  the purpose of performing permission checks, traditional UNIX implementations distinguish two categories of processes: privileged pro‐
   cesses (whose effective user ID is 0, referred to as superuser or root), and unprivileged  processes  (whose  effective  UID  is  nonzero).
   Privileged processes bypass all kernel permission checks, while unprivileged processes are subject to full permission checking based on the
   process's credentials (usually: effective UID, effective GID, and supplementary group list).
@Ramesh - which one isn't working?
 
3:42 PM
Until now I only rolled back my own Answer if I felt this was wrong. Some OPs obviously take a bit more to see the point than others. @terdon I will apply the sharp stick directly to the OPs. There is no need to drive moderators to extinction.
 
@slm May be I am not doing it correctly. But I am trying this solution.
 
@Anthon Very kind of you sir.
 
find . -type f | xargs -0 cp -t /some/other/directory
 
Seriously though. rolling back for this kind of egregious abuse is fine. Do it once, if the OP objects, flag it for us.
 
find lists me files all right.
 
3:43 PM
@Ramesh That can't be right, you forgot the --print0 for find.
Either add it or remove the -0 from xargs.
@slm you might want to correct that ;)
 
@terdon print0 works fine. If I add xargs to it, I get error.
I thought find with xargs will be a good solution for this question.
 
@Ramesh The -0 option to xargs expects null separated input. So, you use either find --print0 | xargs -0 or find | xargs.
 
@terdon it seems to hang.
 
@Ramesh What's the exact command?
 
find . -type f -print0 | xargs -0 cp --target-directory /root/Desktop/Aug19th/
 
3:54 PM
@Ramesh You're missing the -I {} :
ah, no, you're not
Works fine here with:
find . -type f -print0 | xargs -0 cp -t ~/bar
@Ramesh perhaps you just have a lot of files. Try cp -v --target-directory /root/Desktop/Aug19th/
 
slm
@Ramesh @terdon - the original command that I used did not include either the -0 or --print0. A user left feedback that I took at face value but did not test, they said to add a -0 so I did. The origin of that command was to copy files that had no spaces in their names, I've now realized that it's not 100% reliable, I'll update the command, and thanks for pointing out the error!
 
I think this should be moved to Super User. Any opinions?
0
Q: executing cmds on a Linux box from a windows box

FearghalHow can I create a script on a windows box that retrieves data from the Linux box by executing cmds against the remote Linux box? I have got putty and Plink on the win box but not sure how to fire the cmds from a script e.g. a bat file and get the results written back to a txt file on the win b...

 
@terdon still it's hanging. I have GNU 4.4.2 version. Does that matter?
And I have only 4 test files.
3 in pwd and 1 inside sub dir.
 
$ touch {foo,bar,baz}
$ find . -type f -print0 | xargs -0 cp -t ~/bar
$ ls ~/bar
bar  baz  foo
 
find . -type f -exec cp {} /root/Desktop/Aug19th/ \; also hangs.
 
4:00 PM
It works fine here. Are the files huge or something? How does it hang?
Do you maybe have thousands of empty directories?
Are there any links that might be followed?
What does find . return?
 
No. It just has 4 small files that am using for testing. Nothing else.
 
What does find . return?
 
find . returns me only the files as below. ./demo.txt./newfile2./new.sh./newfile./another/ok
another is name of a directory.
ok is a file inside that directory.
 
.. | xargs -0 echo return what?
 
It returns me the file names
 
slm
4:03 PM
@terdon feel free to move that
 
Done
@Ramesh So, it's only the cp that hangs. Did you try cp -v? Is any of those files huge?
 
@terdon the file was 40 GB.
 
@Ramesh There you go then. It's not hanging, it's just taking a while. It's a big file.
 
Sorry about that. It was the truncate command created file that I was testing yesterday.
Thanks for your time. I will update the answer.
 
:)
 
slm
4:09 PM
I updated the blog post too, thanks!
@Ramesh - you realize that that command essentially flattens the directory structure so that all the files are in the target?
 
Happy to help. Even happier to catch you out on an error, doesn't happen often :)
 
slm
thanks
 
@slm yeah, I believe the OP is looking for something like that over here.
Please correct me if am wrong.
 
slm
@Ramesh - yeah I read it, I still don't quite follow what he's trying to do. We'll see
 
4:27 PM
who loves mum
 
slm
huh?
 
@slm Easter egg:
$ who loves mum
terdon   pts/5        2014-09-19 18:29 (:0.0)
 
slm
oh yeah
I'm pretty sure I've written about that here
I wrote about mom
21
A: Is `who mom likes` a real linux command?

slmYes it's a joke, included in by the developers of the who command. See the man page for who. excerpt If FILE is not specified, use /var/run/utmp. /var/log/wtmp as FILE is common. If ARG1 ARG2 given, -m presumed: 'am i' or 'mom likes' are usual. This U&L Q&A titled: What is a "non-option...

It's the strangest feeling when you read A's and then realize you wrote it. It's like you had a out of body experience during that A and then barely any recollection about it.
Wrote about it here too
3
Q: Obtaining remote host name in bash script

StuSorry my knowledge of Linux bash commands is pretty basic, I've been searching for a while but I'm not 100% sure what I need to search for. I was wondering if there's a way to grab the current logged in users remote host name in a Linux bash script? I have a script in which I need to log each ti...

 
4:46 PM
@slm Ha, yes :)
I even tried to upvote one once and was told I couldn't upvote my own answers :)
 
slm
that happens a lot
 
Mar 28 '13 at 21:41, by Gilles
<--- is confronted with bizarre problem
Googles
Finds 2-year old answer on SE that solves the problem. Gee, I didn't know that.
"You can't vote for your own post"
you are not the first
 
slm
I remember that conversation w/ him about it. I've often wondered why after a period of time if I as the A should be able to UV my own works. I've used them more times than I care to admit. This is a big reason why I've almost exclusively produced work here rather than on my blog.
It's easier to find and maintain it here and it's always available.
 
Does someone recall what regex to pass to apt-get (for example) to remove all packages of the form foo-* for example? See
Sure, you could ask to remove all packages of the form php55w-* if you want. — Faheem Mitha 59 secs ago
 
slm
This comment sounds like it's going to end badly
OK, now install Gentoo following the handbook, and set up a Desktop Environment, then follow this Wiki. The current stable version of gcc in Gentoos compiler chain is gcc-4.7.3 — E Carter Young 11 mins ago
 
4:57 PM
@slm Not if SE ceases to exist. And that is always a possibility. A blog is at least under your control.
 
slm
@FaheemMitha - that's why I maintain it still. I've been off/on looking for a way to extract my A's from here and dump them into it
 
@slm Why?
 
slm
foolishly I selected textile as my markup on my blog though
 
@slm I don't think SE has good export functionality. AFAIK.
 
Can this be rescued? The OP would need to copy a new version of bash over and delete the links. Any reason that wouldn't work?
 
slm
4:58 PM
just to have local copies of things
 
0
Q: problem when booting linux server : Too many levels of symbolic links

Ellouze Anis By mistake, I executed these commands : sudo ln -sf bash /bin/sh sudo ln -sf bash /bin/bash When I rebooted the Linux server in recovery mode I got this message: unable to execute too many levels of symbolic links and Linux doesn't run.

 
@FaheemMitha all SE is dumped publicly in the internet archive
 
@Braiam Yes, but without the software to run it, it is just a pile of bytes. Ok, maybe ASCII bytes.
 
slm
I need the command: se2wordpress -u slm -o somefile.txt
 
@slm huh?
 
4:59 PM
WP? :(
 
slm
I mean in the sense of dumping my A's from here into blog posts
I've done it before and it's a bit of a pain to convert from markdown to textile
 
@slm You mean you want a command that doesn't exist, but has a name? :-)
 
slm
WP is OK, I've grown to like it
 
It's written in PHP. How can that be a good thing?
2
 
slm
why can't I make crazy demands like everyone else and get all angry about it 8-)
 
5:01 PM
@slm Sure you can. Go for it.
 
slm
I've been using it since 2008-2009 and it's worked perfectly fine
 
Use capital letters too.
 
slm
whaaa where's my script.....
 
@slm sorry, I'm a fully-paid-up member of the PHP-hate movement.
even though I've never actually used PHP.
 
@slm there should be a markdown to html thingy....
 
5:03 PM
@slm Time to ask a question on U&L. Have you actually ever done so?
 
Apparently yes.
 
slm
yeah the issue is that I have a back catalog of A's I've made using textile
 
slm
if the textile converts to html I might be in business
 
5:05 PM
Is it possible to get this information using some clever combination of lsof and the sound device?
1
Q: Get a list of applications that are playing sound

zyl1024I want to get a list of applications that are currently playing sound (using sound card). I tried to search on a lot of places but did not succeed. Any method is fine (bash, Java, etc.). I want to have a distribution-independent solution but specific solutions for one distribution (e.g. Ubuntu) i...

 
slm
will investigate this weekend, will have to standup a duplicate of my blog's DB to confirm this
 
I guess I'm bothering gilles, but I know he knows the answer. @Braiam, do you happen to do so?
 
slm
didn't I answer this Q before for you @FaheemMitha?
 
@FaheemMitha 'foo-*' is overkill, it would delete any package that has the letters f or o or - in the name
 
@slm You've certainly got a lot of energy. Do you take special vitamins?
@slm Dunno. If so, add a link as a comment to that question.
 
slm
5:07 PM
No, I have the type of personality that I have to know things.
 
@Braiam Er, no, I want matches which start with "foo-". That should work perfectly fine here.
 
slm
I wrote about file managers this morning looking for ones that supported xtree, and I have no interest in using them for myself
 
@slm Damn, I was hoping that there were some special pills I could take; then I'd get 100K too.
 
Note, selecting 'libgnomedesktop2.0-cil-dev' for regex 'gnome-*'
Note, selecting 'network-manager-openvpn-gnome' for regex 'gnome-*'
vs
Note, selecting 'gnome-shell-pomodoro-data' for regex '^gnome-*'
Note, selecting 'gnome-shell-pomodoro' for regex '^gnome-*'
Note, selecting 'gnome-main-menu-dbg' for regex '^gnome-*'
Note, selecting 'gnome-main-menu' for regex '^gnome-*'
Note, selecting 'gnome-panel-data' for regex '^gnome-*'
Note, selecting 'gnome-devel' for regex '^gnome-*'
Note, selecting 'gnome-themes' for regex '^gnome-*'
@FaheemMitha ^
 
slm
I know I've been watching that every day.....
It's meaningless internet points but it's a nice thing to accomplish
 
5:08 PM
@Braiam that should work.
 
@FaheemMitha Yeah, but it doesn't. This has come up before.
 
@slm I met someone on #emacs who made comments about Skinner box. With some justification too.
@terdon Fine, so what does?
 
Oddly enough, apt-cache works as expected so you could use that.
 
Ok, I'm getting confused.
What's wrong with:
"Note, selecting 'gnome-shell-pomodoro-data' for regex '^gnome-*' "
 
slm
@FaheemMitha skinner box?
I have a computer w/ that name.
 
5:10 PM
@slm operant conditioning. google it.
Apparently Skinner disliked the name. Understandably.
@slm Huh?
 
@FaheemMitha :
$ apt-cache show "gnome-*" | grep -Po 'Package: \K.*' | while read p; do echo sudo apt-get -s purge "$p"; done | head
sudo apt-get -s purge gnome-control-center
sudo apt-get -s purge gnome-screensaver
sudo apt-get -s purge gnome-themes
sudo apt-get -s purge gnome-cards-data
sudo apt-get -s purge gnome-games
sudo apt-get -s purge gnome-games-extra-data
sudo apt-get -s purge gnome-hearts
sudo apt-get -s purge gnome-menus
sudo apt-get -s purge gnome-user-share
sudo apt-get -s purge gnome-icon-theme
 
You have a computer called skinnerbox?
@terdon Ok, but backtracking to apt-get, what is wrong exactly? Don't see the problem.
 
Actually, neither do I. Anchoring the pattern seems to work.
 
slm
it's named after skinner from the x-files, all my computers are named after those characters. But BF Skinner on the show was named for this scientist.
 
@Braiam ?
 
5:12 PM
mm?
 
Anchoring works as expected right?
Yes, I just checked the manual:
 
yes...
 
       If no package matches the given expression and the expression
       contains one of '.', '?' or '*' then it is assumed to be a POSIX
       regular expression, and it is applied to all package names in the
       database. Any matches are then installed (or removed). Note that
       matching is done by substring so 'lo.*' matches 'how-lo' and
       'lowest'. If this is undesired, anchor the regular expression with
       a '^' or '$' character, or create a more specific regular
       expression.
 
@slm Oh. Skinner was a famous psychologist. I don't know much about him, except Chomsky once wrote a nasty essay about him, basically calling him an idiot. Probably easy to find online if anyone ends.
 
> If this is undesired, anchor the regular expression
that
 
5:14 PM
@Braiam OK, sorry. Both @FaheemMitha and I misunderstood your 2nd example to mean that it fails. Don't know why, you clearly show it works O_o
 
@terdon it should, otherwise it is a bug.
@terdon I just remarked that it looks fine. :-)
Then apparently I was told it doesn't. By you?
 
@FaheemMitha True. Fine, I was being blind :)
 
Anyway, does someone want to answer that guy, or shall I?
 
slm
@FaheemMitha - this Q
 
@FaheemMitha I'm leery of the apt regexes since it has some strange features:
19
A: Packages are removed when I use "apt-get install" with a hyphen after the package name

terdonThe problem is the following (from man apt-get): install install is followed by one or more packages desired for installation or upgrading. Each package is a package name, not a fully qualified filename (for instance, in a Debian system, apt-utils would be the ...

 
slm
5:16 PM
3
Q: Somehow managed to mute mplayer and can't figure out how to restore sound

Faheem MithaI was randomly/experimentally pressing buttons while playing a video with mplayer. Something I did caused the video to mute. I then exited the video and tried a different one, but that one was muted too. I didn't think that mplayer saved its settings across invocations, except for the settings in...

 
@slm Is this relevant?
@terdon Fun. But notabug.
 
No, just damn unexpected.
 
So, is this Ok?
0
A: How to remove a (group) of softwares that depend on one another?

Faheem MithaI think apt-get purge 'php55w-*' should work.

 
Will apt work in centos?
 
@terdon Agreed. But software always tries to keep users on their toes.
 
5:19 PM
Wow, our favorite user just answered a Q with an answer that's actually both correct and relevant!
 
Sometimes I think computers know when you are in hurry, and starting throwing bugs in your way. Hasn't anyone ever felt like that?
@terdon Cryptic much?
 
@FaheemMitha Oh come on, who do you think?
 
slm
@Ramesh no
@terdon Oh god, it was so nice while he wasn't here just pooping all over the place..
 
See Faheem's answer here. That's why I was asking.
 
@FaheemMitha if it's worth waiting for me to come around and follow a link chain, it's worth asking on the main site
 
slm
5:23 PM
SE needs a dog kennel for some ppl
 
No, `apt-get -s purge "^apt-*"`
is not right
 
slm
@terdon Do we really need to say? This user's like the poster child.
 
@Gilles I think it has already been covered somewhere. And I remember you answering a similar question once. If you don't want to take the time, it's Ok.
 
slm
@FaheemMitha pactl can be used to identify who's using the speakers
 
@Gilles apt-get -s purge "^apt-*" also removes 'aptitude-doc-cs' for example.
 
slm
5:25 PM
I showed the input sinks
 
@slm Only if you're using pulse.
 
@slm Um, I forget what this question is about. Are you saying there is something to add to it?
Your answer, I mean?
@terdon I don't think `apt-get -s purge "^apt-*" is right, and I suck at regexes. can never keep them in my head. why would it match 'aptitude-doc-cs' ?
 
slm
@FaheemMitha no just that the approach I showed in the A would solve the new Q about what app is using speakers
@terdon right
 
@slm oh, i didn't see the new question, sorry
 
slm
@FaheemMitha - np. OK fellas, back to work.
lunch time is over
 
5:28 PM
@terdon a prefixed hypen would really make much better sense from a user POV.
@slm I had my lunch time a long time ago. Some people probably haven't had theirs yet...
 
@FaheemMitha No idea. Are you sure it does? It's probably 'cause you select something else it depends on so that's removed as well.
 
slm
I meant for me
 
@terdon Hmm
Possibly.
@terdon Note, selecting 'aptitude-doc-cs' for regex '^apt-*'
That looks pretty explicit. No doubt gilles could sort it out in a second if he was so minded. I really hate regexes, they're a pain
 
It's not the regex, that doesn't match.
 
@terdon Er, what?
 
5:31 PM
Argh! Yes it is, of course!
You're using glob syntax, not regex.
That will match anything beginning with apt and 0 or more -
You want ^apt-.*
 
@terdon Ok, let me try.
@terdon Looks good, thanks.
 
You're welcome. Damn, I should have seen that earlier.
 
@FaheemMitha apt-get for centos?
 
@FaheemMitha, this won't work.
 
@Braiam Oh, balls.
Fine, I'm deleting it. Never mind, I was reminded how much I hate regexes, which makes it all totally worth it.
@terdon anyway, thanks again. back to writing my review.
 
5:37 PM
Well, actually that centos question seems to be a dupe of this one.
 
@terdon writing reviews sucks.
 
Yes it does.
 
@Ramesh According to @slm, yum supports regexes. If I change apt-get to yum, does it work?
I.e. yum remove '^php55w-.*'
 
@FaheemMitha, not sure about that.
 
@Ramesh Ok.
Anyone care to test it? Just curious.
 
5:41 PM
It should work as @slm has answered here.
 
@Ramesh Ok, I don't want to answer with an untested answer, so I'll leave it deleted, unless someone can confirm.
 
@FaheemMitha It has already been marked as duplicate :)
 
@Ramesh or you can add it to your answer if you want. though regexes blow, they are a more efficient way of doing things.
@Ramesh Ok.
I think I could still undelete my answer. Maybe. Not sure.
 
slm
4
A: Yum regular expression or wildcard search?

slmsearching with YUM You generally don't use any regular expressions (globs) when searching with yum search since the command search is already looking for sub-strings within the package names and their summaries. How do I know this? There's a message that tells you this when you use yum search. ...

 
@FaheemMitha Hi there, I have updated my post, please review. unix.stackexchange.com/questions/156139/…
 
5:54 PM
@RyanGrant You have more than one piece there. You should break it down it smaller pieces, possibly.
Are you still having problems with switching kernels? If so, you should ask about that.
 
@terdon, any thoughts if these 2 are similar?
 
I will try to break it down
@fa
@FaheemMitha yes still having the kernel issues. i will break it down further
 
today's against older question.
 
@Ramesh Yup, thanks, closed.
 
@FaheemMitha I tried to neaten up the post it should look better now
 
6:07 PM
@RyanGrant You should deal with that first. You are booting remotely, right? Paste the grub config for that machine.
In that question, though it is already rather long.
BTW, I'm adding questions to tags sporadically, per @Gilles suggestion/opinion. Anyone else doing that?
 
@FaheemMitha I don't believe grub is installed on the VPS, the /boot/ folder has no grub folder:
root@shiftmy:/boot# ls
System.map-3.16.3 config-3.16.3 initrd.img-3.17.0-031700rc4-generic
System.map-3.16.3-031603-generic config-3.16.3-031603-generic vmlinuz-3.16.3
System.map-3.16.3.old config-3.16.3.old vmlinuz-3.16.3-031603-generic
System.map-3.17.0-031700rc4-generic config-3.17.0-031700rc4-generic vmlinuz-3.16.3.old
 
@RyanGrant Hmm, this is debian, right? not ubuntu?
 
ubuntu 14.04
 
@RyanGrant ok
 
Linux shiftmy 2.6.32-042stab084.12 #1 SMP Tue Nov 26 20:18:08 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux
 
6:12 PM
So, any idea how it is doing the boot thing. I suppose grub isn't actually necessary, but I've done anything without it. Well, once upon a time there was LILO...
I should say I've never done anything without a boot manager.
@RyanGrant the kernels are all from binary deb packages?
 
@FaheemMitha yes I don't believe it has any boot loader, how do openvz systems work for that? The 3.13. kernels were from generic source, the others .16 and .17 were from deb packages.
 
@RyanGrant Oh, this is inside an openvz system? I think that uses the systems kernel.
@RyanGrant do you own/control the host OS or not?
 
@FaheemMitha yes it is within a openvz system. I told the VPS provider that the ipsec shows kernel issues, they followed this guide to enable ipsec on the host machine:openvz.org/IPsec I then read it and told them it sounds like it needs to be on the HOST machine not the VPS (the fix), they then realized that and did the fix. I tested and it still failed, they then stated to build source for kernel with ipsec support and let them know once I'm done that if that fixed it.
@FaheemMitha no i don't own the host.
 
@RyanGrant Ok, so you want you to hand over a kernel deb with ipsec support? They could not do it themselves? That seems a bit pathetic. Am I understanding you correctly.
Ok, in that case, what you need is to build a deb, and test it separately. On another machine.
What does ipsec do, exactly?
 
@FaheemMitha yes it seems they are trying to get me to build my own kernel when I believe they should be building it on the host machine since I have also questioned if a container can install a new kernel since I cannot seem to find any boot loader.
 
6:20 PM
@RyanGrant no, for openvz, the container is running the host kernel.
 
@FaheemMitha IPsec allows me to setup a l2tp vpn tunnel, i need to setup ipsec/l2tp between two vps's.
 
you cannot do anything at the container leverl
 
@FaheemMitha that is what I thought but they kept giving me instructions for kernel rebuilds, have spent many hours trying.
 
@RyanGrant ok. well, test it separately. building a kernel deb is a whole separate project, but a good way to go for various reasons. I would say a very good to go.
If you are going to hand it to someone else, then that is a doubly good reason.
@RyanGrant Um, not following, they told you to rebuild the kernel inside your container? What is the point of that? Your container can't boot it.
Are you sure you understood correctly?
 
@FaheemMitha problem is I don't think I should be building the kernel at all since I don't know what requirements their host machine requires and what their other clients require of the kernel. so they should really be updating it.
 
6:23 PM
I suggest you test the whole shebang on a separate machine.
 
@FaheemMitha from my provider "Hi,

Please refer the given below url to configure the ipsec in your server.

=====
http://linux.die.net/man/5/ipsec.conf
http://www.ipsec-howto.org/x304.html
=====

Thanks."
 
@RyanGrant You can ask them for their current config, and then just enable the ipsec thing.
But yes, I agree, it is something you should be handling. Looks like they are trying to get you to do their work. Are they a budget provider?
 
@FaheemMitha i dont know if they will give me their kernel source
 
@RyanGrant Not the source. The config file.
 
@FaheemMitha I believe they are a budget provider
 
6:24 PM
And the exact kernel version. Is host also Ubuntu?
 
@FaheemMitha I have tried installing ubuntu 12.04 and 14.04 as a container, both containers appear to use same kernel. Linux shiftmy 2.6.32-042stab084.12 #1 SMP Tue Nov 26 20:18:08 MSK 2013 x86_64 x86_64 x86_64 GNU/Linux
 
Unless they are using proprietary kernel modules (a dodgy concept) I don't confidentiality should be an issue.
@RyanGrant That's because they do. Said so already. See any documentation, e.g. wikipedia.
So, anyway, again, I recommend you build your own binary deb based on their config. If they won't give you the config and kernel version, you have a problem.
In which case I suggest you switch to a provider that is more clueful.
What is your hosting co, btw?
 
@FaheemMitha I am not too familiar with the background of openvz setups but from all of this it does appear the host machine hosts the kernel then containers get loaded and run off the hosts kernels
@FaheemMitha vpsnodes.com
 
@RyanGrant Again, yes, that is what they do.
@RyanGrant Digital ocean and ramnode get good reviews, but I don't know if they would customize their kernels for you. you could talk to them.
 
 
2 hours later…
8:13 PM
I need an expert in Samba please
I have a wuesiton
 
8:47 PM
what is wuesiton?
 
9:26 PM
how can I make root owner of a directory while allowing a user to write to it
@Ramesh
 
9:54 PM
@meda, seems like you need some file acls. Not sure on how to do them with samba.
You could post your question in the main site. It will have much more wider reach and probability of your question getting answered is high.
 
10:08 PM
Can anyone tell me if there is an easy way to time each line of a shell file?
 
10:38 PM
Never mind, looks like I don't need to that after all.
 

« first day (1441 days earlier)      last day (3507 days later) »