Skip to content

move-logs-to-opt fails to install if var-log.mount is masked #839

Description

@StachuDotNet

After downloading the .ipk artifact from this PR, and transferring it to my rM, I attempted to opkg install ./move-logs-to-opt.ipk, which failed

reMarkable: ~/ opkg install ./move-logs-to-opt_0.0.1-1_rmall.ipk
Package move-logs-to-opt (0.0.1-1) installed in root is up to date.
Configuring move-logs-to-opt.
Warning: Stopping systemd-journald.service, but it can still be activated by:
  systemd-journald.socket
  systemd-journald-dev-log.socket
Moving log files to new location
Failed to enable unit: Unit file /lib/systemd/system/var-log.mount is masked.
Collected errors:
 * pkg_run_script: package "move-logs-to-opt" postinst script returned status 1.
 * opkg_configure: move-logs-to-opt.postinst returned 1.

The core issue here seems to be Failed to enable unit: Unit file /lib/systemd/system/var-log.mount is masked..

I am running OS version 3.3.2.166 on my reMarkable 2.

I'm unsure why it was 'masked' -- this is a new concept to me.


I wasn't sure what to do here, so asked in Discord and someone suggested I run systemctl unmask var-log.mount and try again.

After doing so, I ran opkg remove move-logs-to-opt, attempted an install again, and all was well.
(it seemed as though some install-related files hung around even for the above-failed installed)

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingpackagesAdd or improve packages of the repository

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions