Re: [ubuntu-studio-devel] Where do we get information about Ubuntu's systemd?

2015-07-29 Thread Ralf Mardorf
On Wed, 29 Jul 2015 02:26:27 -0400, lukefro...@hushmail.com wrote:
This same issue also exists between Ubuntu and Debian, causing
unsolvable time differences between the two on a dual booting machine.
I didn't know that timedatectl was simply being ignored in Ubuntu!

Sorry for my wording. I don't know if it is ignored, that's just an
assumption. Perhaps something else does cause the issue.

This is the output of my archlinux and the way I set the hwclock, but
it's equal to my Ubuntu install, so I suspect there's something else
involved.

[rocketmouse@archlinux ~]$ timedatectl
  Local time: Wed 2015-07-29 10:14:57 CEST
  Universal time: Wed 2015-07-29 08:14:57 UTC
RTC time: Wed 2015-07-29 10:14:56
   Time zone: Europe/Berlin (CEST, +0200)
 Network time on: no
NTP synchronized: no
 RTC in local TZ: yes

Warning: The system is configured to read the RTC time in the local time zone.
 This mode can not be fully supported. It will create various problems
 with time zone changes and daylight saving time adjustments. The RTC
 time is never updated, it relies on external facilities to maintain it.
 If at all possible, use RTC in UTC by calling
 'timedatectl set-local-rtc 0'.
[rocketmouse@archlinux ~]$ grep ntpdate /usr/local/bin/tool 
ntpdate ntp.favey.ch  hwclock --set --date $(date);;

I'll check later today all locals. Linux always suffers from using the
English language, but a German keyboard and time zone. The German
number pad provides a , instead of a .. Only a broken
calculator (galculator) is able to handle this, unfortunately this
calculator suffers from bugs.

The biggest issue is, that Ubuntu comes with tons of scripts in init.d,
using old run levels. If you store a script in init.d, that should be
started by a systemd unit and you don't provide the old run levels, you
get an error. If you store this script in another location, the unit
can use this script. Ubuntu still comes with a bloated wrapper named
service.

I made a server install without installing additional server or
virtualization packages, but e.g. a cron service is enabled, the pppoe
module is loaded and there are definitively tons of services started, I
still need to check what kernel modules automatically get loaded and
were and when they are loaded and what services I can or need to
disable.

Regards,
Ralf

-- 
Wow, a dentist killed a lion and more people are upset because the lion is
dead, than about Barack Obama's and Recep Tayyip Erdoğan's henchmen who
torture and kill innocent humans, or the increasing violence against asylum
seekers in Germany. A good strike, perhaps it's just a political staging to
distract attention from what really matters.

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


Re: [ubuntu-studio-devel] Where do we get information about Ubuntu's systemd?

2015-07-29 Thread lukefromdc
This same issue also exists between Ubuntu and Debian, causing unsolvable time 
differences
between the two on a dual booting machine. I didn't know that timedatectl was 
simply being
ignored in Ubuntu! 

What I would want would be a hardware clock that the OS can't change, set to 
local time in 
all cases. I never use network time updating due to the issue of having a 
requirement for machines
that do not reveal their IP address to anything I do not deliberately connect 
to.  Unfortunately 
Tor requires knowing the time zone to work so as to avoid time based attacks. 
Thankfully it does 
NOT require network time!

On 7/28/2015 at 7:03 PM, Ralf Mardorf ralf.mard...@alice-dsl.net wrote:

Hi,

for at least 2½ years, perhaps for longer, I'm using a clean 
systemd
Arch Linux install. Now I'm using Ubuntu's hybrid init 
script/systemd
for the very first time. I run into issues.

The first issue already is solved, I needed to disable an init 
script,
before I could use my own systemd service.

Now I wonder why timedatectl does show the same settings for my 
Arch
Linux and my Ubuntu, but after running Ubuntu and rebooting to Arch
Linux, the hwclock goes wrong. This doesn't happen when rebooting 
from
other installs, e.g. from an Ubuntu using Upstart.

I also wonder why the minimal server install already loads modules 
and
enables services without user interaction.

I've got two requests.

1. How can I chose between local TZ and UTC for the RTC, when
timedatectl is ignored?

2. Is there a documentation about Ubuntu's systemd?
I'm running the Ubuntu Wily Werewolf (development branch), but 
since
Ubuntu 15.04 (Vivid Vervet) already dropped upstart, there might 
be a
documentation available.

It's freakish to search for an init script, that needs to be 
disabled,
before I can use a systemd service.
 
root@moonstudio:~# ls -hAl /etc/rcS.d/S09networking 
/etc/init.d/networking 
-rwxr-xr-x 1 root root 4.7K Jun  2 09:32 /etc/init.d/networking
lrwxrwxrwx 1 root root   20 Jul 25 22:50 /etc/rcS.d/S09networking -
 ../init.d/networking
root@moonstudio:~# update-rc.d networking disable
insserv: warning: current start runlevel(s) (empty) of script 
`networking' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (0 6 S) of script 
`networking' overrides LSB defaults (0 6).
insserv: warning: current start runlevel(s) (empty) of script 
`networking' overrides LSB defaults (S).
insserv: warning: current stop runlevel(s) (0 6 S) of script 
`networking' overrides LSB defaults (0 6).
root@moonstudio:~# ls -hAl /etc/rcS.d/S09networking 
/etc/init.d/networking 
ls: cannot access /etc/rcS.d/S09networking: No such file or 
directory
-rwxr-xr-x 1 root root 4.7K Jun  2 09:32 /etc/init.d/networking
root@moonstudio:~# systemctl enable alice.service 
Created symlink from /etc/systemd/system/multi-
user.target.wants/alice.service to 
/lib/systemd/system/alice.service.

Regards,
Ralf

-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel


-- 
ubuntu-studio-devel mailing list
ubuntu-studio-devel@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-studio-devel