Archive for the ‘Linux’ Category
Posted by jpluimers on 2015/12/13
Hmm:
Detected 1 file conflict:
File /etc/netconfig
from install of
libtirpc3-1.0.1-1.1.x86_64 (Main Repository (OSS))
conflicts with file from install of
libtirpc1-0.2.5-1.1.x86_64 (openSUSE-20150508-0)
File conflicts happen when two packages attempt to install files with the same name but different contents. If you continue, conflicting files will be replaced losing the previous content.
Changes: go figure (:
revue:/etc # diff netconfig.201507191158 netconfig
13,14d12
< udp6 tpi_clts v inet6 udp - -
udp6 tpi_clts v inet6 udp - -
> tcp6 tpi_cots_ord v inet6 tcp - -
–jeroen
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/11/24
Applying security hardening standards and generally securing Ubuntu has been a challenge.
Tell me about it (:
–jeroen
Source: What I learned while securing Ubuntu – major.io
Posted in *nix, *nix-tools, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/11/20
Message from package aaa_base:
sysconfig settings for cleaning up temporary directories are no longer
supported. Some of the features are provided by systemd's tmpfile
mechanism instead. Please refer to 'man tmpfiles.d' for more
information.
Here are the old settings for reference:
MAX_DAYS_IN_TMP=0
MAX_DAYS_IN_LONG_TMP=0
OWNER_TO_KEEP_IN_TMP=root
–jeroen
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/11/11
Really exiting times ahead: Microsoft .Net on Linux.
It’s not fully ready yet, but to get an idea to learn more about running OpenShift Enterprise 3 and a .NET application based on a Red Hat Enterprise Linux container, here are a few links to get started:
I wish that the demo repository at https://github.com/munchee13/snoopalicious.git and the rhosepaas.com domain were accessible (:
There are other alternatives too, but OpenShift (RedHat) and Microsoft working together is really exiting news to me.
If you’re on other distros, here are some more links:
And of course there has been Mono for a while, which is a different implementation of .NET:
Hopefully this will have search results soon: dnvm opensuse tumbleweed.
–jeroen
Posted in *nix, .NET, Development, Linux, OpenShift, openSuSE, Power User, RedHat, Software Development, SuSE Linux, Tumbleweed | Leave a Comment »
Posted by jpluimers on 2015/08/24
A while ago, I got this error:
Accessing the Software Management Failed
System management is locked by the application with pid 17730 (/usr/lib/YaST2/bin/y2base).
Close this application before trying again.
Would you like to abort or try again?
[Retry] [Abort]
What happened is that a terminal session that had YaST open got disconnected (don’t you love WiFi) while checking for updates.
I tried to re-login and re-check for updates and got this error.
Looking for process 17730 indeed revealed it was YaST:
snap:~ # ps 17730
PID TTY STAT TIME COMMAND
17730 pts/0 Sl+ 0:11 /usr/lib/YaST2/bin/y2base online_update ncurses
A simple kill would get rid of that process:
sudo kill 17730
–jeroen
via: yast locked.
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/07/06
The zypper dup has installed MariaDB; now I need to figure out which dependency did this, as I’m not happy with the update message:
Message from package mariadb:
You just installed MySQL server for the first time.
You can start it using:
rcmysql start
During first start empty database will be created for your automatically.
PLEASE REMEMBER TO SET A PASSWORD FOR THE MariaDB root USER !
To do so, start the server, then issue the following commands:
'/usr/bin/mysqladmin' -u root password 'new-password'
'/usr/bin/mysqladmin' -u root -h misibook password 'new-password'
Alternatively you can run:
'/usr/bin/mysql_secure_installation'
which will also give you the option of removing the test
databases and anonymous user created by default. This is
strongly recommended for production servers.
–jeroen
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | 2 Comments »
Posted by jpluimers on 2015/06/17
Inspired by CloudFlare Keyless SSL, I have this idea of using Diffie Hellman over WebSockets over a MittM based http proxy (which intercepts and decrypts HTTPS traffic) like mitmproxy (but them from a commercial vendor to inspect web traffic) to setup an encapsulated secure channel.
I know SSH uses Diffie Hellman to setup a secure channel over a binary TCP connection.
Binary communication over HTTP usually means WebSocket.
I don’t want WebSSH (which does use WebSockets, but is probably filtered by the MitM proxy anyway).
Maybe either of these open source tools will work:
If these don’t work, I need to do more research.
Since I use C# and .NET for much of my work, I started the WebSocket over HTTP C# query.
c# – How to use proxies with the WebSocket4Net library – Stack Overflow.
–jeroen
Posted in *nix, *nix-tools, Communications Development, Development, HTTP, Internet protocol suite, Linux, Power User, SSH, SuSE Linux, TCP, WebSockets, Windows, Windows-Http-Proxy | Leave a Comment »
Posted by jpluimers on 2015/06/11
In case I get something similar to this again:
Mar 11 12:54:06 filesrepo sshd[22021]: Accepted publickey for SOMEUSER from xxx.xxx.xxx.xxx port xxxxx ssh2: RSA xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx:xx
Mar 11 12:54:06 filesrepo kernel: type=1006 audit(1394542446.943:117): pid=22021 uid=0 old auid=4294967295 new auid=1019 old ses=4294967295 new ses=116 res=1
Mar 11 12:54:06 filesrepo sshd[22021]: pam_unix(sshd:session): session opened for user SOMEUSER by (uid=0)
Mar 11 12:54:06 filesrepo dbus[421]: [system] Activating systemd to hand-off: service name='org.freedesktop.login1' unit='dbus-org.freedesktop.login1.service'
Mar 11 12:54:31 filesrepo sshd[22021]: pam_systemd(sshd:session): Failed to create session: Connection timed out
Mar 11 12:54:31 filesrepo dbus[421]: [system] Failed to activate service 'org.freedesktop.login1': timed out
Mar 11 12:54:31 filesrepo dbus[421]: [system] Failed to activate service 'org.freedesktop.systemd1': timed out
Mar 11 12:54:32 filesrepo svnserve[22061]: DIGEST-MD5 common mech free
Mar 11 12:54:32 filesrepo sshd[22021]: pam_unix(sshd:session): session closed for user SOMEUSER
I have been noticing this for last few days but I thought systemd update should solve this (bug report was raised against systemd)
I updated system today (I have not given it a reboot yet) and I still see those logs.
Rebooting fixed this issue.
But I’m not sure about the cause.
–jeroen
via: [closed] pam_unix(sshd:session) timeouts / Networking, Server, and Protection / Arch Linux Forums.
Posted in *nix, Linux, openSuSE, Power User, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/06/10
After reading Converting Hg repositories to Git directed me into reading Bitbucket: Converting Hg repositories to Git I hoped moving my Mercurial repository on BitBucket to a Git repository would be something like following the steps.
It wasn’t.
First of all, hg-git on a Windows system requires Python or TortoiseHg. Neither of these I wanted to install for a one-off conversion.
So I took a throw-away Linux VM, and did the steps below. But let me first explain why.
Motivation
My motivation for moving away from BitBucket to GitHub, especially for projects containing markdown documentation.
When writing documentation in Markdown, being able to in-line reference pictures or have relative-references to other documents. This works perfectly in local Markdown tools (like MarkdownPad 2 or LightPaper).
Read the rest of this entry »
Posted in *nix, *nix-tools, BitBucket, Development, DVCS - Distributed Version Control, git, GitHub, Linux, Mercurial/Hg, openSuSE, Power User, Source Code Management, SuSE Linux | Leave a Comment »
Posted by jpluimers on 2015/06/09
Now that github stopped showing my README.rst as reStructuredText here is the htmlpreview link of the pandoc rendered reStructuredText:
revue: getting Tumbleweed on it.
It is about installing and configuring Tumbleweed which is a tad bit more frustrating than I hoped for.
In practice unixoids aren’t as heavenly as many geeks pretend them to be.
I got the htmlpreview solution via css – How to see an html page on github as a normal rendered html page to see preview in browser, without downloading? – Stack Overflow.
I might try the github pages in the future.
Sourcecode of htmlpreview is at htmlpreview/htmlpreview.github.com.
–jeroen
via:
Posted in *nix, Development, DVCS - Distributed Version Control, git, GitHub, Linux, openSuSE, Power User, Software Development, Source Code Management, SuSE Linux | Leave a Comment »